/* ========================
   RESET / NORMALIZE
   ======================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Картинки и медиа */
img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Ссылки */
a {
  color: inherit;
  text-decoration: none;
}

/* Списки */
ul,
ol {
  list-style: none;
}

/* Заголовки — сбрасываем жирность и размер */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--fw-bold);
  line-height: 1.2;
  overflow-wrap: break-word;
}

p {
  overflow-wrap: break-word;
}

/* Кнопки и инпуты — убираем дефолтные стили */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Таблицы */
table {
  border-collapse: collapse;
  width: 100%;
}

/* Убираем стрелку у устаревших тегов */
strong {
  font-weight: var(--fw-bold);
}

:root {
  /* ========================
     ЦВЕТА
     ======================== */
  --gold: #f2b511;
  --purple: #7b2fbe;
  --red: #df151b;
  --green: #8ef707;
  --blue: #bfd4eb;
  --light-blue: #edf1f7;

  /* Текст */
  --text-primary: #1a1a2e;
  --text-secondary: #555573;
  --text-muted: #8e8eaa;
  --text-light: #ffffff;

  /* Фон */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f8;

  /* ========================
     ШРИФТЫ
     ======================== */
  --font-display: "Oswald", sans-serif;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Веса */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Размеры */
  --fs-xs: 0.7rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.05rem;
  --fs-md: 1.35rem;
  --fs-lg: 1.85rem;
  --fs-xl: 2.5rem;
  --fs-2xl: 3.5rem;
  --fs-hero: clamp(4rem, 2.2rem + 5vw, 10rem);
}

.Hero-section {
  display: flex;
  flex-direction: column;
  padding-top: 130px;
  align-items: center;

  position: relative;
  overflow: hidden;
  height: 1200px;
}

.Hero-section .text h1 {
  color: var(--red);
  font-size: var(--fs-hero);
  font-style: italic;
}

.Hero-section .text p {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
}

.Hero-section .photoes_members {
  position: absolute;
  top: 250px;
  transform: translateY(30px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.photoes_members.active {
  opacity: 1;
  transform: translateY(0px);
}

.Hero-section .photoes_members img {
  position: relative;
  width: 480px;
  height: auto;
  flex-shrink: 0;
  transition: 0.5s;
}

.Hero-section .photoes_members img:hover {
  transform: translateY(-18px);
}

/* 1. Зеленая рамка (слева сзади, повыше) */
.Hero-section .photoes_members .img1 {
  z-index: 1;
  margin-top: 30px;
  margin-right: -240px;
}

/* 2. Фиолетовая рамка (ниже, поверх зеленой, но под желтой) */
.Hero-section .photoes_members .img2 {
  z-index: 2;
  margin-top: 100px;
  margin-right: -150px;
}

#logo {
  border-radius: 100px;
}

/* 3. Желтая рамка с короной (по центру, чуть крупнее, поверх фиолетовой) */
.Hero-section .photoes_members .img3 {
  width: 500px;
  z-index: 3;
  margin-top: 15px;
}

/* 4. Белая рамка (ниже, поверх желтой и красной) */
.Hero-section .photoes_members .img4 {
  z-index: 2;
  margin-top: 100px;
  margin-left: -165px;
}

/* 5. Красная рамка (справа сзади, самая высокая под змеей) */
.Hero-section .photoes_members .img5 {
  z-index: 1;
  margin-left: -185px;
  margin-top: 40px;
}

#herro-photo-snake,
#herro-photo-ufc,
#herro-photo-Hippocrates {
  position: absolute;
}

#herro-photo-snake {
  width: 700px;
  transform: rotate(-20deg);
  top: 50px;
  right: -200px;
}

#herro-photo-ufc {
  width: 1100px;
  transform: rotate(-26deg);
  top: -50px;
  left: -200px;
}

#herro-photo-Hippocrates {
  transform: rotate(-10deg);
  width: 400px;
  top: 220px;
  left: 40px;
}

.members_cards {
  padding: 100px;
  display: flex;
  flex-direction: column;
  gap: 240px;
  position: relative;
}

.members_cards .card {
  width: 1000px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.members_cards .card .card_info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.role,
.github {
  font-size: var(--fs-sm);
}

.motivation {
  font-style: italic;
}

.card img {
  width: 80px;
}

#card2,
#card4 {
  align-self: flex-end;
}

#card1::before {
  content: "";
  position: absolute;
  inset: -50px;
  transform: rotate(-2deg);
  background: var(--light-blue);
  z-index: -1;
}

