*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root {

    --background-primary: hsl(0, 0%, 100%);
    --background-secondary: hsl(0, 0%, 97%);
  
    --action-primary: hsl(214, 32%, 91%);
    --action-secondary: hsl(210, 38%, 95%);
  
    --foreground-primary: hsl(218, 23%, 23%);
    --foreground-secondary: hsl(216, 15%, 52%);
    --foreground-tertiary: hsl(214, 20%, 69%);
  
    --accent: hsl(229, 76%, 66%);

    --color-primary : #6c63ff;
    --color-success : #00bf8e;
    --color-warning : #f7c94b;
    --color-danger : #f75842;
    --color-white : #fff;
    --color-black : #000;
    --color-bg : #f3f1f1;
    --color-bg1 : #2e3267;
    --color-bg2 : #ffffff;
    --color-danger-variant : rgba(247, 88, 66, 0.4);
    --color-light : rgba(255, 255, 255, 0.7);

    --container-width-lg: 76%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 400ms ease;
}

body{
    font-family: Robotto, sans-serif;
    line-height : 1.7;
    color: var(--color-black);
    background: var(--color-bg);
}

.container{
    width: var(--container-width-sm);
    background-color: var(--color-white);

    margin: 0 auto;
}

/* .container{
    width: 100%;
    min-height: 100vh;
    /* padding-left: 8%;
    padding-right: 8%; 
    overflow: hidden;
    background-color: #848484;
    box-shadow: 10px;
    position: relative;


} */

.nav__container{
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position : relative;
    padding-left: 4rem;
    padding-right: 4rem;
    z-index: 1000;
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.2);

}

.content {
    margin-bottom: 70px;
}
.contentlogo {
    top: 0;
    display: flex;
    flex-direction: row;

}



.contentlogo div {
    padding : 5px;
}

.contentlogo h3 {
    color : #5E5E5E;
    font-weight: 300;
    font-size: 15px;
}
.logo{
    width: 110px;
    cursor: pointer;
}

.menu{
    display: flex;
    justify-content: flex-end;
    align-items: end;
    text-align: right;
    margin-right: 20px;
    bottom: 10px;
}

nav ul li {
    list-style: none;
    display: inline-block;
    margin-right: 20px;
    margin-top: 30px;
    margin-bottom: 10px;

}


nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    text-transform: capitalize;
}

.burger{
    display: none;
}

.burger img{
   width: 30px;
}
.nav__container .btn-group, .mobile-nav 
{
    display: none;
}
header{

    position: relative;
    top: 0;
    z-index: 200;
    box-shadow: 1rem 0 rgba(0,0,0,0.2);

    

}



.header__left {
   
    display: flex;
    align-items: center;
    flex-direction: column;

}

.header__left .head {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem;
    justify-content: center;
    align-items: center;
}

.header__left .head .info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header__left .head .info h3:nth-child(1) {
    padding-right: 120px;
    padding-top: 10px;
}

.header__left .head .info h3:nth-child(2) {
    padding-left: 120px;
    padding-top: 10px;
}

.header__right {
    padding: 40px 10px;
    position: relative;
}

.right_side {
    margin-top: 15px;
    margin-bottom : 40px;
}

.right_side h4 {
    margin-bottom : 15px;
    font-weight: 500;
}

.header__left img {
    width : 100%;
    height: 80%;
}

.info_contact {
    padding: 30px;
}

.info_contact ul {
    margin: 1em;
}
.info_contact ul li{
    padding: 0;
    margin: 0;
}

.header__left .info_contact span {
    color: royalblue;
}

.header__container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap:0;
    /* height: 140vh; */

}

.header__left h1{
align-items: center;
font-weight: 600;

}

.header__left .content {
    padding: 0 30px ;
    
    }

.header__left img{
    margin-top: 1rem;

}


.header__right .percent
{
    position: relative;
    width: 100%;
    height: 2px;
    display: block;
    margin-top: 0;
    border-radius: 2%;
    border: 0 solid #adacac; 
}

