*,
::after,
::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Rockwell Nova';
    src: url('../~fonts/RockwellNova.woff2') format('woff2'),
        url('../~fonts/RockwellNova.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    background-color: rgb(21, 21, 21);
/*    overflow: hidden;*/
}

.accueil {
    background-color: rgb(21, 21, 21);
}

header .logo {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 30vh;
    margin: auto;
    top: 20px;
}

.menuicon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 35px;
}


.menu {

    background-color: rgb(21, 21, 21);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    /*    background-color: rgba(0, 0, 0, 0.5)*/
}

/*        Navigation qui prend toute la page pour pouvoir positionner la boîte "boutons"*/
nav {
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}


/*        Boite contenant les icones*/
.boutons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 530px;
    min-width: 530px;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
    padding-top: 60px;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 530px;
    height: 160px;
    min-width: 500px;
}

.icon {

    width: 120px;

}

.vide1,
.vide2 {

    display: block;
    width: 120px;
    height: 120px;

    border-radius: 50%;
}

.vide1 {
    background-color: #e65983;
}

.vide2 {
    background-color: #fea166;
}



.retour {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 35px;

}

h2 {
    margin: 0;
    margin-top : 5px;
    font-size: 1rem;
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
    font-weight: 200;
}

a {
    text-decoration: none;
}


.contenu {
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
   
}

.presentation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

h1 {

    font-family: 'Rockwell Nova', helvetica, arial, sans-serif;
    color: white;
    font-weight: normal;
    font-size: 3.5rem;
    margin-bottom: 50px;
    text-align: center;
}

.description {
    width: 450px;
    text-align: center;
    color: white;
    font-family: helvetica, arial, sans-serif;
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 50px;
}

.titres{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; 
    width: 70%;
     
}

.option{
    font-family: 'Rockwell Nova', helvetica, arial, sans-serif;
    color: white;
    font-weight: normal;
    margin: auto;
    font-size: 2.7rem;
    width: 550px;
    height: 50px;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.option:hover {
    
    color: #fe6f61;
    font-size: 3rem;
}

.t1{
    
    color: #fd8f9c;
}

.t2{
    
    color: #dc793e;
}

.edt{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    width: 100%;
}

.texte{
    
    display: -webkit-box;
    
    display: -ms-flexbox;
    
    display: flex; 
    -webkit-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center; 
    -webkit-box-align: center; 
    -ms-flex-align: center; 
    align-items: center;
    height: 500px;

}

.p-edt{
 
    width: 450px;
    text-align: left;
    color: white;
    font-family: helvetica, arial, sans-serif;
    font-size: 1.2rem;
    line-height: 2;

}

.planning{
   
    width: 820px;
    height: 470px;
}




.title {
    
    font-family: 'Rockwell Nova', helvetica, arial, sans-serif;
    color: white;
    font-weight: normal;
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 50px;
    text-align: center;
}


.boite1{
    
    display: -webkit-box;
    
    display: -ms-flexbox;
    
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}


.projet{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 15px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: white; 
    border-radius: 15px;
    width: 650px;
    height: 220px;
}

.nom {
    
    font-family: 'Rockwell Nova', arial, sans-serif;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 10px;
    color: #dc793e;
}

.matiere{
    
    font-family: 'Rockwell Nova', arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 200;
    margin-top: 0; 
    text-align: center;
    color: #dc793e;
}

.consignes{
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    width: 550px;
    text-align: left; 
    margin-top: 0;
}

.duree {
    font-family: 'Rockwell Nova', arial, sans-serif;
    padding-bottom: 25px;
    color: #dc793e;
}

.p-prj{
    
    display: -webkit-box;
    
    display: -ms-flexbox;
    
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center; 
    -webkit-box-pack: center; 
    -ms-flex-pack: center; 
    justify-content: center;
    width: 450px;
    text-align: left;
    color: white;
    font-family: helvetica, arial, sans-serif;
    font-size: 1.2rem;
    line-height: 2;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1d1d1d;
}

::-webkit-scrollbar-thumb {
    background: rgb(255, 255, 255);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d1d1d1;
    border-radius: 10px;
}


@media (max-width:900px){
    
    .title{
        
        font-size: 2.5rem;
        padding-top: 80px;
        margin-bottom: 0;
    }
    
    .edt{
        
        -webkit-box-orient: vertical;
        
        -webkit-box-direction: reverse;
        
        -ms-flex-direction: column-reverse;
        
        flex-direction: column-reverse;
        
    }
    
    .p-edt{
        
        text-align: center;
    }
    
    .planning{
        
        width: 90%;
        height: auto;
        margin: auto;
    }
    
    .boite1{
        
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    
    .p-prj{
        
        text-align: center;
        margin: auto;
        padding-top: 50px;
        margin-bottom: 50px;
        width: 90%
    }
    
    .projet{
        margin: auto;
        margin-bottom: 20px;
        margin-top: 20px;
    }
}