#card1::after {
  content: "";
  position: absolute;
  inset: -50px;
  transform: rotate(-3deg) translate(-12px, 20px);
  background: var(--gold);
  z-index: -2;
}

#card2::before {
  content: "";
  position: absolute;
  inset: -50px;
  transform: rotate(3deg);
  background: var(--light-blue);
  z-index: -1;
}

#card2::after {
  content: "";
  position: absolute;
  inset: -50px;
  transform: rotate(4deg) translate(-12px, 20px);
  background: var(--purple);
  z-index: -2;
}

#card3::before {
  content: "";
  position: absolute;
  inset: -50px;
  transform: rotate(-1deg);
  background: var(--light-blue);
  z-index: -1;
}

#card3::after {
  content: "";
  position: absolute;
  inset: -50px;
  transform: rotate(-2.5deg) translate(-12px, 20px);
  background: var(--green);
  z-index: -2;
}

#card4::before {
  content: "";
  position: absolute;
  inset: -50px;
  transform: rotate(3.4deg);
  background: var(--light-blue);
  z-index: -1;
}

#card4::after {
  content: "";
  position: absolute;
  inset: -50px;
  transform: rotate(3deg) translate(-12px, 20px);
  background: var(--blue);
  z-index: -2;
}

#card5::before {
  content: "";
  position: absolute;
  inset: -50px;
  transform: rotate(-2.4deg);
  background: var(--light-blue);
  z-index: -1;
}

#card5::after {
  content: "";
  position: absolute;
  inset: -50px;
  transform: rotate(-3.6deg) translate(-12px, 20px);
  background: var(--red);
  z-index: -2;
}

.card_info h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
}

.members_cards .card img {
  flex: 0 0 30%;
  border-radius: 2px;
}

#members_cards_text,
#members_cards-qr-code,
#members_cards-Hippocrates {
  position: absolute;
  z-index: -3;
}

#members_cards_text {
  top: 1000px;
  font-weight: var(--fw-bold);
  font-size: var(--fs-2xl);
}

#members_cards_text span {
  color: var(--red);
  font-style: italic;
}

#members_cards-qr-code {
  width: 230px;
  top: 360px;
  right: 260px;
}

#members_cards-Hippocrates {
  width: 1700px;
  opacity: 0.8;
  bottom: -300px;
  right: 0;
}

#members_cards-qr-code p {
  font-size: var(--fs-md);
  padding-bottom: 5px;
  font-weight: var(--fw-bold);
  color: var(--red);
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
  will-change: opacity, transform;
}

.members_cards .active {
  opacity: 1;
  transform: translateY(0px);
}

.about_team {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 160px 40px 0 40px;
  gap: 5%;
  position: relative;
  /* overflow: hidden; */
}

.about_team::before {
  content: "";
  position: absolute;
  inset: -55px;
  background: var(--light-blue);
  z-index: -1;
  transform: rotate(-2deg);
}

.about_team::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: var(--purple);
  z-index: -2;
  transform: rotate(0deg);
  transition: all 1s ease;
}

.about_team.active::after {
  inset: -80px;
  transform: rotate(1.6deg);
}

.about_team-info {
  width: 55%;
}

.about_team-info p {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  padding-top: 20px;
}

.about_team img {
  width: 40%;
  border-radius: 4px;
}

.about_team-info h2 {
  margin-bottom: 40px;
  font-size: var(--fs-2xl);
  font-style: italic;
  text-decoration: underline wavy var(--red);
  text-underline-offset: 20px;
}

.about_team-structure {
  display: flex;
  gap: 20px;
  list-style-type: disc;
  margin: 0 0 0 20px;
}

.about_team-structure li {
  font-size: var(--fs-xs);
}

/* ========================
   HEADER
   ======================== */

.header {
  background: var(--light-blue);
  padding: 15px 0;
}

.header-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  list-style: none;
}

.nav-list a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

.nav-p {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  flex-shrink: 0;
}

#logo {
  width: 50px;
  height: auto;
  flex-shrink: 0;
}

.red {
  color: var(--red);
}

.nav-list a:hover {
  color: var(--red);
}

/* ========================
   ACHIEVEMENTS
   ======================== */

.achievements {
  position: relative;
  isolation: isolate;
  padding: 50px 50px;
  margin: 200px 0;
}

.achievements::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: skewY(-4deg);
  z-index: -1;
}

.achievements::after {
  content: "";
  position: absolute;
  inset: 0 0 40px 0;
  background: var(--light-blue);
  transform: skewY(-3deg);
  z-index: -1;
}

