@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');


@font-face {
  font-family: CodeBold; /* set name */
  src: url(../polices/CODEBold.otf) ;
}

@font-face {
  font-family: CodeLight; /* set name */
  src: url(../polices/CODELight.otf) ;
}

/*------Général------*/
body{
    margin: 0 auto;
    background-color: #111214;
    min-height: 100vh;
    display: flex;
    flex-direction: column;    
}

li{
    list-style: none;

}

a{
    text-decoration: none;
    color: white;
    font-family: "Arimo";
}

p{
    color: white;
    font-family: "Arimo";
}

h1{
    color: white;
    font-family: "Arimo";
}

h2{
    color: white;
    font-family: "Arimo";
}

h3{
    color: white;
    font-family: "Arimo";
}
.center-page{
    width: 70%;
    justify-self: center;
    margin-top: 50px;
    margin-bottom: 100px;
}

.columns{
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

/*------Header------*/

.header{
    background-color: #111214;
    margin: 0;
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    min-height: 105px;
}

.navigation{
    justify-self: flex-start;
    align-self: center;
}
.nav-list{
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-link{
    color: black;
    padding: 40px;
    text-align: center;
    text-justify: center;
    font-family: "CodeBold";
    font-size: 24px;
    background-color: white;

}

.nav-link:hover{
    color: white;
    background-color: black;
    transition: 400ms;
}

.nom-titre{
    font-family: "CodeBold";
    margin-bottom: 10px;
}

.nom-sous-titre{
    font-family: "CodeLight";
    margin: 0;
}

.container-nom{
    margin-right: 20px;
}

/*------Main------*/

main{
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/*Accueil*/
.titre-accueil{
    font-family: "CodeBold";
    font-size: 70px;
    text-align: center;
    margin-top: 100px;
    width: 50vw;
    margin-bottom: 0;
}

.texte-accueil{
    text-align:justify ;
    font-size: 20px;
    width: 50vw;
}

/*Réalisations*/
.image-realisation{
    height: 200px;
    width: auto;
}

.menu-realisations{
    grid-column-start: 2;
    grid-column-end: 4;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-top:15vh;
    position: relative;
}

.menu-realisations::after{
    content: "";
    height: 250%;
    width: 2px;
    position: absolute;
    background-color: aliceblue;
    left: 100%;
    top: -20px;
}

.btn-menu-realisations{
    background-color: rgba(255, 255, 255, 0);
    color: white;
    border-width: 0;
    font-family: "CodeBold";    
    font-size: 32px;
    margin-bottom: 10px;
    align-self: end;
    position: relative;
}

.btn-menu-realisations:hover{
    cursor:pointer;
}

.btn-menu-realisations::after{
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: transform 0.25s ease-out;
        transform-origin: bottom right;
}

.btn-menu-realisations:hover::after{
    transform: scaleX(1);
    transform-origin: bottom right;
}

.grid-realisations{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
    grid-column-start: 4;
    grid-column-end: 12;
    margin-top:15vh;
    height: 80%;
}

.card-realisations{
    width: 100%;
    height: 100%;
    position: relative;
}

/*.card-realisations::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/realisation.webp);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}*/


.card-realisations:hover::before{
    opacity: 40%;
}



.card-realisations:hover{
    cursor: pointer;
    transition: 400ms all;
}

.lien-realisation{
    width: 100%;
    height: 100%;
    
}


/*Contact*/
.container-contact{
    width: 100%;
    padding-top: 5vh;
}

.titre-contact{
    margin-left: 15vw;
    font-family: "CodeBold";
    font-size: 70px;
    text-align: left;
    margin-bottom: 0;
}

.texte-contact{
    margin-left: 15vw;
    text-align: left;
    font-size: 22px;
    max-width: 50vw;
}

.info-contact{
    margin-left: 15vw;
    text-align: left;
    font-size: 26px;
    max-width: 50vw;    
    font-weight: 600;
}

.formulaire-contact{
    margin-left: 15vw;
}

/*Projets*/
#webjam2025:hover::after{
    content: "Webjam";
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-family: "Arimo";
    color: rgb(255, 255, 255);
    display: block;
    opacity: 100%;
    font-size: 20px;
}

#webjam2025::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/vignettes/webjam.webp);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}

#webjam2025:hover::before{
    opacity: 40%;
}

#musee:hover::after{
    content: "Musée de la photographie";
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-family: "Arimo";
    color: rgb(255, 255, 255);
    display: block;
    opacity: 100%;
    font-size: 20px;
}

