html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", serif;
  font-size: 1em;
}

section {
  margin-top: 5em;
  scroll-margin-top: 6em;
}

@media (min-width: 992px) {
  section {
    margin-top: 15em;
  }
}

.logo-carousel {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
}

.text-action {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: none;
  justify-content: center;
}

.text-action .text-action-content {
  position: absolute;
  bottom: 10px;
  font-weight: 600;
  font-size: 1.5em;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.text-action .text-action-content span {
  background-color: rgba(100%, 100%, 100%, 0.7);
}

.text-action .text-action-content button {
  width: fit-content;
  font-size: 0.8em;
  margin-top: 1%;
}

.text-action-mobile {
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 600;
  flex-direction: column;
  align-items: center;
}

.text-action-mobile span {
  background-color: rgba(100%, 100%, 100%, 0.7);
}

.text-action-mobile button {
  width: fit-content;
  font-size: 0.8em;
}

#img-logo-carousel {
  width: 25%;
  height: auto;
  background-color: rgba(100%, 100%, 100%, 0.7);
}

.carousel {
  margin-bottom: 70px;
  margin-top: 5em;
}

.carousel-indicators {
  bottom: -50px;
}

.carousel-indicators li {
  border-radius: 50%;
  width: 8px;
  height: 8px;
  background-color: white;
  opacity: 1;
  border-style: solid;
  border-width: 1px;
  border-color: gray;
  margin-left: 10%;
}

.carousel-indicators li.active {
  background-color: gray;
  opacity: 0.6;
}

#navbarMain,
#mobileMain {
  height: 5em;
  display: flex;
  align-items: center;
}

#navbarMain a {
  color: inherit;
  text-decoration: inherit;
}

#mobileNav a {
  color: inherit;
  text-decoration: inherit;
}

.my-brand {
  height: 100%;
  width: auto;
}

.my-nav-item {
  display: inline;
  margin-right: 8%;
}

.my-nav-link {
  color: black;
  font-weight: 400;
  font-size: 0.9em;
}

.mobile-link {
  color: black;
  font-weight: 400;
}

.my-navbar-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.my-nav-link.active,
.mobile-link.active {
  font-weight: 600;
}

#navLang .my-nav-link {
  font-size: 0.6em;
}

.vl {
  border-left: 1px solid black;
}

h2 {
  padding-bottom: 1rem;
  border-bottom: 1px solid black;
  width: fit-content;
  font-weight: 600;
  font-size: 1.5em;
}

#logo,
#logoMobile {
  margin-left: 4em;
  width: auto;
  height: 4em;
}

#logoMobile {
  height: 3em;
}

#communes {
  font-size: 1em;
}

#carouselServices {
  height: 85%;
}

#toggleDiv {
  display: none;
}

#mobileMain {
  display: flex;
}

#navbarMain {
  display: none;
}

@media (min-width: 992px) {
  #mobileMain {
    display: none;
  }
  #navbarMain {
    display: flex;
  }
}

@media (min-width: 992px) {
  .text-action-mobile {
    display: none;
  }
  .text-action {
    display: flex;
  }
}

#mobileNav {
  display: block;
  z-index: 1500;
  background-color: whitesmoke;
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  transition: 0.5s;
  overflow: hidden;
  padding-top: 5em;
  text-align: center;
}

.mobile-item {
  display: block;
  width: 100%;
  text-align: center;
}

#navLangMobile .mobile-item {
  display: inline;
  margin-left: 10px;
}

.mobile-link {
  font-size: 2em;
}

#logo-mobile-item {
  height: auto;
  width: 50%;
}

.mobile-navbar {
  margin: 0;
  list-style-type: none;
  padding-left: 0;
}

.closebtn {
  position: absolute;
  top: 0;
  right: 5%;
  font-size: 2em;
  background-color: transparent;
  border-width: 0;
}

#contact {
  margin-top: 1em;
}

.contactP {
  font-size: 2em;
}

.contactP em {
  font-weight: bold;
}

.commandeP {
  font-size: 1em;
}
