
@import url('https://fonts.googleapis.com/css2?family=Koulen&family=Merriweather&family=Montserrat:wght@200;300;400;500;600;700&family=Oswald:wght@500&family=Poppins:wght@400;700&family=Sacramento&display=swap');
*{ 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    outline: 0;
    }
:root{

    --color-bg1:#FFFFFF;
    --color-bg3:#2c7b8f;
    --color-bg2:#48cae4;
    --color-bg4: linear-gradient(to right,#6190E8, #A7BFE8 );
    --color-bg5: #272643;
    --color-bg6: #bae8e8;
    
    --color-sucess:#00bf8e;
    --color-warning:#f7c94b;

    --container-width-lg: 80%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 400ms ease;
    --transition-carousel: transform .5s, opacity .5s, z-index .5s;
}
body{
    background: var(--color-bg1);
    color: var(--color-bg3);
    font-family: 'Poppins';
}
.container{
    margin: 0 auto;
    width: var(--container-width-lg);
    }
section{
    padding: 6rem 0;
}
.btn{
    display: inline-block;
    text-align: center;
    border: 1px solid transparent;
    padding: 1rem 2rem;
    transition: var(--transition);
}
.btn:hover{
    background: transparent;
    border-color: var(--color-bg3);
}
.nav_container i{
    display: none;
}
.btn_primary{
   
    background: var(--color-warning);
    color: var(--color-bg5);
    }
 a{
        color: var(--color-bg5);
    } h1, h2, h3, h4, h5{
        line-height: 3rem;
    }
h1{
        font-size: 2.4rem;
    }
h2{
        font-size:2rem;
    }
h3{
        font-size:1.6rem;
    }
h4{
        font-size: 1.3rem;
    }

    /* NAV*/
.window-scroll{
    border-bottom: 1px solid black;
    width: 100vw;
    background: var(--color-bg1);
    z-index: 11111; }
nav{
    display: flex;

    background: whitE;
    width: 100%;
    height: 5rem;
    position: fixed;
    top: 0;
    z-index: 11111;
    
}
#span__h1{
color: var(--color-warning);
}
.menu_burger{
    display: none;
}
.menu__mb{
    position: absolute;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: var(--color-bg1);
  }
.nav_container{
    justify-content: space-between;
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    align-items: center;
    z-index: 1111;
}
.nav_menu{
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}
.nav__selection{
    text-transform: uppercase;
}
.nav_menu a{
transition: var(--transition);
font-size: 1.2rem;
}
.nav_menu a:hover{
    color: var(--color-bg3);
    }
   /*HERO*/
section{
        margin-top: 5rem;
        height: 60vh;
        background: white;
      }
.Hero_container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    height: 100%;
    align-items: center;
}
.hero_left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-bg5);
}
.btn_1{
    margin-top:2rem;
    max-width: 20rem;
    
}
/* SOLUTION */

.cours{
    height: 20vw;
    width: 100%;
    background: var(--color-bg4);
    color: var(--color-bg1);
    line-height: 2;
}

.solution_container{
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 2rem;
}

.solution{
    display: flex;
    gap: 2rem;
}

.Presentation_solution{
    position: relative;
    line-height: 2;
    bottom: 4rem;
}

.solution_1 {
    display: flex;
    flex-direction: column;
    background: var(--color-bg4);
    border: 1px solid var(--color-bg6);
    border-radius: 20px;
    height: 20rem;
    padding: 1rem 1rem ;
    line-height: 2;
    transition: var(--transition);
    text-align: center;
    }
 

    .solution_1:hover{
        box-shadow: 0 3rem 7rem rgb(0, 0, 0, 0.4);
       }
    .solution_icon{
        align-self: flex-start;
        background: var(--color-bg2);
        width: auto;
        border-radius: 10px;
        padding: 0.8rem;
        
    }
    .solution_1:nth-child(2) .solution_icon{
        background: var(--color-sucess);
    }
    .solution_1:nth-child(1) .solution_icon{
        background: var(--color-warning);
    }




/*QUESTION*/

.questions{
    margin-top: 6rem;
    
}
.question_container{
    background: var(--color-bg4);
    
   }
   .question_container h1{
    padding-top: 5rem;
    text-align: center;
    color: var(--color-bg1);
    text-transform: uppercase;
   }
   .question{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 3rem;
    gap: 2rem;
   }
    
   
  .question1{
    padding: 0.5rem;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: fit-content;
  }

.question1 h3 {
   
    font-size: 1rem;
    text-align: center;
}
.question1 p {
    margin-top: 0.8rem;
    display: none;
}
  .faq_icon {
   align-self: flex-start;
  }

  .question1.open p{
display: block;
  }

  
  .bonjour{
    display: block;
  }
 /* *******************LISTE DE COURS******************** */
.cour_pro{
 
    overflow: hidden;
}
 .cour_pro h1 {
    text-align: center;
    text-transform: uppercase;
   }
.course {

    display: grid;
    grid-auto-flow: column;
    grid-gap: 3rem;

    overflow-x: auto;
  scroll-behavior: smooth;
    
    
}
.course::-webkit-scrollbar {
    display: none;
  }
