@import url('https://fonts.googleapis.com/css2?family=Baloo+Paaji+2:wght@400;500;600;700;800&family=Quicksand:wght@400;500&display=swap');

:root {
    --color-first: #db0500;
    --color-second: #FF6057;
    --color-third: #AC0900;
    --color-forth: #5A0000;
    --block-width: 400px;
    --block-height: 400px;
    --border-width: 1rem;
    --border-radius-outer: 24px;
    --border-radius-inner: calc(var(--border-radius-outer) / 1.5);
    box-sizing: border-box;
 
  }
  
  *,
  *:before,
  *:after {
    box-sizing: inherit;
    /* box-sizing: content-box; */
    margin: 0;
  }

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body{
    font-family: sans-serif;
}
main{
    display: flex;
    flex-direction: column;
    align-items: center;
}

section{
    width: 100vw;
    height: auto;
    display: flex;
}


#overlayer {
  width:100%;
  height:100%;  
  position:fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  z-index: 20000;
  background:white;
}
.preloader p{
  position: fixed;
  top: 57%;
  left: 50%;
  margin-left: -38px;
  width: 100px;
  height: 90px;
  text-align: center;
  color: #db0500;
  font-size: 20px;
  font-family: 'Baloo Paaji 2', cursive;
  z-index: 200000;
}
.loader {
  display: inline-block;
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 200000;
  border: 4px solid #db0500;
  top: 50%;
  left: 50%;
  animation: loader 2s infinite ease;
  border-radius: 10px;
}
.loader-inner {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  z-index: 200000;
  background-color: #db0500;
  animation: loader-inner 2s infinite ease-in;
}
@keyframes loader {
    0% {
      transform: rotate(0deg);
    }
    25% {
      transform: rotate(180deg);
    }
    50% {
      transform: rotate(180deg);
    }
    75% {
      transform: rotate(360deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  @-webkit-keyframes loader {
    0% {
      transform: rotate(0deg);
    }
    25% {
      transform: rotate(180deg);
    }
    50% {
      transform: rotate(180deg);
    }
    75% {
      transform: rotate(360deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  @keyframes loader-inner {
    0% {
      height: 0%;
    }
    25% {
      height: 0%;
    }
    50% {
      height: 100%;
    }
    75% {
      height: 100%;
    }
    100% {
      height: 0%;
    }
  }
  @-webkit-keyframes loader-inner {
    0% {
      height: 0%;
    }
    25% {
      height: 0%;
    }
    50% {
      height: 100%;
    }
    75% {
      height: 100%;
    }
    100% {
      height: 0%;
    }
  }
  .ensavoirplusContainer{
    color: black;
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    
    height: 10vh;
  
    /* position: absolute;
    top: 13800px; */
    /* margin-left: 45%;
    margin-bottom: 0%; */
   
  }
  
  .telecharger{
    margin-right: 30px;
    color: white;
    background-color: var(--color-first);
    border-radius: 100px;
    padding: 10px 50px 10px 50px;
    margin-bottom: 15vh;
  
  }
  .aEnsavoirplus{
    color: black;
    background-color: white;
    border-radius: 100px;
    padding: 10px 50px 10px 50px;
  
  }
  .aEnsavoirplus:visited{
    color: #000;
  }  

.left_section_1{
    display: flex;
    align-items: center;
    width: 50vw;
    min-height: 100%;
}
.right_section_1{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50vw;
    padding-left: 80px;
    padding-right: 160px;
}
.phone_1{
    width: 40%;
    position: absolute;
    left: 56px;
    z-index: 10;
}
.background_phone_1{
    position: relative;
    left: 0;
    background-color: #db0500;
    width: 45%;
    height: 40vw;
    z-index: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* ---------composants-----------*/

h2{
    margin-bottom: 16px;
    font-size: 5rem;
    font-family: 'Baloo Paaji 2', cursive;
    line-height: 0.85;
    color: #db0500;
  }
  .h2_center{
  margin-bottom: 16px;
  font-size: 3rem;
  font-family: 'Baloo Paaji 2', cursive;
  line-height: 105%;
  color: black;
  max-width: 40vw;
}
  h3{

    font-size: 2.75rem;
    font-weight: 700;
    line-height: 110%;
   
    font-family: 'Baloo Paaji 2', cursive;
  }
  h5{
    font-size: 0.8rem;
    font-family: 'Baloo Paaji 2', cursive;
  }
  
  h4{
    font-size: 1.1rem;
    font-family: 'Baloo Paaji 2', cursive;
  }
  h6{
    font-size: 1.6rem;
    font-family: 'Baloo Paaji 2', cursive;
    margin-top: 20px;
  }
  a{
    display: flex;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif; 
    font-size: 1.5rem;
  }
  li{
    font-family: 'Quicksand', sans-serif; 
  }
  
  p{
    font-size: 1.2rem;
    font-family: 'Quicksand', sans-serif; 
    font-weight: 500;
  }
  .cursor{
    cursor: pointer;
  }
  #menu{
      position: fixed;
      top: -1000px ; 
      left: 0;
      margin: 0; 
      padding: 0;
      width: 110px;
      height: 110px;
      background-color: #db0500;
      border-bottom-right-radius: 100%;
      box-shadow: 0 2px 5px rgba(0,0,0,0.26);
      animation: not-checked-anim .2s both;
      transition: .2s;
      z-index: 100;  
  }
  #menu-toggle{
    position: absolute;
    top: -1000px;
  }
  li.navbutton{
    color: white;
  }
  li.navbutton:visited{
    color: white;
  }
  #trigger{
    opacity: 0;
  }
  #trigger, #burger{
    position: fixed;
    top: -1000px;
    left: 25px;
    width: 30px;
    height: 5px;
    transition: .2s ease;
    cursor: pointer;
    z-index: 101;
  }

/*******************cookie*******************/

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.80);
  color: white;
  padding: 24px 50px 50px 50px;
  
  z-index: 1000;
  /* display: none; */
}
#cookie-banner button {
  margin: 0 0px;
  padding: 4px 16px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 24px !important;
}
#accept-cookies {
  background-color: #4CAF50;
  outline: none;
}
#accept-cookies:hover {
  background-color: #4CAF50;
  opacity: 80%;
  outline: none;
  color: inherit;
}
#decline-cookies {
  background-color: #f44336;
  outline: none;
}
#decline-cookies:hover {
  background-color: #f44336;
  opacity: 80%;
  outline: none;
  color: inherit;
}

