/*--------------------------------*/
/*--------------------media query */

@media (orientation: landscape) {
  .carousel-caption {
    right: 0%;
    left: 0%;
  }
  .carousel-caption .quote,
  .author-quote {
    margin: 0 auto;
    max-width: 60ch;
  }

  @media (max-width: 1200px) and (orientation: landscape) {
    .carousel-caption .quote,
    .author-quote {
      margin: 0 auto !important;
      max-width: 60ch;
    }
    .carousel-indicators {
      visibility: hidden;
    }
  }

  @media (max-width: 1200px) and (max-height: 550px) and (orientation: landscape) {
    .dropdown-menu {
      max-height: 5rem;
      overflow-y: auto;
    }
  }

  @media (min-width: 1200px) and (orientation: landscape) {
    .carousel-caption .quote {
      max-width: 33ch;
    }
  }

  .carousel-caption {
    padding-bottom: 0rem;
  }
}

@media (max-width: 540px) {
  h3 {
    font-size: 1.5rem;
  }
  h4 {
    font-size: 1.2rem;
  }

  .navbar-brand {
    font-size: 1.3rem;
  }

  .carousel-caption {
    right: 5%;
    left: 5%;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
    line-height: 1.8rem;
    font-weight: 600;
    letter-spacing: 6px;
  }

  .carousel-caption .quote {
    font-size: 1rem;
    line-height: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.14rem;
  }

  .carousel-caption .author-quote {
    font-size: 1rem;
    line-height: 3rem;
    font-weight: 500;
    letter-spacing: 2px;
  }

  .carousel-caption .btn-cta {
    line-height: 17px;
  }

  .carto-img {
    display: none;
  }

  #tarification table {
    font-size: 0.8em;
    text-align: center;
  }

  #contact .form {
    width: 100%;
  }

  #contact button {
    width: 100%;
  }

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

@media (min-width: 540px) and (max-width: 768px) {
  h3 {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }

  h4 {
    font-size: 1.2rem;
  }

  .carousel-caption {
    top: 0%;
    bottom: auto;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
    line-height: 1.8rem;
    font-weight: 600;
    letter-spacing: 6px;
  }

  .carousel-caption .quote {
    font-size: 1rem;
    line-height: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.14rem;
  }

  .carousel-caption .author-quote {
    font-size: 1rem;
    line-height: 3rem;
    font-weight: 500;
    letter-spacing: 2px;
  }

  #tarification .container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .form {
    width: 100%;
  }

  #contact button {
    width: 100%;
  }
  footer .links {
    flex-direction: column;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  h3 {
    font-size: 1.7rem;
    letter-spacing: 0.13em;
  }

  h4 {
    font-size: 1.3rem;
    letter-spacing: 0.03em;
  }

  .carousel-caption {
    top: 0%;
    bottom: auto;
  }

  .carousel-caption h2 {
    font-size: 1.8rem;
    line-height: 2rem;
    font-weight: 600;
    letter-spacing: 6px;
  }

  .carousel-caption .quote {
    font-size: 1.2rem;
    line-height: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.14rem;
  }

  .carousel-caption .author-quote {
    font-size: 1.2rem;
    line-height: 3rem;
    font-weight: 500;
    letter-spacing: 2px;
  }

  #tarification .container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .form {
    width: 100%;
  }

  #contact button {
    width: 50%;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  h3 {
    font-size: 2rem;
    letter-spacing: 0.15em;
  }

  h4 {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
  }

  .carousel-caption h2 {
    font-size: 2.6rem;
    line-height: 3.1rem;
    font-weight: 600;
    letter-spacing: 6px;
  }

  .carousel-caption .quote {
    font-size: 1.4rem;
    line-height: 1.7rem;
    font-weight: 500;
    letter-spacing: 0.14rem;
  }

  .carousel-caption .author-quote {
    font-size: 1.2rem;
    line-height: 3rem;
    font-weight: 500;
    letter-spacing: 2px;
  }

  #tarification .container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .form {
    width: 80%;
  }

  #contact button {
    width: 25%;
  }
}
@media (min-width: 1200px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.4em 0.7rem;
    margin: 0 0.8em;
  }

  .nav-slash {
    display: flex;
    align-items: center;
    font-size: 11px;
  }
  .nav-link {
    position: relative;
    border: none !important;
  }
  .nav-link:before {
    content: "";
    position: absolute;
    bottom: -0.2rem;
    left: 0;
    width: 0%;

    border-bottom: 0.2rem solid rgb(var(--color-4-rgb));
    /* width: 100%; */
    transition: 0.4s;
    border-left: none !important;
    overflow: hidden;
  }
  .nav-link:hover:before,
  .nav-link:focus:before {
    width: 100%;
    /* border-bottom: 45px solid rgb(var(--color-3-rgb)); */
  }
  /* 
    .navbar-dark .navbar-nav .nav-link:hover {
      color: var(--color-1) !important;
      z-index: 100;
    } */
  /* .dropdown-toggle::after {
      border-top: none;
    } */

  .carousel-caption h2 {
    font-size: 2.8rem;
    line-height: 3.25rem;
    /* font-weight: 200; */
    letter-spacing: 6px;
  }
  .carousel-caption .quote {
    font-size: 1.6rem;
    line-height: 2rem;
    font-weight: 500;
    letter-spacing: 0.14rem;
  }

  .carousel-caption .author-quote {
    font-size: 1.2rem;
    line-height: 2.375rem;
    line-height: 3rem;
    font-weight: 500;
  }

  #areas-action .card-title {
    text-align: center;
  }

  #tarification .container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .form {
    width: 60%;
  }

  #contact button {
    width: 25%;
  }
}
/* media when burger menu is activated */
@media (max-width: 991px) {
  .navbar .navbar-nav {
    margin-top: 0.8rem;
  }
  .navbar .dropdown-menu {
    text-align: left;
    max-width: 18rem;
  }
  .nav-item {
    text-align: left;
  }
}

@media (max-width: 1600px) {
  .img-ft {
    display: none;
  }
}

@media (min-width: 1601px) {
  .carousel-caption h2 {
    position: absolute;
    top: 18vh;
    left: 40%;
    text-align: left;
  }
  .carousel-caption .quote {
    position: absolute;
    top: 28vh;
    left: 40%;
    text-align: left;
    max-width: 50ch;
  }

  .carousel-caption .author-quote {
    position: absolute;
    top: 40vh;
    left: 40%;
    text-align: left;
    margin-top: 0.5rem;
  }
}
