@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap");

*,
*::before,
*::after {
  margin: 0;
  padding: 1;
  box-sizing: border-box;
}

body {
    --color: rgba(30, 30, 30);
    --bgColor: rgba(245, 245, 245);
    min-height: 100vh;
    /*display: grid; */
    align-content: center;
    gap: 2rem;
    font-family: "Poppins", sans-serif;
    color: #FFFFFF;
    background-color: #303030;
}


.logosite{
    max-height: 96px;
}

::-webkit-scrollbar {
    display: none;
}

h1 {
  text-align: center;
}


h4{
   font-weight: normal !important;
}

/* ############### COULEUR ###############


Couleurs : Noir profond (#121212), Gris acier (#303030), Blanc neige (#FFFFFF), Rouge bordeaux (#800020), Or métallique (#D4AF37)

*/



/* ############### DISPLAY ############### */
/* Margin top */
.margintop8 {
    margin-top: 5%;
}

.margintop1{
    margin-top: 1%;
}

/* Marge sur les côtés */
.marge {
    display: flex;
    width: 20%;
}


/* Zone de contenu */
.pagecontent {
    display: flex;
    flex-direction: column;
    padding: 3px;
    width: 70%;
    border-radius: 5px;
}

.pagecontentsplitleft {
    display: flex;
    flex-direction: column;
    width: 34.5%;
    border-radius: 5px;
    margin-right: 0.5%;
}

.pagecontentsplitright {
    display: flex;
    flex-direction: column;
    width: 34.5%;
    border-radius: 5px;
    margin-left: 0.5%;
}

.projectbackground {
    background-color: #121212;
}

.pagecontentdetails{
    display: flex;
}

/* Zone de contenu MARGE */
.margecontent {
    display: block;
    margin: 0 auto;
    flex-direction: column;
    padding: 3px;
    width: 30%;
    background-color: #FFC000;
    border-radius: 25px;
    text-align: center;
    padding-top: 25px;
}


/* ############### NAV BAR ############### */


/* Nav bar */
.container{
    display: flex;

}

.topbar {
    position: fixed;
    top: 0%;
    right: 0%;
    left: 0%;
    z-index: 1000;
    background-color: #121212;
    color: #fff;
    text-align: center;
}

.topbardata{
    display: inline-flex;
    align-items: center;
}

.topbartext{
    margin-left: 25px;
    text-align: left;
}

.toptext {
    display: grid;
    width: -webkit-fill-available;
    align-items: start;
    line-height: 50px;
    font-size: xx-large;
    margin-left: 25px;
}

.navbar{
    width: -webkit-fill-available;
    display: grid;
    align-items: center;
    font-size: x-large;

}

.nav-link {
    color: #fff;
    text-decoration: none !important;
    line-height: 30px;
}

.navbar-nav {
    display: flex; 
    flex-direction: row;
    justify-content: space-around;

}

.nav-item {
    margin: 0 15px 0 15px;
    list-style-type: none;
}

.nav-link.active {
    color: #D4AF37;
    background-color: #5a5050; /* Couleur de fond pour l'onglet actif */
    border-radius: 5px;
    padding : 4px;
}


/* ############### INDEX ############### */

/* Project banner */
.bannerpicture {
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
    height: auto;
    max-width: 99%;
    border-radius: 10px;
    box-shadow: 5px 5px 0px #121212;
}
/* Video banner */
.banneryoutube {
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
    height: 500px;
    border-radius: 10px;
    box-shadow: 5px 5px 0px #121212;
}

/*
.bannerpadding{
    padding-left: 5px;
    padding-right: 5px;
}
*/
.bannercontainer {
    margin: 10px;
    transition: transform 0.3s ease; /* Ajoute une transition fluide */
}

.bannercontainer a {
    text-decoration: none;
}

.bannerhover:hover {
    transform: scale(1.01); /* Zoom légèrement au survol */ 
    filter: brightness(115%); /* Augmente la luminosité de 15% */
}

.bannername {
    font-size: xx-large;
    line-height: 50px;
    text-align: center;
    color: #fff;
}

.bannertype {
    font-size: large;
    text-decoration: none;
    font-style: italic;
}

.bannerrole {
    font-size: x-large;
    text-decoration: none;
}

.projectpicture {
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
    height: auto;
    max-width: 95%;
    border-radius: 10px;
    box-shadow: 0px 5px 0px #121212;
}

.smallprojectpicture{
    max-width: 65% !important;
}

/* ############### SLIDER ############### */