#musee::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/vignettes/musee.webp);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}

#musee:hover::before{
    opacity: 40%;
}

#metro:hover::after{
    content: "Metro Exodus";
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-family: "Arimo";
    color: rgb(255, 255, 255);
    display: block;
    opacity: 100%;
    font-size: 20px;
}

#metro::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/vignettes/metro.webp);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}

#heart:hover::before{
    opacity: 40%;
}

#heart:hover::after{
    content: "Heart of a dancer";
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-family: "Arimo";
    color: rgb(255, 255, 255);
    display: block;
    opacity: 100%;
    font-size: 20px;
}

#heart::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/vignettes/heart.png);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}

#metro:hover::before{
    opacity: 40%;
}

#gontrez:hover::after{
    content: "Gontrez l'insomniaque";
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-family: "Arimo";
    color: rgb(255, 255, 255);
    display: block;
    opacity: 100%;
    font-size: 20px;
}

#gontrez::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/vignettes/gontrez.webp);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}

#gontrez:hover::before{
    opacity: 40%;
}

#fahrenheit:hover::after{
    content: "Fahrenheit 451";
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-family: "Arimo";
    color: rgb(255, 255, 255);
    display: block;
    opacity: 100%;
    font-size: 20px;
}

#fahrenheit::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/vignettes/Cover_Fahrenheit451FinalAvion.webp);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}

#fahrenheit:hover::before{
    opacity: 40%;
}

#aw:hover::after{
    content: "Borne A&W";
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-family: "Arimo";
    color: rgb(255, 255, 255);
    display: block;
    opacity: 100%;
    font-size: 20px;
}

#aw::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/vignettes/borne_aw.webp);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}

#aw:hover::before{
    opacity: 40%;
}

#music:hover::after{
    content: "Site commercial";
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-family: "Arimo";
    color: rgb(255, 255, 255);
    display: block;
    opacity: 100%;
    font-size: 20px;
}

#music::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/vignettes/music.webp);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}

#music:hover::before{
    opacity: 40%;
}

#netbreaker:hover::after{
    content: "Netbreaker";
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-family: "Arimo";
    color: rgb(255, 255, 255);
    display: block;
    opacity: 100%;
    font-size: 20px;
}

#netbreaker::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/vignettes/cap_attaque.webp);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}

#netbreaker:hover::before{
    opacity: 40%;
}

#borne:hover::after{
    content: "Borne interactive";
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-family: "Arimo";
    color: rgb(255, 255, 255);
    display: block;
    opacity: 100%;
    font-size: 20px;
}

#borne::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/vignettes/borne.webp);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}

#borne:hover::before{
    opacity: 40%;
}

#collapsed:hover::after{
    content: "Collapsed";
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-family: "Arimo";
    color: rgb(255, 255, 255);
    display: block;
    opacity: 100%;
    font-size: 20px;
}

#collapsed::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/vignettes/logo_collapsed.webp);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}

#collapsed:hover::before{
    opacity: 40%;
}

#collapsed3d:hover::after{
    content: "Modèles 3D Collapsed";
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-family: "Arimo";
    color: rgb(255, 255, 255);
    display: block;
    opacity: 100%;
    font-size: 20px;
}

#collapsed3d::before{
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/vignettes/tall_man.png);
    background-size:cover;
    background-repeat: none;
    background-position: center;
    opacity: 100%;
    position: absolute;
    transition: 400ms all;
}

#collapsed3d:hover::before{
    opacity: 40%;
}



/*-------Réalisation individuelle------*/




/*------Popup Réalisation------*/