/****************************************************/
  
  .title_proposition{
    width: 70vw;
    text-align: center;
    margin-top: 35vh;
    margin-bottom: 124px;
  }

/************choix proposition********/

.liste_proposition{
    width: 100vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 15%;
    padding-right: 15%;
    padding-top: 128px;
    padding-bottom: 128px;
}
.proposition{
    height: 20vw;
    width: 20vw;
    background-color: #AC0900;
    border-radius: 64px;
    filter: grayscale(1);
    display: flex;
    align-items: end;
    padding-bottom: 16px;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-family: 'Baloo Paaji 2', cursive;
    font-weight: 600;
}
.active{
    height: 25vw;
    width: 25vw;
    font-size: 2rem !important;
    font-family: 'Baloo Paaji 2', cursive;
    filter: grayscale(0);
    transition: ease-in-out 1s;
    border-radius: 80px;
    box-shadow: 0px 50px 100px 0px rgba(0, 0, 0, 0.10);
}
.first_section_proposition{
    display: flex;
    height: auto;
}

.container_detail_proposition{
    padding-left: 15%;
    padding-right: 15%;
}
.container_text{
    width: 50%;
    padding-left: 64px;
    padding-right: 96px;
    display: flex;
    flex-direction: column;
}
.img_proposition{
    width: 50%;
    min-height: 100%;
    border-radius: 50px;
}
.second_section_proposition{
    display: flex;
    margin-top: 128px;
    /* flex-direction: column; */
    /* height: 100%; */
}
.main_container_fonctio{
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: center;
}
.container_fonctio{
    padding-left: 64px;
    padding-right: 96px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.title_fontio{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 70%;
    width: 100%;
    margin-left: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.fonctio{
    display: flex;
}
.rotate{
  transform: rotate(90deg);
  transition: ease-in-out 0.3s;
}
.picto_fontio{
    min-height: 56px;
    min-width: 56px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.text_proposition{
    width: 50%;
    margin-top: 56px;
    margin-bottom: 56px;
}
.besoin{
  text-align: center; 
  width: 100%; 
  margin-top: 72px; 
  margin-bottom: 72px; 
  font-size: 32px;
}
.line_red{
  min-width: 8px; border-radius: 10px; background-color: #db0500; min-height: 100%;
}
/* .line_card{
    display: flex; 
    justify-content: space-around; 
    padding-left: 64px; 
    padding-right: 64px;
} */
.line_card3{
    display: flex; 
    padding-left: 15%; 
    padding-right: 15%;
    justify-content: space-between; 
    align-items: end;
  }
  .card{
    padding: 32px;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    box-shadow: 0px 50px 100px 0px rgba(0, 0, 0, 0.10);
    height: 350px;
    min-width: 40%;
    max-width: 40%;
}
.card h4{
    color: #db0500;
}
.card2{
    padding: 32px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-radius: 50px;
    box-shadow: 0px 50px 100px 0px rgba(0, 0, 0, 0.10);
    height: fit-content;
    min-width: 45%;
    max-width: 45%;
}
.button_init{
    background-color: #db0500;
    width: 100%;
    border-radius: 50px;
    padding: 12px 32px 12px 32px;
    display: flex;
    justify-content: center;
    color: white;
    align-items: center;
}
button{
  all: unset;
  
  background: #DB0500;
    border-radius: 999px;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;


    font-size: 1.1rem;
    font-weight: 600;
    line-height: 24px;
    opacity: 1;
    outline: 0 solid transparent;
    padding: 16px 32px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: fit-content;
    word-break: break-word;
    outline: solid var(--color-first) 2px;
    transition: ease-in-out 0.2s;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 64px !important;

}
.button_free{
    background-color: white;
    width: 100%;
    border-radius: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    justify-content: center;
    color: #db0500;
}
/* ----------bookmark --------------*/


.bookmark{
    display: flex;
    flex-direction: column;
    position: fixed;
    align-items: center;
    bottom: 0;
    left: 2.3%;
    background-color: white;
    /* border: #db0500 5px solid; */
    -webkit-box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.1); 
    box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.1);
    border-bottom: white;
    padding: 16px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    color: #000;
    font-weight: 700;
    width: 10%;
    z-index: 100;
}
.bookmark img{
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    margin-bottom: 7%;
}
/* .rotate{
  transform: rotate(90deg);
} */
.containButton img{
    justify-content: center;
    align-items: center;
}



/*---------------nav bar------------------*/

.logo{
    position: fixed;
    width: 30px;
    left: 0;
    top: 0;
    margin-left: 60px;
    margin-top:36px;
    z-index: 300;
   
}
.tabbar{
    padding: 10px 20px 10px 20px;
    margin-top: 30px;
    top: 0;

    background-color: rgba(255, 255, 255, 0.950);
    position: fixed;
   
    display: flex;
    flex-direction: column;
 
    align-items: center;
    justify-content: center;

    z-index: 110;
    
    list-style: none;
    
    -webkit-box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.1); 
    box-shadow: 0px 4px 15px 0px rgba(0,0,0,0.1);

    border-radius: 100px;
   

    
  
}