.header__right .percent div 
{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 5px;
    height: 100%;
    background: #03a9f4;
    width: 20%;
    margin-bottom: 20px;
}

.menu-icon{
    width: 25px;
    cursor: pointer;

}


.header__left .social {

    position: absolute;
    bottom: 50px;
        width: 30px;
        height: 40px;
        cursor: pointer;
        display: flex;
        align-items: center;
     }

     .header__left .social img {
    
       margin-right: 10px;
     }

footer{
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    border: 0.5px solid #adacac;
    padding: 1rem;
}

@media screen and (max-width: 1100px){

    .nav__container{
        height: 75px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding-left: 1rem;
        padding-right: 1rem;
        align-items: center;
        position: relative;
        
    
    }

    .contentlogo {
        align-items: center;
        overflow: hidden;
    }

    .logo {
        width: 75px;
        height: 50px;
    }

    .title {
        position: relative;
        height: 80%;
        width: 74%;
        overflow: hidden;
    }

    .title h2, .title h3 {
        font-size: 8.7px;
    }





    .nav__container .btn-group
{
    background: var(--action-secondary);
    color: var(--foreground-tertiary);
    width:  40px;
    height: 40px;
    display:         flex;
    justify-content: center;
    align-items:     center;
    border-radius: 50%;
    font-size: 25px;
}


.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--background-primary);
    padding: 70px 20px;
    overscroll-behavior: contain;
    transform: translateX(100%); 
    visibility: hidden;
    transition: 0.5s cubic-bezier(1, 0, 0.30, 0.70);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: row;
    height: 100vh;

  }

  .nav-close-btn {
    position: absolute;
    top:   20px;
    right: 1rem;
    background: var(--action-secondary);
    color: var(--foreground-tertiary);
    width:  40px;
    height: 40px;
    display:         flex;
    justify-content: center;
    align-items:     center;
    border-radius: 50%;
    font-size: 25px;
  }
  
  .mobile-nav.active {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-nav .wrapper {
    padding-bottom: 1.25rem;
    margin-bottom:  1.25rem;
    border-bottom: 1px solid var(--action-primary);
  }

  .mobile-nav ul{
    display: flex;
    flex-direction: column;
  }

  
  .mobile-nav .nav-title { margin-bottom: 1rem; }
  
  .mobile-nav .nav-item { margin-bottom: 0.5rem; }
  
  .mobile-nav .nav-link {
    font-size: var(--fs-3);
    color: var(--foreground-secondary);
  }
  
  .mobile-nav .nav-link:hover { color: var(--accent); }
  

    .header__container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap:0;
        height: auto;
    
    }

    .burger{
        display: inline;
    }
    .head {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 2rem;
        justify-content: center;
        align-items: center;
    }

    .header__left .head .info {
        flex-direction: column;
    }

    .header__left .head .info h3:nth-child(1) {
        padding-right: 0px;
        padding-top: 0px;
    }
    
    .header__left .head .info h3:nth-child(2) {
        padding-left: 0px;
        padding-top: 0px;
    }

    .header__left .info_contact {
        font-size: 15px;
    }
    
    .header__right {
       
        display: flex;
        align-items: start;
        flex-direction: column;
        position: relative;
    
    }



    

    .menu {
        display: none;
    }

    footer span {
        position: relative;
        font-size: 0.65rem;
        font-weight: 500;
    }
}

@media screen and (max-width: 700px){

}


.card{
    max-width: 500px; 
    width:100%;
    background: #fff;
    margin: 0px auto; /*auto permet de ramener tout le card vers le milieu ?*/
    padding: 30px; /*mets uen marge intérieure de 30px sur l'intérieur de la carte*/
    /* box-shadow : 1px 1px 2px rgba(0,0,0,0.125); */
    
}

.card .titre {
    font-size : 24px;
    font-weight : 700;
    margin-bottom : 25px;
    color: royalblue;
    text-align : center;

}
.card .forme {
    width: 100%;
}

.card .forme .field{
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: start;

}

.card .forme .field label{
    
    width:200px;
    color:#757575;
    font-size : 18px;
}

