@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@600&family=Inter:wght@200;400;500;800&family=Merriweather&family=MuseoModerno:wght@300;400;700&family=Open+Sans:wght@400;600;700&family=Poppins:wght@200;300;400;500;600;700&display=swap');
:root {
  --background-color: #b1ad38 ;
  --secondary-color: #b1383c ;
  --white: #fffef5 ;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.5;
  font-family: 'Open Sans';
}

html {
  font-size: 59%;
  overflow-x: hidden;
}

.container {
  max-width: 1250px;
  margin: auto;
  padding: 2rem;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}



a {
  text-decoration: none;
  color:var(--white);

}

h3, h4, p, span{
  color:var(--white);
  font-family: 'Merriweather';
}

.container.home-content span {
  color:var(--white);  
  font-size: 2.6rem;
}

.container.home-content p {
  color:var(--white); 
}

h3 {
  font-size: 6rem;
}

h4 {
  font-size: 3rem;
}

p {
 font-size: 1.6rem;
 color:#111111; 
}

iframe {
  max-width: 100%;
}

  /***********************************************************************************************/
  /**************************************** HEADER SECTION **************************************/
  /*********************************************************************************************/

.header {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 99;
  padding: 15px;
}

.header .nav-menu {
    position: fixed;
    visibility: hidden;
    right: -280px;
    width: 280px;
    height: 100%;
    top: 0;
    overflow-y: auto;
    background-color: var(--background-color);
    z-index: 1000;
    transition: all 0.5s ease;
    padding-top: 60px;

  }

  .header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
  } 



 .header-main .logo{
  font-size: 1.5rem;
  visibility: hidden;
} 


  .header .nav-menu.open {
    visibility: visible;
    right: 0px;
  }

  .header .menu > .menu-item {
    display: block;
    margin: 0;
  }

  .header .menu > .menu-item .menu-item-has-children > a{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header .menu > .menu-item > .sub-menu a,
  .header .menu > .menu-item > .sub-menu .more-sub-menu a {
    font-size: 1.6rem;
  }

  .header .menu > .menu-item > a {
    border-bottom: 1.5px solid var(--white);;
    display: block;
    padding: 15px 15px;
    text-transform: capitalize;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: uppercase;
  }

  .header .menu > .menu-item > a:hover {
    color: var(--white);
  }

  .header .menu > .menu-item > .sub-menu a:hover{
    color: var(--white);  
  }
  .header .menu > .menu-item > .sub-menu .more-sub-menu a:hover {
    color: var(--white);  
  }

  .header .menu > .menu-item:first-child > a { 
    border-top: 1.5px solid  var(--white);
  }

  .header .menu > .menu-item > a .plus:before,
  .header .menu > .menu-item > a .plus:after {
    background-color: var(--white);
  }

  .header .menu > .menu-item-has-children.active > a .plus:after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .header .menu > .menu-item > .sub-menu {
    width: 100%;
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .sub-menu li {
    padding: 15px;
  }

  .sub-menu li:hover {
    cursor: pointer;
  }

  .sub-menu li:nth-child(2) {
    padding-bottom: 21px;
  }



  .header .menu > .menu-item > a .plus {
    display: inline-block;
    height: 12px;
    width: 12px;
    position: relative;
    margin-left: 5px;
    pointer-events: none;
  }
  


  .header .open-nav-menu {
    display: flex;
  }

  .header .open-nav-menu {
    height: 34px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  

   
  .header .open-nav-menu span {
    display: block;
    height: 3px;
    width: 24px;
    background-color: var(--white);
    position: relative;
    z-index: 9999;
  }

  .header .open-nav-menu span:before,
  .header .open-nav-menu span:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    box-sizing: border-box;
    z-index: 9999;
  }

  .header .open-nav-menu span:before {
    top: -7px;
  }
  
  .header .open-nav-menu span:after {
    top: 7px;
  }
  


  .header .menu-overlay {
    position: fixed;
    z-index: 999;
    background-color: rgba(0,0,0,0.5);
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3 ease;
  }
  
  .header .menu-overlay.active {
    visibility: visible;
    opacity: 1;
  }


  .header .container {
    padding: 0;
  }

  .more-sub-menu {
    width: 100%;
    transform: translateY(0px);
    max-height: 0;
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .menu-item.menu-item-has-children.active-more .more-sub-menu li {
    padding: 10px;
  }


  .fa-solid.fa-chevron-down {
    width: 1rem;
  }




  /***********************************************************************************************/
  /**************************************** HOME SECTION ****************************************/
  /*********************************************************************************************/




.home-section {
    width: 100%;
    display: block;
    min-height: 100vh;
    background-image: url('./images/cigogne.png');
    background-position: center;
    background-size: cover;
    height:100vh;
    position: relative;
  }

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);  
  z-index: 1; /* Place the overlay above the background image */
}

.home-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-content > *{
  margin-top: 6rem;
}


.sub-menu > li:hover {
  background-color: var(--secondary-color);
  transition: all .4s ease;
}

.container.home-content .text {
  color: var(--background-color);
}

.dynamic-text-container {
  position: relative;
  overflow: hidden;
}

.dynamic-text-container .text.sec-text:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  /* background-color: red; */
  border-left: 2px solid var(--background-color);
  animation: animate 4s steps(12) infinite;
}

