/* ----------- */
/* page Projet */
/* ----------- */

.projetContent {
    color: rgb(73, 7, 7);
    padding: 1.5% 2%;
    position: relative;
    margin: 10% auto;
    width: 70%;
    text-align: center;
    border-radius: 2%;
}

/* -----------------------------------------------------fleche navigation slide --------------------------------------------------- */

.boutonNavigation {
    font-size: 3em;
    margin: 0%;
    cursor: pointer;
    color: #f71a1a;
}

.navigationLeft {
    position: absolute;
    top: 40%;
    left: 3%;
}

.navigationRight {
    position: absolute;
    top: 40%;
    right: 3%;
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --------------------------------------------------boutons video/image-------------------------------------------------------- */

.boutonMedia {
    background-color: #3c9194;
    color: rgb(252, 255, 253);
    outline: none;
    cursor: pointer;
    padding: 9% 0%;
    margin: auto;
    width: 35%;
    border: 1px solid rgba(255, 255, 255, 0.939);
    text-decoration: none;
    font-size: 3em;
}

.btnVideo {
    background: linear-gradient(rgba(0, 0, 0, 0.506), rgba(0, 0, 0, 0.518)), url('../images/boutonVideo.png') center / cover;
    background-size: cover;
    background-position: center;
    background-attachment: local;
}

.btnVideo:hover {
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.763), rgba(0, 0, 0, 0.702)), url('../images/boutonVideo.png') center / cover;
}

.btnImage {
    background: linear-gradient(rgba(0, 0, 0, 0.506), rgba(0, 0, 0, 0.518)), url('../images/boutonImage.png') center / cover;
    background-size: cover;
    background-position: center;
    background-attachment: local;
}

.btnImage:hover {
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.763), rgba(0, 0, 0, 0.702)), url('../images/boutonImage.png') center / cover;
}

/* --------------------------------------------------bouton fermer video/image----------------------------------------------------------- */

.fermerVideo {
    float: right;
    font-size: 3em;
    background-color: whitesmoke;
    border-radius: 50%;
    height: 49px;
    width: 50px;
}

.fermerImage {
    float: right;
    margin: 0;
    font-size: 4em;
    background-color: whitesmoke;
    border-radius: 50%;
    height: 64px;
    width: 64px;
}

/* -------------------------------------------------boutons de navigations entre les differents projets----------------------------- */
.positionProjet {
    background-color: rgba(85, 85, 85, 0.656);
    border: 1px solid rgba(255, 255, 255, 0.69);
    padding: 50px 70px;
    margin: auto;
    width: 800px;
    margin-top: 65px;
    text-align: center;
    display: grid;
    font-size: 24px;
}

.btnProjet {
    border: 1px solid rgba(255, 255, 255, 0.69);
    margin: 2%;
    padding: 10% 6%;
    text-decoration: none;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.506), rgba(0, 0, 0, 0.518)), url('../images/boutonImage.png') center / cover;
    background-attachment: local;
}

.btnProjet:link {
    color: white;
}

.btnProjet:visited {
    color: white;
}

.btnProjet:hover {
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.763), rgba(0, 0, 0, 0.702)), url('../images/boutonImage.png') center / cover;
}

.boutonActif{
    margin: 0;
    width: 300px;
    padding: 1%;
    background: #555555;
}

.afficheBoutonActif{
    display: flex;
    padding: 0;
    width: fit-content;
    background-color: rgba(119, 119, 119, 0);
    border: none;
}

.boutonActif:hover{
    background: #777;
    color: rgb(163, 247, 255);
}

/* ------------------------------------------------------modif page courante------------------------------------------------------- */

.onPage {
    background-color: #099093;
}

.onPage:hover {
    background-color: #099093;
    color: white;
    cursor: default;
}

/* --------------------------------------------------afficher ou pas les differnts projets----------------------------------------- */

.projetContent .divProjet {
    max-width: 100%;
    display: none;
}

.divProjet.active {
    display: grid;
    animation: fade 0.8s;
}

/* ----------------------------------------------gestoin fenetre modale photos et videos-------------------------------------------- */

#fenetreModalPhotos1 {
    display: none;
    position: fixed;
    z-index: 5;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#fenetreModalPhotos1:target {
    display: block;
}

#fenetreModalVideos1 {
    display: none;
    position: fixed;
    z-index: 5;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#fenetreModalVideos1:target {
    display: block;
}

