/* début partie gauche de la page */
.containerProject {
    display: grid;
    grid-template-columns: 14% 4% 77% 5%;
    grid-template-rows: 10% 90%;
    grid-template-areas : 
    "pageProjet . . ."
    "caseProject . resume .";
}

/*début titre : mes projets */
.pageProjet {
    grid-area: pageProjet;
    text-align: center;
}

.pageProjet h3 {
    text-transform: uppercase;
    margin-bottom: 0;
    margin-top: 6vh;
    font-size: 1.4em;
    font-weight:lighter
}

/* la design des boutons freont-end et back-end */
/* .frontBack a {
    font-size: .8em;
    font-weight: normal;
    display: inline-block;
    width: 40%;
} */

/* faire la css du span pour indiquer en petit si c'est front ou back */
.btnProjectSpan {
    font-size: .8em;
    text-transform:  capitalize;
    font-weight: bold;
    width: 20%;
    color: var(--arrowThree);
}

.lienListe:hover .btnProjectSpan, .btnProjectSpan.active {
    color: var(--bleuSombre);
}

.pageProjet a:hover {
    color: var(--arrowThree);
}
/* fin titre : mes projets */

/* ===================
DEBUT ANIMATION des BOUTONS PROJETS
======================= */
/* .listeProjet li {
    position: relative;
}
*/

/* .lienListe {
    position: absolute;
} */

/*
.lienListe {
    position: absolute;
} */

/* .btnProjectSpan {
    position: absolute;
    top: -2rem;
    right: 0rem;
} */

/* .listeProjet li:hover {
    transform: scale(1.2);
} */

/* ===================
FIN ANIMATION des BOUTONS PROJETS
======================= */



/* la section qui contient les différents boutons des projets */
.caseProject {
    grid-area: caseProject;
    align-items: center;
    width: 14vw;
    margin-top: 4.5vh;
}

.englobe {
    height: 100%;
    width: 100%;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.listeProjet {
    gap: 1.5vh;
    display: flex;
    flex-direction: column;
    hyphens: none;
    overflow-y: scroll;
    height: 100%;
}

.btn {
    width: 100%;
    border: 1px solid var(--or);
    border-left: none;
    height: auto;
    padding: 1vh 1.5vh 1vh 1vh;
    border-radius: 0 .4em .4em 0 ;
}

.btn:hover, .boutonsite:hover, .btn.active {
    background-color: var(--arrowThree);
    font-weight: bolder;
}

.project {
    width : 100%;
}

/* les p de la div bouton de chaque titre de projet de la liste */
/* je voudrais que lorsque l'on réduit la fenêtre, chaque bouton puisse s'aggrandir pour contenir le texte */
.project p {
    color: var(--fontColor);
    font-style:italic;
    text-transform: uppercase;
    text-align: center;
    padding-right: .5vw;
    font-size: 1em;
    font-family: var(--font);
    margin: 0;
    padding:0;
}

/* fin partie gauche de la page */



/* début partie droite de la page */
.resume {
    grid-area: resume;
    width: 100%;
    height: 100%;
}


.articleDroite {
    height:100%;
    width: 100%;
    display: grid;
    grid-template-columns: 50% 1% 45% 4%;
    grid-template-rows: 8% 70% 5% 5%;
    grid-gap: 5px;
    grid-template-areas: 
    "titreArticle . . ."
    "listeResume . synopsis ."
    "listeResume . . ."
    "listeResume . liens .";
}

.titreArticle {
    grid-area: titreArticle;
    margin: 0;
}

.synopsis {
    grid-area: synopsis;
    font-size: .8em;
    margin: 0;
    height: 59vh;
    font-family: var(--font);
}


.listeResume {
    grid-area: listeResume;
    display: flex;
    flex-direction: column;
    justify-items: center;
    height: 65.9vh;
    background-color: #8482777e;
    border-radius: .2em;
}

.listeResume:hover {
    cursor: move !important;

}

.imgSynopsis {
    display:flex;
    justify-content: center;
    width:100%;
}

.imgArticle {
    width: 96%;
    margin: 1vh 0;
}

.liens {
    grid-area: liens;
    width:100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.liens a {
    font-size: .7em;
    font-style: italic;
}

.boutonsite {
    grid-area: boutonsite;
    border: 2px solid var(--or);
    font-family: var(--font);
    color: var(--fontColor);
    border-radius: .3em;
    height: 4vh;
    width: 10vw;
    cursor: pointer; 
}

/* début code effacer scrollbar */
.out {
    position: relative;
    overflow: hidden;
}

.in, .synopsis, .listeResume {
    position: absolute;
    left: 2;
    overflow-x: hidden;
    overflow-y: scroll;
}

.in::-webkit-scrollbar, .synopsis::-webkit-scrollbar, .listeResume::-webkit-scrollbar {
    display:none;
}

.in, .synopsis, .listeResume {
    -ms-overflow-style: none;
    overflow: moz-scrollbars-none;
}
/* fin code effacer scrollbar */

/* fin partie droite de la page */



/* début tablette */
@media screen and (max-width: 1200px) { 
}


/* début mobile */
@media screen and (max-width: 765px) {
    .containerProject {
        grid-template-columns: 2% 96% 2%;
        grid-template-rows: 10% 20% 70%;
        grid-template-areas:
            ". pageProjet ."
            ". caseProject ."
            ". resume .";
    }

    .pageProjet h3 {
        margin-top: 2vh;
        font-size: 1.8em;
    }

    .listeProjet {
        flex-direction: row;
        overflow-x: scroll;
        overflow-y: visible;
    }
    .caseProject {
        margin-top: .5vh;
    }

    .caseProject, .englobe {
        width: 100%;
        height: 100%;
    }

    .lienListe {
        width: 55vw;
        display: inline-block;
    }
    
    .btn {
        border: 1px solid var(--or);
        border-radius: .4em;
    }

    .project p {
        font-size: 1.5em;
    }

    .titreArticle {
        font-size: 1.6rem;
        text-align: center;
    }

    .articleDroite {
        grid-template-columns: 100%;
        grid-template-rows: 15% 2% 5% 40% 40%;
        grid-gap: 5px;
        grid-template-areas:
            "titreArticle"
            "."
            "liens"
            "listeResume"
            "synopsis";
    }
    
    .listeResume {
        flex-direction: column;
        justify-items: center;
        position: absolute;
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        overflow-y: scroll;
        margin-top: 2rem;
    }

    .synopsis {
        margin-top: 3rem;
        height: 100%;
        width: 90vh;
        overflow-x: visible;
        overflow-y: scroll;
    }
    
    
    .boutonsite {
        margin-top: 2rem;
        height: 5vh;
        width: 35vw;
        z-index: 99;
    }

}