@import url("./navbar.css"); /*Import le footer*/
@import url("./slider.css");


.globale{        
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--c-couleur2);
}


.video{
    display: flex;
    width: 80%;
    height: 700px;
}


.domaine{
    width: 100%;
    background-color: var(--c-couleur2);
    font-size: larger;
}


.titre{
    color:var(--c-bleu);
}

.contenu h3{
    justify-content: center;
    display: flex;
    font-weight: 600;
}

.gold{
    color:var(--c-gold);
}


.domaine h2, .contenu h2, .refglo h2, .former h2, .resul h2, .pres h2 {
    display: flex;
    width: 100%;
    padding:1rem;
    align-items: center;
    justify-content: center;
    color:var(--c-bleu);
    font-weight: 600;
    font-size: max(2vw,35px);
    font-family: 'Josefin', sans-serif;
}

.admiti h2{
    display: flex;
    width: 100%;
    padding:1rem;
    align-items: center;
    justify-content: center;
    color:var(--c-bleu);
    font-weight: 600;
    font-size: max(2vw,35px);
    font-family: 'Josefin', sans-serif;
}



.contenu{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    background-color: var(--c-couleur2);
    
}


.former{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    background-color: var(--c-couleur2);
    
}

.former .ligne{
    display: flex;
    width: 100%;
    padding:1rem;
    gap:2vw;
    justify-content: center;
}

.forme{
    display:flex;
    border-radius: 5px;
    width: 40%;
    max-width: 600px;
    padding: 1rem 0 1rem 2rem;
    min-height: 200px;
    font-weight: 500;
    font-family: 'Dosis', sans-serif;
    color:white;
    box-shadow: var(--s-shadow);
    background-color: var(--c-bleu);
    flex-direction: column;
}

.forme p{
    display: flex;
    width: 100%;
}


.globale h3{
    display:flex;
    width: 100%;
    font-size: 27px;
    font-family: 'Josefin', sans-serif;
    font-weight: 400;
    color:white;
}



.forme li{
    font-size: 20px;
}

.comporte{
    display:flex;
    width: 80%;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: var(--s-shadow);
    background-color: var(--c-bleu);
    color:var(--c-blanc);
    }

.comporte h3{
    width: 97%;
    display:flex;
    font-size: 50px;
    font-weight: 500;
}

.comporte ul{
    width: 100%;
    line-height: 1.5;
}


.spe{
    display: flex;
    width: 100%;
    max-width: 1700px;
    padding: 1rem;
    justify-content: center;
    gap: 20px;
    text-align: center;
    align-items: center;
}

.texte{
    font-size: 20px;
    font-weight: 500;
    font-family: 'Josefin', sans-serif;
    
    color:var(--c-blanc);
    
}


.specialite{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: 800px;
    min-height: 330px;
    align-items: center;
    padding: 1rem 1rem 2rem 1rem;
    border-radius: 5px;
    background-color: var(--c-bleu);
    box-shadow: var(--s-shadow) ;
    
}

.spe p{width: 95%;}

.spe h3{
    font-size: max(1vw,25px);
    font-weight: 600;
    width: 100%;
    padding: 1rem;
}

.refglo{
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.refglo .ref a {
    position: relative;
    width: max-content;
}

.referentiel{
    display:flex;
    width: 100%;
    padding:1rem;
    align-items: center;
    justify-content: center;
    gap:25px;
}

.ref{
    width: 50%;
    background-color: var(--c-bleu);
    border-radius: 10px;
    box-shadow: var(--s-shadow);
    justify-content: center;
    padding: 1rem;
    flex-direction: column;
    column-gap: 150px;
}

.ref h1{
    font-size: 40px;
    letter-spacing: 2px;
    font-weight: 900;
    font-family: 'Josefin Sans', sans-serif;
    color:var(--c-blanc);
} 

.admission{
    width: 50%;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--s-shadow);
    background-color: var(--c-bleu);
}

