@font-face {
    font-family: "font-1";
    src: url(../fonts/ABCFavoritEdu-Regular.woff2) format(woff2)
}

@font-face {
    font-family: "font-1-italic";
    src: url(../fonts/ABCFavoritEdu-RegularItalic.woff2) format(woff2)
}

html, body{
    overflow-y: hidden;
    
}

body{
    font-family: font-1, Helvetica, sans-serif;
    background-color: rgb(32, 32, 32);
}

a{
    font-style: inherit;
    color: inherit;
    font-family: font-1;
    width: fit-content;
    cursor: pointer;
}

a:hover{
    font-family: font-1-italic;
    text-decoration: none;
}

.info-lang{
    font-size: .8em;
    display: block;
    height: fit-content;
    
}

#container-btn-projet{
    overflow-x: scroll;
    font-family: font-1;
    position: fixed;
    top: 0;
    max-width: 50%;
    max-height: 80%;
    height: fit-content;
    margin: 20px 70px 70px 20px;
    padding: 5px 10px;
    background-color:transparent;
    color: #fff;
    border: solid white 2px;
    border-radius: 17px;
    filter: drop-shadow(0px 0px 3px rgb(0, 0, 0));
    z-index: 800;
}

.grp-explication-projet{
    width: 50%;
    padding-right: 2%;

}

.explication-projet{
    font-family: font-1;
    height: fit-content;
    color: #fff;
    font-size: 0;
    opacity: 1;
    text-shadow: rgba(0, 0, 0, 0.345) 0px 0px 2px;
}

.long{
    display: flex;
}


.grp-btn-projet{
    display: flex;
}

#btn-projet{

    cursor: pointer;
    font-family: "font-1";
    font-size: 1rem;
    width: fit-content;
    background-color: transparent;
    align-items: center;
    transition: font-size .5s,
                opacity 0s;

}

#btn-projet-after{
display: none;
}

#btn-projet:hover{
    font-family: font-1-italic;

}

#btn-projet:hover + #btn-projet-after{
    display: flex;

}
.visible{
    font-size: .9em;
    opacity: 1;
}

  #button-menu {
    position: fixed;
    display: flex;
    width: fit-content;
    align-items: center;
    font-family: font-1;
    padding: 5px 7px;
    margin: 20px;
    color: #fff;
    border: solid #fff 2px;
    border-radius: 50px;
    right: 0;
    top: 0;
    text-shadow: rgba(0, 0, 0, 0.345) 0px 0px 2px;
    filter: drop-shadow(0px 0px 3px rgb(0, 0, 0));
    text-shadow: rgba(0, 0, 0, 0.343) 0px 0px 2px;
    animation: apparitionY .7s ease-in-out, opacité .8s ease-in-out;
}

.button-go {
    min-width: 14px;
    display: flex;
    color: rgb(255, 255, 255);
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-family: font-1;
}

.button-go::before{
    content: "↰";
}

.button-go:hover::after{
    content: "Back to projects ↰";
    font-family: font-1-italic;
    padding-left: 5px;
}
.button-go:hover::before{
    content: "";

}


.ensemble-scroll{
    display: flex;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    box-sizing: border-box;
}

.ensemble-scroll::-webkit-scrollbar {

    height: 5px;
}

#container-btn-projet::-webkit-scrollbar{
    width: 5px;
    height: 0;

}

.ensemble-scroll::-webkit-scrollbar-thumb, #container-btn-projet::-webkit-scrollbar-thumb {
    background: rgb(106, 110, 106);
    border-radius: 0px;
  }


.photo{
    height: 100%;
    width: auto;
    scroll-snap-align: center;
}


.nom-projet{
    color: rgb(255, 255, 255);
    font-size: 16pt;
    font-style: normal;
    width: fit-content;
    margin: 3px 0 ;
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
}


.arrow{
    display: inline-block;
    font-family: font-1;
    font-size: 1em;
    width: 21px;
    text-align: center;
}

.arrow-e{
    transform: translateY(.5px);
    width: 12px;
}


#bouton-noa{
    position: fixed;
    display: flex;
    bottom: 20px;
    right: 20px;
    width: 215px;
    height: fit-content;
    font-family: font-1;
    font-size: 1em;
    text-align: left;
    color: rgb(255, 255, 255);
    text-shadow: rgb(0, 0, 0) 0 0 3px;
    animation: apparitionY .7s ease-in-out, opacité .8s ease-in-out;
    cursor: pointer;
    box-sizing: border-box;
    z-index: 1;
}

#bouton-contact{
    margin-left: 15px;
}


#bouton-noa a:hover + .arrow {
    display: none;
}


.invisible{
    opacity: 0;
}





@media (max-width: 912px) {

    body{
        overflow-x: hidden;
    }
    
    .ensemble-scroll{
        flex-direction: column;
        scroll-snap-type: y mandatory;
    }
    

    .photo{
        height: auto;
        width: 100%; 
    }

    .ensemble-scroll::-webkit-scrollbar {
        width: 5px;
        height: 0px;
    }

    p{
        width: 100%;
    }
    
    .grp-explication-projet{
        width: 50%;
    
    }

}


@media (max-width: 512px) {


    #container-btn-projet{
        max-width: 75%;
        margin-right: 70px;
    }

    #bouton-noa{
        left: 2em;
        right: auto;
    }


    .long{
        display: block;
    }

    .grp-explication-projet{
        width: 100%;
    }
}