.space{
    margin-left: 20px;
    margin-right: 20px;
}

nav ul li a {
    color: #000;
    font-size: 1rem;
    font-family: 'Baloo Paaji 2', cursive;
}
nav ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    padding-inline-start: 0;

}
nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all .5s;
}
nav ul li a:hover {
  color: #db0500;
}

.linktabbar:link{
  text-decoration: none;
}  
.linktabbar:visited {
  text-decoration: none;
 
}

.linktabbar:hover {
  text-decoration: none;
}

.linktabbar:active {
  text-decoration: none;
}


/*-------------- animation hoover nav ------------------ */





nav.stroke{
    align-items: center;
    justify-content: center;
    display: flex;
}


nav.stroke ul li a,
nav.fill ul li a {
  position: relative;
  
}
nav.stroke ul li a:after,
nav.fill ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #db0500;
  height: 3px;
  border-radius: 100px;

}
nav.stroke ul li a:hover:after {
  width: 30%;
  
}

nav.fill ul li a {
  transition: all 2s;
}

nav.fill ul li a:after {
  text-align: left;
  content: '.';
  margin: 0;
  opacity: 0;
}
nav.fill ul li a:hover {
  color: #db0500;
  z-index: 1;
}
nav.fill ul li a:hover:after {
  z-index: -10;
  animation: fill 1s forwards;
  -webkit-animation: fill 1s forwards;
  -moz-animation: fill 1s forwards;
  opacity: 1;
}



/*****************************form**************************/
.section_form{
    flex-direction: column; 
    background-color: #db0500;
    color: white;
    justify-content: center;
    align-items: center;
    margin-top: 20vh;
    margin-bottom: 15vh;
}
.section_form p{
    color: white;
}
.padding{
  padding-left: 5%;
  padding-right: 5%;
  display: flex;
  flex-direction: column;
}
.button_white{
    background-color: white;
    border-radius: 20px;
    padding: 8px;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    justify-content: center;
    color: black !important;
    margin-top: 32px;
}
.footer{
    width: 45%;
    margin-right: 0;
    margin-left: auto;
    height: 8vh;
    background-color: black;
    color: white;
    display: flex;
    flex-direction: row;
    position: relative;
    align-items: center;
    justify-content:space-around ;
    padding: 16px;
    font-size: 1rem;
    border-radius: 16px 0 0 0;
    
  
    
  }
  
  .footer .copyright{
    font-size: 0.8rem;
  }
  .footer a p{
    text-decoration: none;
    font-family: 'Quicksand', sans-serif; 
    font-size: 0.8rem;
    margin-right: 16px;
  }
  
  .footer a:link {
    color: white;
  }
  
  .footer a:visited {
    color: white;
  }
  
  .footer a:hover {
    color: #db0500;
  }


/***************************Anmiation*********************************/
.fade-in-bottom {
	-webkit-animation: fade-in-bottom 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both 1s;
	        animation: fade-in-bottom 1s cubic-bezier(0.390, 0.575, 0.565, 1.000) both 1s;
}

 @-webkit-keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

.fade-in-top {
	-webkit-animation: fade-in-top 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: fade-in-top 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

 @-webkit-keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-40px);
            transform: translateY(-40px);
    opacity: 0;
  }
  50% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 0.5;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-40px);
            transform: translateY(-40px);
    opacity: 0;
  }
  50% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 0.5;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}



  
.details { display: none; }
#sous-text{
  font-size: 0.75rem !important;
}