.textead{
    font-size: 20px;
    font-weight: 500;
    font-family: 'Josefin', sans-serif;
    color:var(--c-blanc);
}

.admission p{
    
    font-family: 'Josefin', sans-serif;
    
    font-size: 20px;
}


.admission h2{
    display: flex;
    letter-spacing: 1.2px;
    font-size: max(1vw, 23px);
    flex-direction: row;
    padding:1rem;
}
.admission h2 .gold{
    display: flex;
}



.resultat{
    padding:0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
    max-width: 1000px;
    min-height: 200px;
    border-radius: 10px;
    box-shadow: var(--s-shadow);
    gap:20px;
    margin-bottom: 50px;
}

.resultat .titrecase{
    width: 100%;
    height: 100%;
    padding:1rem;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;
    font-family: 'josefin', sans-serif;
    font-size: 25px;
    border:1px solid black;
    color:white;
    background-color: var(--c-bleu);
}


.resultat .texte{
width: 70%;
}

.resultat .img{
    width: 60%;
    max-width: 300px;
    border-radius: 80%;
}
.resultat .ligne{
    display: flex;
    padding: 1rem;
    gap:50px;
}

.resultat .texte .tableau{
    display: flex;
    flex-direction: column;
    gap:2px;
    align-items: center;
}
.resultat .texte .tableau div{
    display: flex;
    gap:2px;
    
}
.resultat .texte .tableau div p{
    color:black;
    padding:0.5rem;
}


.resultat .texte .tableau .tit{
    font-size: max(1vw,20px);
    font-weight: 600;
    padding:0 0 1rem 0;
    color:var(--c-bleu);
}


.resultat .texte .tableau p{
    color:var(--c-bleu);
    font-family: 'Josefin', sans-serif;
    padding:2rem;
    width: 100%;
    max-width: 300px;
    text-align: center;
}



.resultat .ligne .colonne{display: flex;
flex-direction: column;}


.resultat .ligne .colonne h3{
    display: flex;
    flex-direction: column;
    font-size: max(1vw, 25px);
    font-weight: 600;
}


#c1{background-color:white;}
#c2{background-color:rgb(233, 233, 233);}

.referentiel .cartes {
    display: flex;
    width: 100%;
    max-width: 1500px;
    justify-content: center;
    gap: 20px;
}

.referentiel .cartes .carte {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
    height: 100%;
    padding: 1rem;
    background-color: var(--c-bleu);
    box-shadow: var(--s-shadow), var(--s-shadow);
    border-radius: 5px;}

    .referentiel .cartes .carte .titre {
        display: flex;
        width: 100%;
        padding: 1rem;
        color: white;
    }

    .referentiel .titre {
        display: flex;
        width: 100%;
        padding: 1rem;
    }


    .referentiel .cartes .carte .desc .right {
        display: flex;
        width: 30%;
        min-height: 40px;
        border-radius: 5px;
        align-items: center;
        justify-content: center;
        background-color: var(--c-lightblue);
        cursor: pointer;
    }

    .referentiel .cartes .carte .desc .right .right-txt{
        display: flex;
        width: 100%;
        height: 100%;
        color:var(--c-blanc);
        justify-content: center;
        align-items: center;
        
    }

    .candid{
        margin:15px auto;
        display: flex;
        justify-content: center;
    }

    .referentiel .cartes .carte .desc {
        display: flex;
        font-family: 'Josefin', sans-serif;
        font-size: 20px;
        color:var(--c-blanc);
        
    }

    .referentiel .cartes .carte h4{
        display: flex;
        font-size: max(1vw, 23px);
        font-family: 'Josefin', sans-serif;
    }




    .admission .candid .bouton{
    display: flex;
    width: 70%;
    max-width: 250px;
    min-height: 40px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    
    background-color: var(--c-lightblue);
    cursor: pointer;
    
    }
    .admission .candid .bouton a p{
        align-items: center;
        justify-content: center;
        color:white;
        text-align: center;
    }
    .admission .candid .bouton a{
        align-items: center;
        justify-content: center;
        text-align: center;
    }