/* ------------------------------------------------------titre---------------------------------------------------------------------- */

.titreProjet {
    color: #05074b;
}

/* -----------------------------------------------------description----------------------------------------------------------------- */

.descriptionProjet {
    font-size: 1.5em;
    color: #05324b;
}

/* ----------------------------------------------position photos modal-------------------------------------------------------------- */

.imgProjet10 {
    max-width: 750px;
    max-height: 600px;
    top: 15.5%;
    right: 21.5%;
    position: absolute;
    border: 20px solid rgb(255, 255, 255);
    padding: 1%;
    background-color: rgb(0, 0, 0);
    border-radius: 10px;
    box-shadow: 0px 0px 20px #000;
}

.imgProjet20 {
    max-width: 450px;
    top: 14.5%;
    right: 32.7%;
    position: absolute;
    border: 20px solid rgb(255, 255, 255);
    padding: 1%;
    background-color: rgb(0, 0, 0);
    border-radius: 10px;
    box-shadow: 0px 0px 20px #000;
}

.imgProjet21 {
    max-width: 450px;
    top: 55.5%;
    right: 32.7%;
    position: absolute;
    border: 20px solid rgb(255, 255, 255);
    padding: 1%;
    background-color: rgb(0, 0, 0);
    border-radius: 10px;
    box-shadow: 0px 0px 20px #000;
}

.imgProjet22 {
    max-width: 325px;
    top: 23.5%;
    left: 5%;
    position: absolute;
    border: 20px solid rgb(255, 255, 255);
    padding: 1%;
    background-color: rgb(0, 0, 0);
    border-radius: 10px;
    box-shadow: 0px 0px 20px #000;
}

.imgProjet23 {
    max-width: 325px;
    top: 23.5%;
    right: 5%;
    position: absolute;
    border: 20px solid rgb(255, 255, 255);
    padding: 1%;
    background-color: rgb(0, 0, 0);
    border-radius: 10px;
    box-shadow: 0px 0px 20px #000;
}

.videoProjet20 {
    margin-top: 5%;
    border: 20px solid rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 0px 0px 20px #000;
    padding: 1%;
    background-color: rgb(0, 0, 0);
    max-width: 350px;
}

/* ----------------------------------------------------partie Admin----------------------------------------------------------------- */

/* --------------------- */
/*  bouton modif contenu */
/* --------------------- */

.lienModif{
    color: white;
    text-decoration: none;
}

/* -----------------------------------------------reductions d'ecrans -------------------------------------------------------------- */

@media (max-width: 1280px) { 
    .positionProjet {
        margin-top: 58px;
    }
    .boutonActif{
        font-size: 16px;
        width: 150px;
    }
    .boutonMedia{
        font-size: 2em;
    }
    .titreProjet{
        font-size: 1.5em;
    }
    .descriptionProjet{
        font-size: 1.2em;
    }
}
@media (max-width: 1024px) {
    .positionProjet {
        margin-top: 53px;
        width: 600px;
    }
    .afficheBoutonActif{
        width: fit-content;
    }
    .boutonActif{
        font-size: 12px;
        width: 100px;
    }
}

@media (max-width: 800px) {
    .positionProjet {
        margin-top: 100px;
        width: 500px;
        border-radius: 3%;
    }
    .btnProjet{
        border-radius: 2%;
    }
    .afficheBoutonActif{
        width: fit-content;
        margin-top: 60px;
    }
    .boutonActif{
        width: 80px;
        border-radius: 50%;
        padding: 5% 5%;
    }
    .boutonMedia{
        font-size: 1.4em;
    }
    .boutonNavigation{
        font-size: 2em;
    }
    .titreProjet{
        font-size: 1.2em;
    }
    .descriptionProjet{
        font-size: 1em;
    }
    .projetContent{
        width: 70%;
        margin: 25% auto;
    }
}
@media (max-width: 600px) {
    .positionProjet {
        margin-top: 215px;
        width: 260px;
        padding: 50px 40px;
        border-radius: 5%;
    }
    .btnProjet{
        border-radius: 5%;
    }
    .boutonActif{
        width: 80px;
        border-radius: 50%;
        padding: 5% 5%;
        font-size: 8px;
    }
    .afficheBoutonActif{
        margin-top: 10px;
    }
    .titreProjet{
        font-size: 1em;
    }
    .descriptionProjet{
        font-size: 0.8em;
    }
}