.achievements_title {
  width: fit-content;
  margin: 0 auto 50px;
}

.achievements_title h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-regular);
}

.achievements_title p {
  text-align: right;
  font-size: var(--fs-base);
}

.achievements_content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 100px;
  padding-bottom: 30px;
}

.achievements_content img {
  width: 50%;
  object-fit: contain;
  border-radius: 6px;
}

.achievements_info {
  flex: 1;
}

.achievements_info h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  margin-bottom: 25px;
  font-family: var(--font-heading);
}

.achievements_info p {
  font-size: var(--fs-base);
  line-height: 1.4;
  font-family: var(--font-heading);
}

/* ========================
   FOOTER
   ======================== */

.footer {
  background: var(--light-blue);
  padding: 60px 70px 30px;
  font-family: var(--font-heading);
}

.footer_links {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer_brand h2 {
  color: var(--red);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  font-style: italic;
}

.footer_brand p {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.footer_links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer_links h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: 10px;
}

.footer a {
  color: var(--text-primary);
  font-size: var(--fs-base);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--red);
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid var(--blue);
  font-size: var(--fs-sm);
}

/* =========================================================
   ИСПРАВЛЕНИЕ СДВИГА СПРАВА, ПЕРЕКРЫТИЙ И АДАПТИВ
   ========================================================= */

/* 1. Полностью убираем горизонтальный сдвиг и белую полосу справа */
html,
body {
  overflow-x: clip;
  max-width: 100%;
}

/* Разрешаем перенос длинного слитного текста в блоке «О команде» */
.about_team-info p {
  word-break: break-word;
}

/* Чтобы фиолетовая рамка .about_team даже на ПК не вылезала за край экрана */
.about_team {
  margin-left: 85px;
  margin-right: 85px;
}

/* Заголовок всегда поверх декора, а «созданы побеждать» — СЛЕВА */
.Hero-section .text {
  position: relative;
  z-index: 5;
  text-align: left;
}

/* Запрещаем разрыв ссылок и названия в шапке на две строки */
.nav-list a,
.nav-p {
  white-space: nowrap;
}

/* =========================================================
   МЕДИА-ЗАПРОСЫ
   ========================================================= */

/* 1. Ноутбуки (до 1600px) */
@media (max-width: 1600px) {
  .header-container {
    padding: 0 24px;
  }

  .header-nav {
    gap: 16px;
  }

  .nav-list {
    gap: 8px 16px;
  }

  .Hero-section {
    height: 1000px;
    padding-top: 100px;
  }

  #herro-photo-ufc {
    width: 600px;
    top: -40px;
    left: -160px;
    z-index: 0;
  }

  #herro-photo-snake {
    width: 390px;
    top: 40px;
    right: -130px;
    z-index: 0;
  }

  #herro-photo-Hippocrates {
    width: 240px;
    top: 210px;
    left: 25px;
    z-index: 0;
  }

  .Hero-section .photoes_members {
    top: 230px;
  }

  .Hero-section .photoes_members img {
    width: 380px;
  }

  .Hero-section .photoes_members .img1 {
    margin-top: 25px;
    margin-right: -190px;
  }

  .Hero-section .photoes_members .img2 {
    margin-top: 80px;
    margin-right: -120px;
  }

  .Hero-section .photoes_members .img3 {
    width: 400px;
    margin-top: 12px;
  }

  .Hero-section .photoes_members .img4 {
    margin-top: 80px;
    margin-left: -130px;
  }

  .Hero-section .photoes_members .img5 {
    margin-top: 32px;
    margin-left: -145px;
  }

  .members_cards .card {
    width: 780px;
  }

  #members_cards-qr-code {
    right: 80px;
    top: 300px;
    width: 190px;
  }

  #members_cards_text {
    left: 60px;
    top: 980px;
    font-size: var(--fs-xl);
  }

  #members_cards-Hippocrates {
    width: 1100px;
    bottom: -200px;
    opacity: 0.4;
  }
}

