@media (max-width: 1250px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 0 80px;
    gap: 200px;
    width: 100%;
    height: 100vh;
  }

  .section {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 0 80px;
  }

  .header {
    display: none;
  }

  .header-adaptive {
    margin-top: 24px;
    border-radius: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 12px;
    height: fit-content;
  }

  .header-up {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #header-down {
    display: none;
    padding: 12px;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  .header-buttons {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
    align-items: end;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
    justify-content: start;
  }

  .hero-info {
    align-self: center;
    width: 100%;
    height: fit-content;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .about-card {
    max-width: 700px;
  }

  .contact-img-left,
  .contact-img-right {
    display: none;
  }
}

@media (max-width: 900px) {
  .section,
  .hero-section {
    padding: 0 40px;
  }
  .hero-section {
    gap: 10%;
  }

  .news-section p,
  .profile-section p {
    font-size: 18px;
  }

  p {
    font-size: 16px;
  }

  .profile-details-row p {
    font-size: 18px;
  }

  .contact-form-inputs {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 32px;
  }
}

@media (max-width: 750px) {
  .about-card {
    max-width: 100%;
  }
  .profile-details-row,
  .profile-buttons {
    flex-direction: column;
    align-items: start;
    row-gap: 12px;
  }
}

@media (max-width: 600px) {
  .hero-info {
    padding: 12px 16px;
  }
  h1 {
    font-size: 70px;
  }
  p {
    font-size: 12px;
  }
  .profile-details-row p,
  .profile-section p {
    font-size: 18px;
  }
  .news-section p {
    font-size: 18px;
  }
}

@media (max-width: 450px) {
  .section {
    padding: 0 20px;
  }
  h1 {
    font-size: 55px;
  }
}