@keyframes animate {
  40%, 60% {
    left: 100%;
  }
  100% {
    left: 0%;
  }
}

#cursor {
  color: var(--background-color);
  animation: blink 1s linear infinite;
}

@keyframes blink {
  0% {
    opacity: 100%;
  }
  50% {
    opacity: 0%;
  }
}



/*********************************************************************************************/
  /**************************************** ACCORDION *************************************/
  /***************************************************************************************/



input{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity:0;
  visibility: 0;
}


label::before{
  content:"";
  display: inline-block;
  border: 15px solid transparent;
  border-left:20px solid var(--secondary-color);
}


label{
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}

.relative {
  position: relative;
  margin:2em auto;
}

div.p {
  max-height:0px;
  overflow: hidden;
  transition:max-height 0.7s;
  border-left: 2px solid var(--secondary-color);
  margin-left: 1.4em;


}

div.p p {
  padding-left:2em;
}

h5{
  font-size: 2rem;
  color:var(--secondary-color);
  padding:1em 0;
  position: relative;
}

input:checked ~ h5 label::before{
  border-left:15px solid transparent;
  border-top:20px solid var(--secondary-color);
  margin-top:12px;
  margin-right:10px;
}

input:checked ~ h5 ~ div.p {
  max-height:2500px;
}

.img-nid {
  width: 350px;
  height: 150px;
}