.card .forme .field input,
.card .forme .field textarea{
    width : 100%;
    outline : none;
    border:1px solid #d5dbd9;
    font-size: 18px;
    padding : 8px 10px;
    border-radius: 3px;

}

.card .forme .field textarea{
    resize:none;
    height:70px;
}
.on_select{
    height:35px;
    width:100%;
    position: relative;
}

select{
    border: 1px solid #d5dbd9;
    appearance: none;  /* ? */
    -webkit-appearance:none;
    width: 100%;
    height:115%;
    padding: 5px 10px ;
    border-radius: 3px ;
    outline:none ;  /* défini la bordure extérieure du champ */
    font-size: 18px;
}

.on_select:before{
 content: "";  /* ? */
 position: absolute ;
 outline : none; /* ? */
 top:35%;
 bottom:30%;
 right: 0;
 border : 8px solid ;
 border-color:  transparent royalblue transparent transparent;
 pointer-events: none;  /* ? */
}

.card .forme .field input:focus{

border: 1px solid royalblue; 

}

.card .forme .field textarea:focus,
.card .forme .field select:focus
{
    border: 1px solid royalblue;

}

.card .forme .field .envoi{

width: 100%;
padding: 8px 10px ;
font-size: 15px;
border:0;
background-color: royalblue;
color : #fff;
outline : none ;

}


.card .forme .field .envoi:last-child{
margin-top : 10;
margin-bottom : 0;
}

.card .forme .field .envoi:hover{
 background-color: rgb(110, 139, 226);
}

option{
    font-size: 18px;
    color: #757575;
}

.placeoption {
 color: #757575;
 }


/************************ MEDIA QUERY {TABLETS} ******************************/
/*  
@media screen and (max-width: 1024px){

    .container{
        width: var(--container-width-md);
    }

    h1{
        font-size: 2.2rem;
    }
    h2{
        font-size: 1.7rem;
    }
    h3{
        font-size: 1.4rem;
    }
    h4{
        font-size: 1.2rem;
    }




    nav button{
        display: inline-block;
        background: transparent;
        font-size: 1.8rem;
        color: var(--color-white);
        cursor: pointer;
    }

    nav button#close-menu-btn {
        display: none;
    }

    .nav__menu {
        position: fixed;
        top: 5rem;
        right: 5%;
        height: fit-content;
        width: 18rem;
        flex-direction: column;
        gap: 0;
        display: none;
    }

    .nav__menu li {
        width: 100%;
        height: 5.8rem;
        animation: animateNavIcon 400ms linear forwards;
        transform-origin: top right;
        opacity: 0;
    }

    .nav__menu li:nth-child(2){

        animation-delay: 200ms;
    }

    .nav__menu li:nth-child(3){

        animation-delay: 400ms;
    }
    
    .nav__menu li:nth-child(4){

        animation-delay: 600ms;
    }

    @keyframes animateNavIcon {
        0% {

            transform: rotateZ(-90deg) rotateX(90deg) scale(0.1);
        }
        100%{

            transform: rotateZ(0) rotateX(0) scale(1);
            opacity: 1;
        }
        
    }

    .nav__menu li a {
        background: var(--color-primary);
        box-shadow: -4rem 6rem 10rem rgba(0,0,0,0.8);
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;


    }

    .nav__menu li a:hover {
        background: var(--color-bg2);
        color: var(--color-white);
    }


    header{
        height: 52vh;
        margin-bottom: 4rem;
    }

    .header__container{
        gap: 0;
        padding-bottom: 3rem;
    }

   

    .categories {
        height: auto;

    }

    .categories__container{
        grid-template-columns: 1fr;
        gap: 3rem;

    }

    .categories__left {
        margin-right: 0;
    }


    .courses {
        margin-top: 0;
    }

    .courses__container {
        grid-template-columns: 1fr 1fr ;
    }

   

    .faqs__container{
        grid-template-columns: 1fr;
    }
    .faq {
        padding: 1.5rem;
    }



    .footer__container{
        grid-template-columns: 1fr 1fr;
    }


} */