.slider {
    position: relative;


    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    background-color: #222222; /* Couleur de fond gris clair */
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    position: relative;
    box-sizing: border-box; /* Prise en compte de padding/bordure dans la largeur */
    height: 600px;
    flex: 0 0 100%; /* Prend toute la largeur de la slider */
}

    .slide img {
        width: 100%; /* Assure que l'image prend toute la largeur de son conteneur */
        border-radius: 10px;
        object-fit: contain; /* Couvrir l'espace tout en maintenant le ratio d'aspect */
        height: 100%;
        display: block;
        cursor: zoom-in;
    }

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

    .prev:hover, .next:hover {
        background-color: rgba(0, 0, 0, 0.9);
    }

.sliderbanner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px 15px 10px 15px;
    border-radius: 5px;
    font-size: 18px;
    width: auto;
}





/* Lightbox Styles */
#lightbox {
    display: none; /* Cacher au départ */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fond semi-transparent */
    justify-content: center;
    align-items: center;
    z-index: 1001; /* Au-dessus de tout le reste */
}

    #lightbox img {
        max-width: 90%;
        max-height: 95%;
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
        object-fit: contain;
        display: block;
        cursor: zoom-out;
    }

.clickable-image{
    cursor: zoom-in;
}


/* ############### LIEN EXTRA ############### */

.lienextra {
    color: white;
    margin-right: 6px;
}

.external-link-icon{
    height : 32px;

}

.link-div {
    display: flex;
    justify-content: space-evenly;
}

.link-container {
    display: flex;
    justify-content: space-evenly;
    background-color: #D4AF37;
    border-radius: 5px;
    padding: 3px;
    margin: 5px;
    width: fit-content;
    align-items: center;
    text-decoration: none;
}

.link-container:hover {
    transform: scale(1.05);
    filter: brightness(75%);
}

.rolecontainer {
    display: flex;
    justify-content: space-evenly;
}

.roleextra {
    background-color: #7b6317;
    border-radius: 50px;
    padding: 7px;
    color: white;
    margin: 6px;
    width: fit-content;
    text-decoration: none;
    text-align: center;
    cursor: default; 
}





/* ############### ABOUT ############### */


.cv-about{
    width: 100%;
    border-radius : 8px;


}




/* ############### HAMBURGER MENU ############### */
/* Bouton hamburger */
.navbar-toggler {
    display: none; /* Caché par défaut */
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    padding: 10px;
    cursor: pointer;
}

/* Menu caché par défaut en version mobile */
@media (max-width: 1200px) {
    .navbar-toggler {
        display: block; /* Afficher le bouton hamburger en mobile */
    }

    .navbar {
        display: none; /* Masquer le menu par défaut */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 18, 0.9);
        padding: 10px;
        text-align: center;
    }

    .navbar.show {
        display: flex; /* Afficher le menu quand il est ouvert */
    }

    .navbar-nav {
        padding: 0px;
        flex-direction: column;
    }

    .nav-item {
        margin: 10px 0;
    }
}




/* Pour les petits ecrans PC*/
@media screen and (max-width: 1580px) {

    .navbar {
        font-size: large;
    }
}



/* Pour les téléphones */
@media screen and (max-width: 768px) {
    .margintop8 {
        margin-top: 28% !important;
    }

    .aboutmobile{
        flex-direction: column !important;
        align-items: center !important;
    }

    .marge {
        width: 2% !important;
    }

    .pagecontent {
        width: 100%;
    }

    .pagecontentdetails {
        display: block;
    }

    .pagecontentsplitleft{
        width: 99%
    }

    .pagecontentsplitright {
        width: 99%
    }

    .logosite {
        max-height: 42px;
    }

    .margecontent {
        display: none;
    }

    .navbar {
        line-height: 35px !important;
    }

    .toptext {
        font-size: small;
    }
    .navbar {
        display: none;
    }

    .rolecontainer {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-height: 680px) {
    
    .banneryoutube {
        height: 350px;
    }
    
}
@media screen and (min-height: 681px) {
    
    .banneryoutube {
        height: 500px;
    }
    
}

/* Pour les tablettes */
@media screen and (max-width: 1200px) and (min-width: 769px) {
    .margintop8 {
        margin-top: 8% !important;
    }

    .pagecontentsplitleft, .pagecontentsplitright{
        width: 34,5% !important;
        align-items: center !important;
    }

    .marge {
        width: 5% !important;
    }

    .navbar {
        display: none;
    }
    
    .pagecontent {
        width: 90%;
    }

    .pagecontentdetails {
        flex-direction: column !important;
        align-items: center !important;
    }

    .pagecontentsplitleft{
        width: 90%;
        margin-right: 0%;
    }

    .pagecontentsplitright {
        width: 90%;
        margin-left: 0%;
        margin-top: 1%;
    }

}