/* 2. Небольшие ноутбуки и планшеты (до 1200px) */
@media (max-width: 1200px) {
  .header-nav {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .nav-list {
    justify-content: center;
    gap: 8px 18px;
  }

  .Hero-section {
    height: 760px;
    padding-top: 65px;
  }

  .Hero-section .text h1 {
    font-size: clamp(3.2rem, 6.5vw, 5.2rem);
  }

  #herro-photo-ufc {
    width: 380px;
    top: -30px;
    left: -120px;
  }

  /* Отодвигаем змею правее и делаем меньше, чтобы не задевала букву Ы */
  #herro-photo-snake {
    width: 250px;
    top: 35px;
    right: -95px;
  }

  #herro-photo-Hippocrates {
    width: 165px;
    top: 145px;
    left: 10px;
  }

  .Hero-section .photoes_members {
    top: 195px;
  }

  .Hero-section .photoes_members img {
    width: 265px;
  }

  .Hero-section .photoes_members .img1 {
    margin-top: 18px;
    margin-right: -132px;
  }

  .Hero-section .photoes_members .img2 {
    margin-top: 55px;
    margin-right: -82px;
  }

  .Hero-section .photoes_members .img3 {
    width: 280px;
    margin-top: 8px;
  }

  .Hero-section .photoes_members .img4 {
    margin-top: 55px;
    margin-left: -90px;
  }

  .Hero-section .photoes_members .img5 {
    margin-top: 22px;
    margin-left: -102px;
  }

  /* Фиксируем отступы блока «О команде», чтобы фиолетовая рамка не торчала справа */
  .about_team {
    margin: 100px 50px 0 50px;
  }

  .about_team::before {
    inset: -25px;
  }

  .about_team.active::after {
    inset: -38px;
  }

  /* Скрываем огромного Гиппократа сзади карточек */
  #members_cards-Hippocrates {
    display: none;
  }

  .members_cards {
    padding: 60px 45px;
    gap: 130px;
    overflow: hidden;
  }

  .members_cards > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 20px;
  }

  #members_cards_text,
  #members_cards-qr-code {
    position: static;
    z-index: 1;
  }

  #members_cards_text {
    font-size: var(--fs-xl);
  }

  #members_cards-qr-code {
    width: 145px;
  }

  .members_cards .card {
    width: 90%;
    max-width: 760px;
    margin: 0 auto;
  }

  #card2,
  #card4 {
    align-self: center;
  }

  .achievements {
    padding: 70px 40px 110px;
    margin: 130px 0;
  }

  .achievements_content {
    gap: 40px;
    align-items: center;
  }
}

/* 3. Планшеты вроде 820px (до 992px) */
@media (max-width: 992px) {
  .header-nav {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }

  .Hero-section {
    height: 640px;
    padding-top: 45px;
  }

  .Hero-section .text h1 {
    font-size: clamp(2.8rem, 7vw, 4.2rem);
  }

  #herro-photo-ufc {
    width: 300px;
    top: -25px;
    left: -100px;
  }

  #herro-photo-snake {
    width: 200px;
    top: 25px;
    right: -75px;
  }

  #herro-photo-Hippocrates {
    width: 135px;
    top: 110px;
    left: 5px;
  }

  .Hero-section .photoes_members {
    top: 165px;
  }

  .Hero-section .photoes_members img {
    width: 215px;
  }

  .Hero-section .photoes_members .img1 {
    margin-top: 14px;
    margin-right: -108px;
  }

  .Hero-section .photoes_members .img2 {
    margin-top: 45px;
    margin-right: -68px;
  }

  .Hero-section .photoes_members .img3 {
    width: 230px;
    margin-top: 6px;
  }

  .Hero-section .photoes_members .img4 {
    margin-top: 45px;
    margin-left: -74px;
  }

  .Hero-section .photoes_members .img5 {
    margin-top: 18px;
    margin-left: -84px;
  }
}