.img-nid img {
  width: 100%;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.aside-color {
  width: 35%;
  height: 400px;
  background-color: var(--secondary-color)
}

.aside-content {
  width: 75%;
}

/*********************************************************************************************/
  /**************************************** HOW AM I ****************************************/
  /*****************************************************************************************/




      


  .how-am-I {
    padding: 2rem;
    background:var(--background-color) ;
    padding: 10rem 0 10rem 0rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

  }
  
  .how-am-I-content > h4 {
    margin-bottom: 2.3rem;
    color: var(--white);
  }

  .how-am-I-content p {
    color: var(--white);
  }
  
  




  /**************************************************************************************************/
  /**************************************** DURING-PREGANCY ****************************************/
  /**********************************************************************************************/

  .support-during-pregnancy {
    background-color: var(--white);
    padding: 10rem 0 10rem 0rem;
  }
  


  .support-during-pregnancy p, h5 {
    color:#111111;
  }

  .support-during-pregnancy h4 {
    color:  var(--secondary-color);
  }


  section.support-during-pregnancy h4:nth-of-type(2) {
    margin-top: 10rem;
  }

  /**************************************************************************************************/
  /**************************************** AFTER-PREGANCY ****************************************/
  /**********************************************************************************************/

.support-after-pregnancy {
  background:var(--white);
  padding: 10rem 0 10rem 0rem;
}

.support-after-pregnancy h4 {
  position: relative;
  z-index: 9999;
}


.support-after-pregnancy h4 {
  margin-bottom: 5rem;
}

.particular-case div{

}

.particular-case h4{
  margin-bottom: 1.3em;
}



/***********************************************************************************************/
/**************************************** CONTACT SECTION **************************************/
/*********************************************************************************************/

.contact {
  background-color:var(--background-color);
  padding: 10rem 2rem;
}

.contact h4 {
  color: var(--white);
}

.text-contact > * {
  margin-bottom: 1.4em;
  color: var(--white);
}

.text-contact:first-child {
  margin-top: 1.4em;
}




/***********************************************************************************************/
/**************************************** FOOTER SECTION **************************************/
/*********************************************************************************************/

.footer {
  background-color:var(--secondary-color) ;
}

.footer p:nth-child(2) {
  margin-bottom: 1em;
}

.footer p:nth-child(1) {
  font-size:1.2rem;
  color: var(--white);
}


.footer .container {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-around;
  align-items: center;
}




  /*********************************************************************************************/
  /**************************************** MEDIA QUERY****************************************/
  /*******************************************************************************************/






  @media(min-width: 991px) {

    html {
      font-size: 80%;
    }

   
    .header-main a {
      color: var(--white);
    }

    .header-main {
      padding: 10px 0;
      border-radius: 5px;
      display: block;
    }


      .header .nav-menu {
        position: inherit;
        visibility: visible;
        width: inherit;
        top: 0;
        background-color: inherit;
        overflow-y: inherit;
        height: auto;
        padding-top: 0;
      }

      .header .nav-menu .menu {
       display: flex;
       justify-content: center;
       align-items: center;
      }

      .header .nav-menu .menu > li{
        margin-right: 3.5rem;
       }

      .header .menu > .menu-item {
        display: inline-block;
        margin-left: 30px;
        position: relative;
      }   
      
      .header .menu > .menu-item > .sub-menu {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        min-width: 215px;
        min-height: 158px;
        position: absolute;
        background-color: var(--background-color);
        border-top: 3px solid var(--secondary-color);
        transform: translateY(10px);
        transition: all 0.2s ease;
        visibility: hidden;
        border-radius: 3px;
      }
      .header .menu > .menu-item:hover > .sub-menu,
      .header .menu > .menu-item-has-children:hover > .sub-menu {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
      } 
      
      .header .logo {
        display: none;
      }
      
      .header .logo a {
        text-transform: uppercase;
        font-weight: 600;
      }

      .header .open-nav-menu span {
          visibility: hidden;
      }

      .header .close-nav-menu {
          display: none;
        }

      .header .menu > .menu-item > a {
        padding: 0px;
        border: none;
      }

      .more-sub-menu {
        width: 100%;
        transform: translateY(0px);
        max-height: 0;
        transition: all 0.3s ease;
      }

      .header .menu > .menu-item:first-child > a {
        border-top: none;
      }

      .header .menu > .menu-item > a {
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.9px;
      }

    
      .header .menu > .menu-item > .sub-menu a,
      .header .menu > .menu-item > .sub-menu .more-sub-menu a {
        font-size: 1.2rem;
        font-weight: 600;
      }

      .header .menu > .menu-item > a:hover {
        color: var(--secondary-color);
      }

      .container.home-content span {
        font-size: 3rem;
      }
      

      .contact h4 {
        padding: 2rem 0 2rem 0;
      }

      .contact-container {
        display: flex;
        justify-content: center;
      }

      .text-contact {
        width: 50%;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
      }

      .map-contact {
        width: 50%;
        padding: 1rem;
      }

      div.p {
        margin-left: 3.05em;
      }

      .footer {
        padding: 2rem;
      }

      .container {
        padding: 0 1rem 0 1rem;
      }

      h5{
        padding:1em;
      }

      .childbirth-preparation h5 {
        padding: 1em 1em 0 1em;
      }

    
      
      
}

@media(min-width: 1385px) {
  .container {
    padding: 0 ;
  }
} 
