.our_team__container {
  padding: 160px 0;
  
}
main {
  overflow: hidden;
}
.main__about_us {
  margin: 0;
  padding: 0;
  font-family: "Golos Text", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  background-color: #0b0c10;
  background-image: radial-gradient(closest-side, rgba(135, 102, 236, 0.349), rgba(243, 11, 166, 0)),
  radial-gradient(closest-side, rgba(235, 102, 109, 0.293), rgba(170, 142, 245, 0)),
  radial-gradient(closest-side, rgba(102, 236, 220, 0.281), rgba(254, 234, 131, 0));
  background-size: 40vmax 40vmax,
  40vmax 40vmax,
  40vmax 40vmax;
  background-position: 50vmax -10vmax,
  -5vmax 20vmax,
  50vmax 30vmax;
  background-repeat: no-repeat;
  animation: movement 25s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
}

@keyframes movement {
  0% {
    background-position: 50vmax -10vmax,
    -5vmax 20vmax,
    50vmax 30vmax;
  }
  33% {
    background-position: 65vmax -5vmax,
    -10vmax 35vmax,
    55vmax 55vmax;
  }
  66% {
    background-position: 65vmax 0vmax,
    -8vmax 30vmax,
    48vmax 40vmax;
  }
  100% {
    background-position: 50vmax -10vmax,
    -5vmax 20vmax,
    50vmax 30vmax;
  }
}


.section__title {
  text-align: center;
  margin-bottom: 60px;
}
.section__title h1{
  font-family: var(--third-family);
  font-weight: 500;
  font-size: 45px;
  line-height: 100%;
  color: #fff;
  margin-bottom: 8px;
}
.section__title p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  text-align: center;
  color: #b3b3b3;
  max-width: 622px;
  margin: auto;
}

.team__container {
  margin-bottom: 60px;
}
.team__container .img__container-carousel {
  display: flex;
  align-items: center !important;
  overflow:visible; 
  gap: 20px;
  margin-bottom: 24px;
  flex-direction: row;

}
.team__photo {
  position: relative;
  width: 340px;
  height: 370px;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  
  /* transition: all 0.5s ease-in-out; */
}
.team__photo img {
  object-fit: cover;
}
.team__role {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 100px;
  background: linear-gradient(0deg, #1312188b 0%, rgba(19, 18, 24, 0) 100%);

  display: flex;
  justify-content: center;
  align-items: flex-end;

  font-family: var(--third-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #fff;
  opacity: 0;
  transition: 0.3s ease-in-out;

}
.team__role span {
  padding: 0 10px 24px 10px;
}
.team__photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.486);
  pointer-events: none;
  user-select: none;
}

/* team hover */
.team__photo:hover .team__role {
  opacity: 1;
}
.team__photo:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.293);
  pointer-events: none;
  user-select: none;
  transition: 0.5s;
}
/* team active */
.team__photo.active {
  width: 526px;
  height: 566px;
  order: -1 !important;
}
.team__photo.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  user-select: none;
}
.team__photo.active .team__role {
  opacity: 1;
  font-size: 24px;
}

/* .team__photo:hover::before {
  background: rgba(0, 0, 0, 0); 
}  */


.team__photo img {
  width: inherit;
  height: inherit;
  border-radius: 10px;
  margin-bottom: 68px;
  pointer-events: none;
  user-select: none;
}
.team__member h2 {
  font-family: var(--third-family);
  font-weight: 500;
  font-size: 45px;
  line-height: 100%;
  color: #fff;
  margin-bottom: 12px;
}
.team__member p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #b3b3b3;
  max-width: 708px;
}
.team__carousel-buttons {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  color: #fff;
  margin-bottom: 24px;

  display: flex;
  align-items: center;
  gap: 10px;
}
.hiring__container {
  background: linear-gradient(180deg, #0b0c10 0%, #15171e 53.48%);
  border: 1px solid #3a3a3a;
  backdrop-filter: blur(10px);
  border-radius: 32px;
  padding: 32px 44px;
  width: 100%;
} 
.hiring__container h4 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  color: #fff;
  margin-bottom: 16px;
}
.hiring__container p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #b3b3b3;
  margin-bottom: 24px;
}
.hiring__container img {
  margin-bottom: 24px;

}
.hiring__container a {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  text-transform: uppercase;
  color: #fff;
  
  border-radius: 100px;
  padding: 12px 28px;
  height: 38px;
  background: linear-gradient(180deg, rgba(131, 113, 243, 0.3) 0%, rgba(215, 215, 215, 0.3) 100%);  
  border: 1px solid #8371F3;
  cursor: pointer;
  display: inline-block;
}


@media (max-width: 1200px) {
  .team__photo {
    width: 280px;
    height: 310px;
  }
  .team__photo.active {
    width: 425px;
    height: 450px;
  }
}

@media (max-width: 800px) {
  .team__photo {
    width: 220px;
    height: 250px;
  }
  .team__photo.active {
    width: 325px;
    height: 350px;
  }
}
@media (max-width: 600px) {
  .team__photo {
    width: 170px;
    height: 200px;
  }
  .team__photo.active {
    width: 225px;
    height: 250px;
  }
  .team__role span {
    font-size: 16px;
  }
  .team__member h2,
  .section__title h1 {
    font-size: 32px;
  }
}
@media (max-width: 565px) {
  .hiring__container {
    padding: 28px 22px;
    width: 100%;
  } 
  .hiring__container a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}

@media (max-width: 350px) {
  .team__member h2,
  .section__title h1 {
    font-size: 28px;
  }
}