.popup{
    background-color: rgb(66, 66, 66);
    position:fixed ;
    height: 70vh;
    width: 70vw;
    z-index: 999;
    top:15vh;
    left:15vw;
    padding: 15px;
    overflow: auto;
    display: none;
    border-radius: 10px;
}
.btn-fermer{
    position: absolute;
    left: 95%;
    width:50px ;
    height:50px ;
    background: none;
    color: rgb(255, 255, 255);
    font-size: 30px;

}

.realisation{
    width: 70%;
    padding-top: 7vh;
    display: flex;
    flex-direction: column;
}

.titre-realisation{
    font-family: "CodeBold";
    font-size: 64px;
    text-align: left;
    margin-bottom: 0;
    margin-top: 0;
    width: 50vw;
}

.description-realisation{
    font-size: 22px;
    margin-bottom: 20px;
}

.annee-realisation{
    font-size: 22px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.role-realisation{
    font-size: 22px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.image-realisation{
   height: auto;
   max-width: 100%; 
   max-height: 30vh;
}

.lien-projet{
    font-size: 22px;
    text-decoration:underline;
    margin-top: 5px;
    margin-bottom: 40px;
    
}

.video-projet{
    margin-bottom: 50px;
}

.btn-menu-realisation{

}

.carrousel-container{
    position: relative;
}

.btn-carrousel{
    color: white;
    background-color: rgba(0, 0, 0, 0.473);
    position: absolute;
    margin: 0;
    height: 10%;
    border-style: none;
}

.prev{
    left: 0;
    top: 50%;
}

.next{
    right: 0;
    top: 50%;
}

.numero-image{
    position: absolute;
    top: 0;
    left: 0;
    background-color: #0d0d0ec4;
    color: white;
    padding: 2px;
    border-radius: 2px;
    margin-top: 2px;
    margin-left: 2px;
    font-family: "Arimo";
}

.text{
    color: white;
    font-family: "Arimo";
    position: absolute;
}

.carrousel-container{
    width: 80%;
    max-height: 60%;
   
    margin-bottom: 30px;
    text-align: center;
    
}

.images-carrousel{
 width: 100%;
 height: 100%;
 
}

#fullpage {
  display: none;
  position: absolute;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: contain;
  background-repeat: no-repeat no-repeat;
  background-position: center center;
  background-color: black;
}


/*------Footer------*/
footer{
    background-color: #0d0d0e;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-content: center;
    min-height: 50px;
    
}

.texte-footer{
    text-align: center;
    text-justify: center;
    margin: 0;
    height: 5px;
    font-weight: 700;
}

.footer-container{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    margin-right: 3vw;
}

@media (max-width: 740px) {
    .header{
        flex-direction: column-reverse;
        justify-content: center;
    }

    .nav-list{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    nav{
        display: flex;
        flex-direction: column;
    }

    .nav-link{
        margin: 0;
        padding-top: 12.5px;
        padding-bottom: 12.5px;
        width: 100%;
        text-align: center;
        text-justify: center;
        height: auto;
    }
    .nav-item{
        width: 100%;
        height: 50px;
        display: flex;
        justify-items: center;
        align-items: center;
    }

    .navigation{
        width: 100%;
    }
    .container-nom{
        margin-right: 0;
        margin-bottom: 20px;
    }
    .nom-titre{
    text-align: center;
    }
    .nom-sous-titre{
    text-align: center;
    }
    .titre-accueil{
        width: 90%;
        font-size: 40px;
        margin-top: 50px;
    }
    .texte-accueil{
        width: 90%;
    }

    footer{
        justify-content: center;
    }

    .titre-contact{
        width: 100%;
        font-size: 40px;
        margin-top: 50px;
        margin-left: 0;
        text-align: center;

    }
    .texte-contact{
        width: 90%;
        margin-left: 0;
        max-width: none;
    }

    .container-contact{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .info-contact{
        width: 90%;
        margin-left: 0;
        max-width: none;
        text-align: left;
    }
    .columns{
        display: flex;
        flex-direction: column;
    }

    .menu-realisations{
        width: 90%;
        margin-top: 50px;
    }
    .menu-realisations::after{
        width: 0;
    }
    .btn-menu-realisations{
        align-self: baseline;
    }
    .grid-realisations{
        width: 90%;
        height: 600px;
        margin: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(5, minmax(0, 1fr));
        align-self: center;
    }
    .realisation{
        width: 90%;
    }

    .titre-réalisation{
        font-size: 40px;
        text-align: center;
        width: 90%;
    }
    .description-realisation{
        text-align: left;
    }

    .image-realisation{
        align-self: center;
        width: 90%;
    }

    .annee-realisation{
        text-align: center;
    }

    .lien-projet{
        text-align: center;
    }

    .popup{
        background-color: rgb(66, 66, 66);
        position:fixed ;
        height: auto;
        width: 90vw;
        z-index: 999;
        top: 15vh;
        left:1vw;
        padding: 15px;
        overflow: auto;
        display: none;
        border-radius: 10px;
        flex-direction: column;
    }

    .btn-fermer{
        position: absolute;
        left: 85%;
        width:30px ;
        height:30px ;
        background: none;
        color: rgb(255, 255, 255);
        font-size: 20px;

    }

    .realisation{
        width: 70%;
        padding-top: 7vh;
        display: flex;
        flex-direction: column;
    }

    .titre-realisation{
        font-family: "CodeBold";
        font-size: 26px;
        text-align: left;
        margin-bottom: 0;
        margin-top: 0;
        width: 90%;
    }

    .description-realisation{
        font-size: 16px;
        margin-bottom: 20px;
        text-align: center;
    }

    .annee-realisation{
        font-size: 16px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .role-realisation{
        font-size: 16px;
        margin-top: 5px;
        margin-bottom: 5px;
        text-align: center;
    }

    .image-realisation{
        height: auto;
        max-width: 100%; 
        max-height: 30vh;
        object-fit: contain;
    }
    .lien-projet{
        font-size: 16px;
        text-decoration:underline;
        margin-top: 5px;
        margin-bottom: 5px;
        
    }

    .video-projet{
        margin-bottom: 50px;
    }

    .btn-carrousel{
        color: white;
        background-color: rgba(0, 0, 0, 0.473);
        position: absolute;
        margin: 0;
        height: 50%;
        width: 10%;
        border-style: none;
    }

    .prev{
        left: 0;
        top: 20%;
    }

    .next{
        right: 0;
        top: 20%;
    }

    .numero-image{
        position: absolute;
        top: 0;
        left: 0;
        background-color: #0d0d0ec4;
        color: white;
        padding: 2px;
        border-radius: 2px;
        margin-top: 2px;
        margin-left: 2px;
        font-family: "Arimo";
    }

    .text{
        color: white;
        font-family: "Arimo";
        position: absolute;
    }

    .carrousel-container{
        width: 100%;
        max-height: 60%;
    
        margin-bottom: 30px;
        margin-top: 20px;
        text-align: center;
        
    }

    .images-carrousel{
    width: 100%;
    height: 100%;
    
    }

    .info-contact{
    margin-left: 0;
    text-align: left;
    font-size: 18px;
    max-width: none;    
    font-weight: 600;
}

.texte-accueil{
    text-align:left ;
    font-size: 20px;
    
}

.text{
    font-size: 12px;
}

}
/* Fond sombre plein écran du viewer 3D */
#modelElevator {
  position: fixed;
  inset: 0;               /* top:0 right:0 bottom:0 left:0 */
  background: rgba(0,0,0,0.7);
  display: none;          /* caché par défaut */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}



/* Boîte grise au centre */
#modelElevator .viewer-box {
  background-color: #e5e7eb; /* gris clair */
  border-radius: 12px;
  padding: 16px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  box-sizing: border-box;
}

/* Bouton X */
#closeModelElevator {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
}

/* Model viewer plein dans la boîte */
#modelElevator model-viewer {
  width: 100%;
  height: 70vh;
}
.viewer-box {
  position: relative;
}

/* Panneau de boutons en haut à droite du model-viewer */
.anim-buttons {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.anim-buttons button {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
}

.anim-buttons button:hover {
  background: rgba(0, 0, 0, 0.9);
}