/* 4. Планшеты и крупные смартфоны (до 768px) */
@media (max-width: 768px) {
  .nav-list {
    gap: 6px 12px;
  }

  .nav-list a {
    font-size: var(--fs-xs);
  }

  .nav-p {
    font-size: var(--fs-base);
  }

  #logo {
    width: 38px;
  }

  .Hero-section {
    height: 520px;
    padding-top: 35px;
  }

  .Hero-section .text h1 {
    font-size: clamp(2.2rem, 8.5vw, 3.3rem);
  }

  .Hero-section .text p {
    font-size: var(--fs-sm);
  }

  #herro-photo-ufc {
    width: 230px;
    top: -15px;
    left: -75px;
    opacity: 0.65;
  }

  #herro-photo-snake {
    width: 155px;
    top: 15px;
    right: -55px;
    opacity: 0.65;
  }

  #herro-photo-Hippocrates {
    width: 100px;
    top: 85px;
    left: -10px;
    opacity: 0.6;
  }

  .Hero-section .photoes_members {
    top: 135px;
  }

  .Hero-section .photoes_members img {
    width: 160px;
  }

  .Hero-section .photoes_members img:hover {
    transform: translateY(-10px);
  }

  .Hero-section .photoes_members .img1 {
    margin-top: 12px;
    margin-right: -80px;
  }

  .Hero-section .photoes_members .img2 {
    margin-top: 35px;
    margin-right: -50px;
  }

  .Hero-section .photoes_members .img3 {
    width: 172px;
    margin-top: 5px;
  }

  .Hero-section .photoes_members .img4 {
    margin-top: 35px;
    margin-left: -55px;
  }

  .Hero-section .photoes_members .img5 {
    margin-top: 14px;
    margin-left: -62px;
  }

  /* О команде — рамки строго внутри экрана */
  .about_team {
    flex-direction: column;
    margin: 50px 28px 0 28px;
    padding: 18px 12px;
    gap: 22px;
  }

  .about_team::before {
    inset: -12px;
  }

  .about_team.active::after {
    inset: -18px;
  }

  .about_team-info {
    width: 100%;
  }

  .about_team-info h2 {
    font-size: var(--fs-lg);
    margin-bottom: 20px;
    text-underline-offset: 10px;
  }

  .about_team-structure {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .about_team-info p {
    font-size: var(--fs-sm);
  }

  .about_team img {
    width: 100%;
    max-width: 420px;
  }

  /* Карточки участников */
  .members_cards {
    padding: 40px 20px 60px;
    gap: 85px;
  }

  .members_cards > div:first-child {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  #members_cards_text {
    font-size: var(--fs-lg);
  }

  #members_cards-qr-code {
    width: 130px;
  }

  .members_cards .card {
    width: 88%;
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 18px 14px;
    margin: 0 auto;
  }

  .members_cards .card img {
    width: 65%;
    max-width: 210px;
    flex: none;
    margin: 0 auto;
    border-radius: 6px;
  }

  #card1::before,
  #card2::before,
  #card3::before,
  #card4::before,
  #card5::before {
    inset: -12px;
  }

  #card1::after,
  #card2::after,
  #card3::after,
  #card4::after,
  #card5::after {
    inset: -12px;
    transform: rotate(-2deg) translate(-5px, 8px);
  }

  /* Достижения */
  .achievements {
    padding: 65px 24px 105px;
    margin: 70px 0;
  }

  .achievements::before,
  .achievements::after {
    transform: skewY(-3deg);
  }

  .achievements_title {
    margin: 0 auto 30px;
    text-align: center;
  }

  .achievements_title h2 {
    font-size: var(--fs-xl);
  }

  .achievements_title p {
    text-align: center;
  }

  .achievements_content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 480px;
    margin: 0 auto;
  }

  .achievements_content img {
    width: 100%;
    border-radius: 6px;
  }

  .achievements_info h3 {
    font-size: var(--fs-md);
    margin-bottom: 12px;
    text-align: center;
  }

  .achievements_info p {
    font-size: var(--fs-sm);
    line-height: 1.5;
    text-align: center;
  }

  /* Футер */
  .footer {
    padding: 40px 20px 25px;
  }

  .footer_links {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .footer_bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    margin-top: 35px;
  }
}

/* 5. Смартфоны (до 480px) */
@media (max-width: 480px) {
  .Hero-section {
    height: 430px;
    padding-top: 25px;
  }

  .Hero-section .text h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.5rem);
  }

  #herro-photo-ufc {
    width: 175px;
    left: -60px;
  }

  #herro-photo-snake {
    width: 120px;
    right: -45px;
  }

  #herro-photo-Hippocrates {
    width: 80px;
    top: 75px;
    left: -10px;
  }

  .Hero-section .photoes_members {
    top: 115px;
  }

  .Hero-section .photoes_members img {
    width: 122px;
  }

  .Hero-section .photoes_members .img1 {
    margin-top: 9px;
    margin-right: -61px;
  }

  .Hero-section .photoes_members .img2 {
    margin-top: 25px;
    margin-right: -39px;
  }

  .Hero-section .photoes_members .img3 {
    width: 132px;
    margin-top: 4px;
  }

  .Hero-section .photoes_members .img4 {
    margin-top: 25px;
    margin-left: -41px;
  }

  .Hero-section .photoes_members .img5 {
    margin-top: 10px;
    margin-left: -47px;
  }

  .members_cards .card {
    width: 88%;
    padding: 14px 10px;
  }

  .card_info h3 {
    font-size: var(--fs-base);
  }

  .about,
  .portfolio,
  .motivation {
    font-size: var(--fs-sm);
  }

  .achievements {
    padding: 55px 18px 95px;
  }

  .achievements_title h2 {
    font-size: var(--fs-lg);
  }
}