.course img {
width: 100%;
height: 40%;
}
.course  h3 {
    text-align: center;
    color: var(--color-bg5);
    text-transform: uppercase;
}
.course p {
    padding: 1rem 0.5rem;
    color: var(--color-bg5);
    font-size: 1.3rem;
}
.course  a {
    width: 80%;
    margin-left: 3rem;
} 
.cour
    {
    margin-top: 2rem;
    background: whitesmoke;
    height: 90%;
    width: 25rem;
    }
button{
    cursor: pointer;
    border-radius: 100%;
    border: none;
    width: 3rem;
    height: 3rem;
    z-index: 100;
    background: var(--color-warning);
}
.button__container{
    position: absolute;
    right: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 35rem;
    
 
}
/* PARTIE FOOTER */
footer{
    text-align: center;
    background:var(--color-bg4);
    color: var(--color-bg1);
    margin-top: 10rem;
    width: 100%;
    height: 10rem;
}


 @media (max-width:1670px){

    nav{
        display: flex;
        flex-wrap: nowrap;
        background: whitE;
        width: 100%;
        height: 9rem;
        position: fixed;
        top: 0;
        z-index: 11111;
        
    }
    .nav_container{
        justify-content: space-between;
        display: flex;
        flex-wrap: nowrap;
        height: 100%;
        align-items: center;
        z-index: 1111;
    }
    .nav_menu{
        display: flex;
        flex-wrap: nowrap;
        gap: 1.5rem;
    
    }
    .nav_menu a{
    transition: var(--transition);
    font-size: 1.2rem;
    }
    .nav_menu a:hover{
        color: var(--color-bg3);
        }
                                    /************************************ SOLUTION ************************************************/
.cours{
    height: 100%;
}

.solution_container{
    display: flex;
    flex-direction: column;
}
.solution{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.Presentation_solution{
    text-align: center;
    
   
}
.solution_1 {
    min-height: 25%;
    min-width: 30%;
    padding: 1rem 1rem ;
    }

/* ***********************************************************************QUESTIONS*********************************************************************************** */
.questions{
    margin-top: 5rem;
}
   .question{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    
   }
    .question1{
    padding: 0.5rem;
    width: 70%;
  }

  footer{
    text-align: center;
    background:var(--color-bg4);
    color: var(--color-bg1);
    margin-top: 49rem;
    width: 100%;
    height: 10rem;
}
 }

 @media (max-width:1330px){
.container{
    width: var(--container-width-md);
    }
nav{
     display: block;
}
.nav_container{
      display: block;
      text-align: center;
}
    .nav_menu{
        display: flex;
        justify-content: center;
        gap: 1.5rem;
    
 }
 .nav_container h1 {
        margin-top: 2rem;
}

.cours{
    height: 100%;
}
}


@media (max-width:1080px){

section{
        height: 100vh;
        gap: 0rem;
      }
.Hero_container{
    display: flex;
    flex-direction: column;
}

footer{
    margin-top: 10rem;
}
.questions{
    margin-top: 0rem;
}
}





@media (max-width:800px){
.container{width: var(--container-width-sm);}
nav{
    height: 5rem;
}
.nav_menu{
        display: none;
  }
.menu_burger{
    display: block;
    position: relative;
    top: 3rem;
    left: 4rem;
    cursor: pointer;
    color: var(--color-bg5);
}
.menu__mb{
    position: absolute;
    left: -100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: var(--color-bg1);
  }
   h1{
    margin-bottom: 3rem; 
 }
#t__a {

    position: relative;
    height: 50px;
    width: 160px;
    border-bottom: solid black 1px;
    
    display: flex;
    padding-top: 1rem;
}
#t__a:before{
    content: '';
    margin-right: 10px;
    width:  15px;
    height: 15px;
    background-color: var(--color-warning);
    display: block;
    clip-path: polygon(100% 39%, 0 0, 0 100%);
}
#span__h1{
    color: var(--color-warning);
}
#connection__mb{
    color: var(--color-bg1);
    margin-top: 2rem;
    background-color: var(--color-bg5);
    padding: 1rem;
    border-radius: 10px;
}
#i__mb{
    padding: 3px;
    border-radius: 5px;
}
#leave__mb{
    cursor: pointer;
    color: var(--color-bg5);
    position: absolute;
    top: 10rem;
    left: 10rem;
}
.cours {margin-top: 10rem;}
button{
    display: none;
}
}


@media (max-width:640px) {
    .cours {margin-top: 15rem;}
    footer{
        margin-top: 15rem;
    }
}
@media (max-width:590px){
    .menu_burger{
        top: 3.5rem;
        left: 1rem;} 

       .cour_pro h1 {
        font-size: 2rem;
}

.course  h3 {
     font-size: 1.3rem;
}
.course p {
      font-size: 1rem;
} 
.cour
{
     width: 20rem;
}
.course  a {
    width: 60%;
    margin-left: 3.6rem;
}
footer{margin-top: 35rem;}
}



@media (max-width:390px){
.larue{
    font-size: 2rem;
}
    .menu_burger{
        top: 3.5rem;
        left: 2rem;} 

       .cour_pro h1 {
        font-size: 2rem;
}
.course  a {
    width: 60%;
    margin-left: 3.6rem;
} 

footer{margin-top: 45rem;}

#leave__mb{
    cursor: pointer;
    color: var(--color-bg5);
    position: absolute;
    top: 15rem;
    left: 1rem;
}
}