/* Media Query*/

@media(max-width:1400px) {
    .refglo .ref .ligne{
        flex-direction: column;
        gap:0;
    }

    .video{
        height: auto;
        min-height: 300px;
    }
    
}


@media(max-width:1000px){
    .former{width:100%;
    gap:2vw;}
    .forme{width: 90%;}
    .spe{flex-direction: column;}
    .former{flex-direction:column;}
    .forme{margin: 15px auto;} 
    .ref{width:90%;}
    

}

@media(max-width:800px){
    h2{flex-direction: column;}
    .domaine{margin:0;}
    .referentiel{flex-direction: column;}
    .admission{width: 90%;}
    .ref h1{font-size: 30px; color:white;}
    .ref a span{font-size: 20px;}
    .ref{width:90%;}
    .ligne{flex-direction: column;}
    .cartes .carte .titre h3{
        font-size: max(2vw, 20px);
    }
    
    .ligne{align-items: center;}
.resultat .texte .tableau div {
    font-size: 15px;
}

.resultat .ligne .colonne h3{
    font-size: max(1vw,25px);
}
    
}

@media(max-width:580px){
    .forme{margin: 15px auto;} 
    .forme ul li{font-size:15px;}
    .referentiel .cartes .carte h4{
        flex-direction: column;
    }
    .cartes .carte .desc{
        flex-direction: column;
    }
    .referentiel .cartes .carte .desc .right{
        width: 40%;
        height: 100%;
    }

    .video{
        width: 70%;
        min-height: 200px;
    }

    .resultat .ligne .colonne h3{
    font-size:max(1vw,20px);
    }
}

@media(max-width:500px){
    .admission p {
        font-size: 15px;
        line-height: 17px;
    }

    .referentiel .cartes .carte .desc {
    
        padding: 0;
        font-weight:500;
        font-size: 15px;
    }

    .referentiel .cartes .carte h4{
        font-size:20px;
    }

    .spe h3{font-size: 20px; margin: 0;}
    .forme ul h3{font-size: 20px;}
    .forme ul li{font-size: 15px;}
    .spe p{font-size: 15px; margin: 0 0 0 10px;}
    .comporte ul{font-size: 15px; margin: 0 0 0 10px;}
    .comporte h3{font-size: 20px; margin-bottom: 10px;}
    .comporte ul li{margin-bottom: 15px;}
}




@media(max-width:430px){
    .admission h3{font-size: 20px;}
    .admission h2{font-size: 20px;}
    .admission{font-size: 15px; width: 90%;}
    .spe p{font-size: 13px; width: 100%;}
    .specialite{min-height: 300px;}
    .domaine{height:60%; max-height: 800px;}
    .globale h3{flex-direction: column;font-size: max(2vw,20px);}
    .domaine h2, .contenu h2, .refglo h2, .admiti h2, .former h2 {
    font-size: max(1vw,30px);}
    .video{min-height: 100px;}
    .resultat .ligne .colonne h3{
        font-size: max(1vw,15px);
    }

}
@media(max-width:320px){
    .admission .textead h2{
        flex-direction: column;
        font-size: max(2vw,20px);
    }
   
}

@media(max-width:280px){
    .admission h3{font-size: 20px;}
    .admission h2{font-size: 17px;}
    .admission{font-size: 15px; width: 90%;}
    .spe p{font-size: 13px; width: 100%;}
    .admission .textead h2{
        flex-direction: column;
        font-size: max(2vw,20px);
    }
    .referentiel .cartes .carte h4{
        font-size: max(2vw, 17px);
    }

    .forme{
        padding:0.5rem;
    }

    .video{width: 95%;
    min-height: 150px;}
}