@media (max-width: 900px) {
  /********** GENERALITIES *********/
  .nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(65, 74, 83);
  }

  .nav ul.active {
    display: flex;
  }

  .nav ul li {
    margin: 0;
    text-align: center;
  }

  .nav ul li a {
    display: block;
    padding: 10px 0;
    color: #fff;
  }

  .burger {
    display: block;
  }
  .title-h1 {
    font-size: 3.5rem;
  }

  .hero p {
    font-size: 1.8rem;
  }

  /***** HOME PAGE *****/

  .cta-button {
    font-size: 1.5rem;
  }

  /***** SERVICES PAGE *****/

  .service-description-carousel {
    flex-direction: column;
  }

  .description-article,
  .carousel {
    width: 100%;
  }
}

@media (max-width: 790px) {
  /***** CONTACT PAGE *****/
  .contact-grid {
    grid-template-columns: 1fr;
  }
  #loading-indicator {
    top: 20rem;
  }
}

@media (max-width: 768px) {
  /********** GENERALITIES *********/
  .title-h1 {
    font-size: 3.2rem;
  }
  /***** ABOUT PAGE *****/
  .about-banner {
    min-height: 50vh;
  }
  .about-banner::before {
    width: 130%;
    height: 100%;
  }
  .title-about {
    margin-top: 6rem;
  }
  .phone-element {
    right: 2rem;
    bottom: 6rem;
  }
  .phone-element a {
    font-size: 1.6rem;
  }
  .icon-about {
    font-size: 1.8rem;
  }
  .about-container {
    padding: 0;
    transform: translateY(-50px);
  }
  .about-section {
    padding: 2rem;
  }
  .scrollToTop {
    right: 3rem;
    bottom: 80px;
  }
}

@media only screen and (max-width: 950px) and (max-height: 500px) and (orientation: landscape) {
  /***** HOMME PAGE *****/
  .home-main {
    margin-top: 70px;
  }

  /***** ABOUT PAGE *****/
  .about-banner {
    min-height: 80vh !important;
  }
}

@media (max-width: 531px) {
  /********** GENERALITIES *********/

  /***** CONTACT PAGE *****/

  #contact-form article {
    flex-direction: column;
    justify-content: center;
  }
  #contact-form article div {
    width: 100%;
  }
  .explanation {
    font-size: 1.4rem;
  }
}

@media (max-width: 400px) {
  /***SERVICE PAGE *****/
  .section-service-article {
    padding: 0 1rem;
  }
  .service-article {
    padding: 20px 10px;
  }

  /***** CONTACT PAGE *****/
  .contact-main .container {
    padding: 0;
  }
}

/***** MENTIONS PAGE *****/
.main-mentions {
  margin: 13rem 1rem 2rem 1rem;
  padding: 1rem;
}
.main-mentions .container {
  padding: 0.5px;
}
