
@font-face{
    font-family:'Avenir pro';
    src: url('typo/AvenirNextLTPro-Bold.otf') format('opentype');
}

@font-face{
    font-family:'Fira Code';
    src: url('typo/FiraCode-VariableFont_wght.ttf') format('opentype');
}

body{
    margin:0px;
    padding:0px ;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    background-color: black;
}

/*video logo*/

.accueil{
    display: grid;
}

#videobox{
    width: 100vw;
    overflow: hidden;
}

video{
    display:block;
    margin: 20vh auto 20vh auto;
    width: 70vw;
    object-fit: cover;
}
.textepresentation{
    color: white;
    font-size: 500%;
    grid-area: 3/2/5/7;
}

.annonce{
    display: flex;
    color: #C2D9FF;
    font-family:'Avenir pro';
    font-size: 1500%;
    padding-top: 10vh;
    padding-left: 0.5vw;
    -webkit-touch-callout: none;
    -webkit-user-select: none; 
    -khtml-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
}

/*etoile qui tourne*/

.texterotation {
    display: flex; 
    align-items: flex-start; 
    margin-left: 2vw;
    font-size: 100%;
    overflow: hidden;
}

.texterotation img {
    width: 5vw;
    margin-left: 3vw;
    transition: 0.3s;
    margin: 0.5vw;
}

.annonce:hover img {
    transform: rotate(180deg);
    transform-origin: center center;
    transition-duration: 0.5s;
}

/*menu*/

.menuprojet{
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.barremenu{
    background-color: #C2D9FF;
    border-top: solid 3px black;
    transition-duration: 0.3s;
    color:black;
    overflow: hidden;
    padding-left: 0vw;
    transition-duration: 0.8s;
}

.barremenu:hover{
    background-color: black;
    transition-duration: 0.2s;
    color: #C2D9FF;
    cursor: pointer;
}

.avanttitreprojet{
    font-family:Arial, Helvetica, sans-serif;
    font-size: 500%;
    margin-top: 1.5vh;
    margin-right: 3vw;
}

.titreprojet{
    font-family:Arial, Helvetica, sans-serif;
    font-size: 17vh;
}

.soustitreprojet{
    font-family: 'Fira Code';
    font-size: 100%;
}

/*accordéon*/

.accordion{
    -webkit-touch-callout: none;
    -webkit-user-select: none; 
    -khtml-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
    padding-left:1vw;
    padding-top: 1vh;
    display: flex;
}

.panel {
    display: block;
    width: 100vw;
    color:white;
    padding-top: 0px;
    background-color: black;
    padding-bottom: 0vh;
    overflow: hidden;
    transition-duration: 1s;
    height:0vh;
}

.panel img{
    width: 100vw;
}

 .contenuprojet{
    display: block;
    justify-content: center;
    align-items: center;
}

/*effet marquee*/

#marquee .picconteneur{
    display: flex;
    animation: marquee 15s infinite linear ;
}

#marquee .picconteneur:active{
    animation-play-state:paused;
}

#marquee .picconteneur .pic{
    flex-basis: 50%;
    flex-shrink:0; 
}

#marquee img{
    width: 100%;
    object-fit: cover;
    border: solid 2px black
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


/*textes projets*/

.presentationprojet{
    padding-top: 2vh;
    padding-bottom: 5vh;
    padding-right: 2vw;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-column-gap: 2vw;
    grid-row-gap: 0px;
    bottom: 0;
    width: 100%;
    color: black;
}

.texteprojet{
    color: white;
    margin:1vw;
    font-family:'Fira Code';
    font-size: 100%;
}

.texteprojethide{
    background-color: black;
    color: white;
    margin:1vw;
    font-family:'Fira Code';
    font-size: 100%;
}

/*galerie*/

.gallery{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(2,1fr);
    background-color: black;
    border-top: solid;
    width: 100%;
}

.gallery img{
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.lien{
    display: flex;
    color: inherit; 
    text-decoration: none;
  }

/*responsive*/

@media (max-width: 1600px){
    .avanttitreprojet{
        font-size: 400%;
    }
    .titreprojet{
        font-size: 760%;
    }
    .soustitreprojet{
        font-size: 80%;
    }
    .annonce{
        font-size: 1200%;
    }
}

@media (max-width: 1300px){
    .avanttitreprojet{
        font-size: 325%;
    }
    .titreprojet{
        font-size: 615%;
    }
    .soustitreprojet{
        font-size: 65%;
    }
    .annonce{
        font-size: 975%;
    }
    video{
        margin: 25vh auto 25vh auto;
        width: 80vw;
    }
}

@media (max-width: 1050px){
    .avanttitreprojet{
        font-size: 250%;
    }
    .titreprojet{
        font-size: 475%;
    }
    .soustitreprojet{
        font-size: 50%;
    }
    .presentationprojet{
        font-size: 80%;
        }
    .gallery{
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(3,1fr);
    }
    .annonce{
        font-size: 750%;
    }
}

@media (max-width: 800px){
    .avanttitreprojet{
        font-size: 200%;
    }
    .titreprojet{
        font-size: 380%;
    }
    .soustitreprojet{
        font-size: 40%;
    }
    .presentationprojet{
        font-size: 70%;
    }
    .annonce{
    font-size: 600%;
    }
}

@media (max-width: 750px){
    .avanttitreprojet{
        font-size: 150%;
    }
    .titreprojet{
        font-size: 250%;
    }
    .soustitreprojet{
        font-size: 30%;
    }
    .presentationprojet{
        grid-template-columns: repeat(1,1fr);
        font-size: 80%;
    }
    .avanttitreprojet{
        padding-left:2vw;
    }
    .texteprojet{
        padding: 2vw;
    }
    .texteprojethide{
       display: none;
    }
    .gallery{
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: repeat(6,1fr);
    }
    #marquee .picconteneur .pic{
        flex-basis: 100%;
    }
    #marquee .picconteneur{
        animation: marquee 15s infinite linear ;
    }
    @keyframes marquee {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-200%);
        }
    }
    .annonce{
        font-size: 450%;
    }
    video{
        margin: 30vh auto 30vh auto;
        width: 90vw;
    }
}

@media (max-width: 600px){
    .avanttitreprojet{
        font-size: 125%;
    }
    .titreprojet{
        font-size: 235%;
    }
    .soustitreprojet{
        font-size: 25%;
    }
    .annonce{
        font-size: 375%;
    }
}

@media (max-width: 420px){
    .avanttitreprojet{
        font-size: 100%;
    }
    .titreprojet{
        font-size: 190%;
    }
    .soustitreprojet{
        font-size: 20%;
    }
    .annonce{
        font-size: 300%;
    }
}

@media (max-width: 350px){
    .avanttitreprojet{
        font-size: 95%;
    }
    .titreprojet{
        font-size: 160%;
    }
    .soustitreprojet{
        font-size: 20%;
    }
    .annonce{
        font-size: 280%;
    }
}