@media (max-width: 1920px) {
  .slide {
    height: 50vh;
  }
}

@media (max-width: 1730px) {
  html {
    font-size: 60%;
  }

  .contact-button {
    width: 60%;
  }

  .h1 {
    font-size: 4rem;
  }

  .section-hero {
    padding: 5rem;
  }

  .slider-wrapper {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }

  .slide {
    height: 80vh;
  }
  .project-section {
    padding: 10rem;
  }
}

@media (max-width: 1450px) {
  html {
    font-size: 55%;
  }
  .section-hero {
    padding: 2rem;
    justify-content: space-around;
    max-height: 45vh;
  }

  .slide {
    height: 60vh;
  }

  .project-section {
    padding: 10rem;
  }
}

@media (max-width: 1120px) {
  .section-hero {
    flex-direction: column-reverse;
  }

  .text-box {
    width: 100%;
    align-items: center;
    text-align: center;
    height: 20vh;
  }

  .contact-button {
    width: 40%;
  }

  .logo-box {
    margin-bottom: 8rem;
  }

  .slide {
    height: 50vh;
  }

  .project-section {
    padding: 5rem;
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 50%;
  }
  .nav {
    position: fixed;
    background-color: white;
    height: 100vh;
    width: 100%;
    z-index: 100;
    display: none;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
  }

  .nav__links {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .nav__link:visited,
  .nav__link:link {
    font-size: 3rem;
  }

  .hamburger {
    display: flex;
    right: 5%;
  }

  .header__contact-box {
    display: none;
  }

  .reference__text-box {
    padding: 2rem;
  }

  .hidden {
    display: block;
  }

  .header {
    padding: 0;
    border: none;
  }

  .h2 {
    margin-top: 5rem;
  }

  .footer__nav {
    border-bottom: none;
  }

  .footer__nav--links {
    flex-direction: column;
  }

  .slide {
    height: 45vh;
  }
}

@media (max-width: 720px) {
  .slide {
    height: 35vh;
  }
}

@media (max-width: 650px) {
  .section-offer {
    padding: 2rem;
    margin-top: 2rem;
  }

  .reference__text-box {
    padding: 2rem;
    height: 55vh;
  }

  .h1-reference {
    text-align: center;
  }

  .reference__gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    padding: 2rem;
  }

  .drone-section {
    padding: 2rem;
  }

  .slider-wrapper {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }

  .slide {
    height: 30vh;
  }

  .section-contact {
    padding: 2rem;
    margin-top: 5rem;
  }

  .form-box {
    display: flex;
    flex-direction: column;
  }

  .contact-form {
    width: 100%;
  }

  .map-cotanier {
    width: 100%;
    margin-bottom: 5rem;
  }

  .contact-form__input-name,
  .contact-form__input-email {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .section-hero {
    padding: 5rem 0;
    padding-bottom: 2rem;
  }

  .h1 {
    font-size: 3rem;
    margin-top: 5rem;
  }

  .h1__span {
    font-size: 2rem;
  }

  .h3 {
    font-size: 2.4rem;
  }

  .contact-button {
    width: 80%;
  }

  .footer {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
  }

  .footer__nav {
    height: auto;
    margin-bottom: 2rem;
    text-align: center;
  }

  .footer__contact-box {
    margin-bottom: 4rem;
    text-align: center;
  }

  .section-about {
    padding: 1rem;
    background-color: rgba(211, 211, 211, 0.35);
  }

  .section-about-text {
    font-size: 1.8rem;
  }

  .logo-box {
    margin-top: 4rem;
  }

  .project-section {
    padding: 0.5rem;
  }

  .reference__text-box {
    height: 45vh;
  }

  .h2 {
    margin-top: 8rem;
  }

  .section-contact {
    gap: 5rem;
    margin-top: 5rem;
  }

  .slide {
    height: 25vh;
  }
}

@media (max-width: 420px) {
  .slide {
    height: 30vh;
  }
}
