html, body{
    scroll-behavior: smooth;
}

header{
    position: relative;
    width: 100%;
    height: 100vh;
}

.head{
    padding-top: 7rem;
}
*{
    z-index: 1;
}

.row{
    position:relative;
}
header nav.navbar{
    background: transparent;
    box-shadow: none
}
header nav.navbar .navbar-nav .nav-item a.nav-link{
    color: white;
}
.home-video{
    position: absolute;
    top:0;
    left:0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: #1EA557;
    background-position: center;
    background-image: url(/assets/img/animation.svg);
    background-size: 100px 100px;
    background-repeat: no-repeat;
}
.home-video .overlay{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: #0008;
}
.home-video video{
    width: 100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}
header .header-container{
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: white;
    align-items: center;
    justify-content: center;
    text-align: center;
}
header .header-container h1 span{
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
    color: transparent;
    font-size: 58px;
}
header .header-container h1 strong{
    font-size: 84px;
}
header .header-container p{
    max-width: 650px;
    font-weight: lighter;
}
header .header-container .btn-continuer{
    color: white;
    text-decoration: none;
    padding: .7rem 2.5rem;
    border: 1px solid white;
    transition: all .3s;
}

header .header-container .btn-continuer:hover{
    background-color: white;
    color: #3f3f3f;
}

/* img decoration */
.deco{
    position: absolute;
    z-index: 0 !important;
}
.deco_1{
    left: 35%;
    top: 0px;
    
}
.deco_2{
    left: 0;
    top: 270px;
    
}
.deco_3{
    left: 45%;
    top: 453px;
    
}
.deco_4{
    left: 50%;
    top: 444px;
    
}
.deco_5{
    left: 47%;
    top: 430px;
    
}

.navbar-container{
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 1rem 0;
    z-index: 1000;
}
.header-left{
    margin-top: 0;
    
}
.header-left h2{
    line-height: 0.6;
    margin-bottom: 1.5rem;
}
/* valeurs */
#pourquoi{
    text-align:center;
}
#pourquoi h4{
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
#pourquoi p{
    font-size: 1rem;
}
.valeurs{
    justify-content: center;
    margin: auto;
}
.carte_valeur{
    background-color:#c2c2c24f;
    margin: 0.4rem;
    cursor: default;
    text-align:left;
    padding: 1.5rem;
    border-radius: 10px;
    min-height: 220px;
    position: relative;
    transition: all .5s;
}

.carte_valeur h4{
    margin: 1rem 0 ;
    font-size: 1rem !important;
    font-weight: 600;
}
#pourquoi .carte_valeur p{
    text-align: justify;
    font-size: 0.8rem;
}
.box-icon{
    background: white;
    border-radius: 50% 0% 50% 0%;
    width:50px;
    display: flex;
    height: 40px;
    transition: all .5s;
}
.icon{
    width: 55%;
    margin: auto;
    height: 55%;
    object-fit: contain;
}
.carte_valeur:hover{
    background-color:#ffffff;
    z-index: 3;
    box-shadow: 2px 4px 10px #00000039;
    transform: scale(1.05);
}
.carte_valeur:hover .box-icon{
    background: var(--primary-color);
    box-shadow: 2px 4px 10px #00000039;
}

.deco_6{
    left: 0;
    top: 0;
    width: 20rem;
}
.deco_7{
    bottom: 0;
    right: 0;
    width: 10rem;
}
/* rejoignez nous */
h3{
    line-height: 0.8;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.7rem;
}
.paraph{
   font-size: 0.8rem;
   margin-bottom:1.5rem;
}
#button_inscr{
    border-radius: 5px;
    padding: 0.4rem 3.2rem;
    width: fit-content;
    font-size: 1.2rem;
    border: none;
    box-shadow: 3px 3px 2px rgb(0 0 0 / 19%);
    background: var(--secondary-color);
    color: black;
}
#img_student{
   object-fit:cover;
   object-position: center;
}
.r_essca{
        padding: 4rem 3rem;
    }
.texte_rejoignez{
    padding-right:3rem;
}
.texte_rejoignez h2{
    line-height: 1.5;
}
@media(min-width: 1024px){
    .r_essca{
        padding: 4rem 8rem;
    }
    .texte_rejoignez{
        padding-right:4rem;
    }
}
/* partenaires */
.partenaires{
    background: var(--gris);
}
.item{
    margin: 1.5rem;
    margin-bottom: 0px;
}
/* A savoir */
.question{
    text-align: right;
}
.question h2{
    line-height: 1.5;
}
.li{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; 
    margin: 1rem 0rem;
}
.point{
    width:10px;
    height:10px;
    background: var(--primary-color);
    margin: auto 1.0rem;
    border-radius: 100%;
    box-shadow: 2px 2px 2px rgba(0 0 0 /19%)
}
#voir_parcours{
    border: none;
    border-radius: 10px;
    background: var(--primary-color);
    font-size: 1.2rem;
    padding: 0.5rem 1.5rem;
    width: fit-content;
    margin: 1.5rem 0;
}
.deco_9{
    top: 12rem;
    left: 0;
    width: 8rem;
}


#student_img{
    position: relative;
    left: -2rem;
    z-index: 2;
}
/* staff */

.staff{
    background: rgb(118 206 213 / 19%);
    position:relative;
    padding: 3rem 0;
}
.staff h3{
    font-weight: 600 !important;
}
.staff_text{
        padding: 3rem 6rem 0 6rem;
    }
.img_student{
    border: 4px solid white;
    margin: 0px 0.5rem;
    object-fit: cover;
    object-position: center; 
}
.list_img{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    /* justify-content: space-evenly; */
    align-items: flex-start;
    position: relative;
    z-index: 2;
}
.img_left{
    border-radius: 40% 40% 0px 40%;
}
.img_right{
    border-radius: 40% 40% 40% 0px;
}
.img_center{
    border-radius: 40% 40% 0px 0px;
    width:14rem; 
    height:21rem;
}
.millieu{
    width: 12rem;
    height: 13rem;
}
.extreme{
    width:9rem; 
    height:9rem;
}
.deco_10{
    bottom: 0;
    left: 0;
    width: 14rem;
}
.deco_11{
    top: 0;
    right: 0;
    width: 6rem;
}
@media(max-width:768px){
    header{
        height: auto;
        min-height: 400px;
    }

    header .header-container{
        padding-top: 150px;
        padding-bottom: 150px;
    }

    .staff_text{
        padding: 3rem 1rem 0 1rem;
        text-align: justify;
    }
    
}
@media(max-width:992px){
    .navbar-toggler{
        color: white;
        box-shadow: none;
        border-color: white;
    }
    .navbar-collapse{
        background-color: white;
        border-radius: 10px;
        overflow: hidden;
        padding: 1rem 2em 1rem 1.5rem;
    }
    header nav.navbar .navbar-nav .nav-item a.nav-link.active{
        color: white;
    }
    header nav.navbar .navbar-nav .nav-item a.nav-link{
        color: #3f3f3f;
    }
}
@media(max-width:1024px){
    .deco_9{
        display: none;
    }
    .img_resp{
        border-radius: 40% 40% 0px 0px;
        width:8rem; 
        height:10rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}