html {
  scroll-behavior: smooth;
}

body,a {
  color:black;
  font-family: "Lexend Exa";
}

section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}


.list-inline-item {
  color: none !important;
}

.a-droite {
    text-align: right;
    float:right;
}

a {
  text-decoration: none !important;
}

.bouton {
  background-color: #2e3443;
  border-color: #a1bfc5;
  color: #a1bfc5;
  padding: 14px 16px;
  text-align: center;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 2px;
}

.fond {
  background-color: #D2A497;
}

.border-bottom-header {
  border-bottom: 1px solid black !important;
}

 /* The Overlay (background) */
 .overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: #2e3443; /* Black fallback color */
    background-color: #2e3443; /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
  }

  /* Position the content inside the overlay */
  .overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
  }

  /* The navigation links inside the overlay */
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #f7f7f7;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
  }

  /* When you mouse over the navigation links, change their color */
  .overlay a:hover, .overlay a:focus {
    color: #a1bfc5;
  }

  /* Position the close button (top right corner) */
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }

  /* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
  @media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
      font-size: 40px;
      top: 15px;
      right: 35px;
    }
  }

label .meniu {
    position: absolute;
    right: 0px;
    top: -100px;
    z-index: 100;
    width: 100px;
    height: 200px;
    background: #FFF;
    border-radius: 50% 50% 50% 50%;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    box-shadow: 0 0 0 0 #FFF, 0 0 0 0 #FFF;
    cursor: pointer;

  }

  label .hamburger {
    position: absolute;
    top: 135px;
    left: 50px;
    width: 30px;
    height: 2px;
    background: #69D2e7;
    display: block;
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }

  label .hamburger:after, label .hamburger:before {
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: #69d2e7;
  }

  label .hamburger:before { top: -10px; }

  label .hamburger:after { bottom: -10px; }

  label input { display: none; }

  label input:checked + .meniu {
    box-shadow: 0 0 0 100vw #FFF, 0 0 0 100vh #FFF;
    border-radius: 0;

  }

  label input:checked + .meniu .hamburger {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);

  }

  label input:checked + .meniu .hamburger:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    bottom: 0;

  }

  label input:checked + .meniu .hamburger:before {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    top: 0;

  }

  label input:checked + .meniu + ul { opacity: 1; }

  label ul {
    z-index: 200;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    -webkit-transition: .25s 0s ease-in-out;
    transition: .25s 0s ease-in-out;
  }

  .effect3
  {
    position: relative;
  }
  .effect3:before
  {
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 15px;
    left: 10px;
    width: 50%;
    top: 80%;
    max-width:300px;
    background: #777;
    -webkit-box-shadow: 0 15px 10px #777;
    -moz-box-shadow: 0 15px 10px #777;
    box-shadow: 0 15px 10px #777;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
  }

/*superposition concept image text*/
.superpose {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: ;
}
.superpose .group1 {
  position: relative;
  width: 100%;
  height: 600px;
  margin: 20px;
  background:;
}
.superpose .group1 .text1 {
  position: absolute;
  z-index: 1;
  left: 55%;
  bottom: 100px;
  width: 50%;
}
.superpose .group1 .text1 h6,
.superpose .group1 .text1 h2,
.superpose .group1 .text1 h4 {
  margin: 10px 0;
  color: #333;
}
.superpose .group1 .text1 .bg-text {
  background: #d2a497ea;
  padding: 10px;
  margin: 10px -10px;

}
.superpose .group1 .text1 .bg-text p {
  display: inline-block;
  color:black;
}
.superpose .group1 .text1 .bg-text p.btn {
  margin: 10px 0;
}
.superpose .group1 .text1 .bg-text p.btn a {
  padding: 10px;
  color: white;
  background:#d2a497ea;
  ;
}
.superpose .group1 .text1 .bg-text p.btn a:hover {
  background: #d2a497ea;
}
.superpose .group1 .image {
  position: absolute;
  width: 80%;
  height: 90%;
  background-image: url("/img/concept/homa-communication-concept.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/*superposition service image text*/
.superpose1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: ;
}
.superpose1 .group1 {
  position: relative;
  width: 100%;
  height: 600px;
  margin: 20px;
  background:;
}
.superpose1 .group1 .text1 {
  position: absolute;
  z-index: 1;
  right: 55%;
  bottom: 100px;
  width: 50%;
}
.superpose1 .group1 .text1 h6,
.superpose1 .group1 .text1 h2,
.superpose1 .group1 .text1 h4 {
  margin: 10px 0;
  color: #333;
}
.superpose1 .group1 .text1 .bg-text {
  background: #d2a497ea;
  padding: 10px;
  margin: 10px -10px;

}
.superpose1 .group1 .text1 .bg-text p {
  display: inline-block;
  color:black;
}
.superpose1 .group1 .text1 .bg-text p.btn {
  margin: 10px 0;
}
.superpose1 .group1 .text1 .bg-text p.btn a {
  padding: 10px;
  color: white;
  background:#d2a497ea;
  ;
}
.superpose1 .group1 .text1 .bg-text p.btn a:hover {
  background: #d2a497ea;
}
.superpose1 .group1 .image {
  position: absolute;
  width: 80%;
  height: 90%;
  left:15%;
  background-image: url("/img/services/homa-communication-360.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.activated {
  /* background-color: rgb(255, 255, 255); */
  text-decoration: line-through !important;
  color: rgb(0, 0, 0) !important;
}


.main-content{
  min-height:1000px;
}

#affiche {
  display: none;
}

.scrollmenu {
  position: sticky;
  top: 0;
  display: flex;
  text-align: center;
  font-size: 12px;
  background-color: #d2a497a5;
}

.scrollmenu li {
  list-style-type: none !important;
  list-style: none !important;
}

.scrollmenu a{
  color: black;
}

.scrollmenu a:hover {
  color: white;
}


/* hr */
.fade-2 {
  border-width: 0 0 1px;
  color: #d2a497;
  border-image: linear-gradient(90deg, rgba(135, 206, 235, 0), #352c2a 50%, rgba(135, 206, 235, 0) 100%) 0 0 100%;
  border-style: solid;
}

.a-gauche {
  text-align: left;
} 

#boutonHaut {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #D2A497;
  color: black;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#boutonHaut:hover {
  background-color: black;
  color: #D2A497;
}

/* Center the loader */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

#myDiv {
  display: none;
  text-align: center;
}

/* Mise en page Service text*/
.servicemep {
text-align:center; 
font-size: 16px; 
padding: 5%;
}

@media screen and (max-width: 800px) {
.typoportable {
  font-size: 14px;
}
}