.main_container{
  flex-direction: column;
  padding: 5%;
}

#waves{
  margin-top: 38vh;
}

.containerTeam{
    position: relative;
    left: 10%;
    width: 80%;
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 100px;
}


.titleTeam{
    font-size: 2.5em;
    font-weight: bold;
    width: 100%;
    text-align: left;
    color: #fff;
    letter-spacing: 1px;
}

.gridTeam{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
    gap: 50px 50px;
}

/* From Uiverse.io by 3HugaDa3 */ 
.card {
  width: 320px;
  height: 400px;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px) rotateY(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-image {
  height: 300px;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  position: relative;
  overflow: hidden;
  transition: height 0.5s ease;
}

.card:hover .card-image{
  height: 0px;
  overflow: hidden;
}

.card-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.1) 50%,
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-50%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.card-content {
  padding: 24px;
  overflow: hidden;
  height: 90px;
}

.card:hover .card-content{
  height: auto;
  overflow-y: scroll;
}

.card-title {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 10px;
}

.card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #4f46e5;
  transition: width 0.3s ease;
}

.card:hover .card-title::after {
  width: 100px;
}

.card-description {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.card-tag {
  font-size: 12px;
  color: #4f46e5;
  background-color: #eef2ff;
  padding: 4px 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.card-tag:hover {
  background-color: #4f46e5;
  color: #ffffff;
  transform: translateY(-2px);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.card-stats {
  display: flex;
  gap: 16px;
}

.card-stat {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #6b7280;
}

.card-stat-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.4s ease;
}

.card-button:hover::before {
  left: 100%;
}

.card-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.card {
  animation: float 6s ease-in-out infinite;
}

#caroline{
  background-image: url("https://static.igem.wiki/teams/5043/team/caro.jpg");
  background-position: center;
  background-size: cover;
}

#alexander{
  background-image: url("https://static.igem.wiki/teams/5043/team/alexander.jpg");
  background-position: center;
  background-size: cover;
}

#annika{
  background-image: url("https://static.igem.wiki/teams/5043/team/annika.jpg");
  background-position: center;
  background-size: cover;
}

#bea-lara{
  background-image: url("https://static.igem.wiki/teams/5043/team/bea-lara.jpg");
  background-position: center;
  background-size: cover;
}

#beyza{
  background-image: url("https://static.igem.wiki/teams/5043/team/beyza.jpg");
  background-position: center;
  background-size: cover;
}

#julian{
  background-image: url("https://static.igem.wiki/teams/5043/team/julian.jpg");
  background-position: center;
  background-size: cover;
}

#karim{
  background-image: url("https://static.igem.wiki/teams/5043/team/karim.jpg");
  background-position: center;
  background-size: cover;
}

#luca{
  background-image: url("https://static.igem.wiki/teams/5043/team/luca.jpg");
  background-position: center;
  background-size: cover;
}

#richard{
  background-image: url("https://static.igem.wiki/teams/5043/team/richard.jpg");
  background-position: center;
  background-size: cover;
}


#samer{
  background-image: url("https://static.igem.wiki/teams/5043/team/samer.jpg");
  background-position: center;
  background-size: cover;
}


#sven{
  background-image: url("https://static.igem.wiki/teams/5043/team/sven.jpg");
  background-position: center;
  background-size: cover;
}

#ximena{
  background-image: url("https://static.igem.wiki/teams/5043/team/ximenia.jpg");
  background-position: center;
  background-size: cover;
}

#florian{
  background-image: url("https://static.igem.wiki/teams/5043/team/florian2.jpg");
  background-position: center;
  background-size: cover;
}

#lara-bea{
  background-image: url("https://static.igem.wiki/teams/5043/team/bea-lara.jpg");
  background-position: center;
  background-size: cover;
}
#warzecha{
  background-image: url("https://static.igem.wiki/teams/5043/team/warzecha.jpg");
  background-position: center;
  background-size: cover;
}
#christian{
  background-image: url("https://static.igem.wiki/teams/5043/team/christian.jpg");
  background-position: center;
  background-size: cover;
}


