@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{
    font-size: 16pt;
    font-family: font-1;
    background-color: rgb(17, 17, 17);
    color: #fff;
    /* overflow-x: hidden; */
}
h1, h2{
    font-weight: normal;
}
i{
    font-family: font-1-italic;
}
body::-webkit-scrollbar {
    width: 5px;
    height: 0;
}
body::-webkit-scrollbar-thumb {
    background: rgb(106, 110, 106);
    border-radius: 0px;
}
#cursor{
    position: absolute;
    width: fit-content;
    height: fit-content;
    text-shadow: #000 0 0 3px;
    font-size: 1em;
    cursor: none;
    font-family: font-1;
}
#button-menu {
    position: fixed;
    display: flex;
    width: fit-content;
    align-items: center;
    font-family: font-1;
    padding: 5px 7px;
    margin: 20px;
    border: solid #fff 2px;
    border-radius: 50px;
    right: 0;
    top: 0;
    filter: drop-shadow(0px 0px 3px rgb(32, 32, 32));
    animation: apparitionY .7s ease-in-out, opacité .8s ease-in-out;
    z-index: 1;
    cursor: pointer;
}
.button-go {
    min-width: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-family: font-1;
}
.button-go::before{
    content: "↰";
}
.button-go:hover::after{
    content: "Home page ↰";
    font-family: font-1-italic;
    padding-left: 5px;
}
.button-go:hover::before{
    content: "";
}
.container-projet{
    height: fit-content;
    font-size: 1em;
}
.container-demi-projet{
    width:100%;
    display: flex;
}
#nom-menu-nav{
padding: 1rem 0 0 1rem;
font-size: max(1em, 1.4vw);
animation: apparitionY .7s ease-in-out, opacité .8s ease-in-out;
}
.info-extra{
    padding: 20px;
}
.right-align{
    text-align: end;
}
.titre-sticky{
    display: flex;
    height: 20%;
    width: fit-content;
    font-size: 5vw;
    position: sticky;
    top: 0;
    padding: 20px 4rem 10px 15px;
    margin-top: 2rem;
    letter-spacing: -1.5px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.394));
    text-shadow: rgba(0, 0, 0, 0.606) 0 .5px 4px;
    line-height: 1;
    z-index: 2;
    cursor: none;
    animation: apparitionY .7s .5s ease-in-out backwards, opacité .8s  .5s ease-in-out backwards;
}
.photo{
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    transition: transform 0.3s ease-in-out;
}
.photo-horizontale{
    width: 100%;
}
.grp-txt-img-verticale{
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-sizing: border-box;
}
.grp-txt-vertical{
    padding-top: 1.5em;
    display: grid;
    grid-template-columns: 1fr 1fr; 
}
.grp-img{
    position: relative;
}
.horizontale{
    width: 100%;
}
.container-lien{
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.grp-explication-projet{
    width: 100%;
    display: flex;
}
.explication-projet{
    position: relative;
    flex-direction: column;
    font-size: 2vw;
    width: 100%;
    top: 0;
    padding:0 1rem 1rem;
    justify-content: left;
    text-align: left;
    tab-size: 1;
    box-sizing: border-box;
    animation: apparitionX .7s ease-in-out backwards, opacité .8s ease-in-out backwards;
}
.info-lang{
    font-size: max(1rem, 1.4vw);
    padding-bottom: 1.9vh;
    
}
.date{
    display: flex;
    font-size: max(1rem, 1.4vw);
    letter-spacing: .1px;
    margin-left: 1em;
    padding-top: 3px;
}
.lien-projet{
    top: 0;
    left: 0;
    font-size: 1em;
    border-radius: 50px;
}
.grp-lien-cover{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    height: 100%;
    width: 100%;
    text-shadow: rgba(0, 0, 0, 0) 0 .5px 4px;
}
.cover{
    display: flex;
    justify-content: center;
    align-items: center;
    color:rgba(255, 255, 255, 0);
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    transition: all 0.2s ease-in-out;
    z-index: 1;
    cursor: none;
}
.arrow{
    display: inline-block;
    font-family: font-1;
    font-size: 1em;
    width: 21px;
    text-align: center;
    text-decoration: none;
}
.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;
    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: 3;
}
#bouton-contact{
    margin-left: 15px;
}
.voirleproj, #insta, #email{
    text-decoration: underline;
}
.voirleproj:hover, #insta:hover, #email:hover{
    text-decoration: none;
    font-family: font-1-italic;
}
.voirleproj:hover + .arrow {
    color: rgba(255, 255, 255, 0);
    text-shadow: none;
}
#insta:hover + .arrow, #email:hover + .arrow{
    display: none;
}
a{
    font-style: inherit;
    color: inherit;
    font-family: font-1;
    text-decoration: none;
}
.lien-projet:hover + .arrow {
    display: none;

}
.footer{
    display: flex;
    height: 95px;
    align-items: flex-end;
    padding: 20px;
}
#copyright{
    font-size: .5em;
}

@keyframes opacité {
    from {opacity: 0%;}
    to {opacity: 100%;}
}
@keyframes apparitionY {
    from {transform:translateY(50px);}
    to {transform:translateY(0px);}
}
@keyframes apparitionX {
    from {transform:translateX(-100px);}
    to {transform:translateX(0px);}
}

@media (max-width: 1180px) {

    #nom-menu-nav{
        font-size: .8rem;
    
    }
    .container-projet{
        font-size: 0.7em;
    }
    .titre-sticky{
        font-size: 4em;
    }
    .verticale{
        width: 100%;
    }
    .explication-projet{
        font-size: max(1.5em, 1vw);
        padding:0 1rem 1rem;
    }
    .explication-projet-vert{
        width: 100%;

    }
    .explication-projet-horiz{
        display: flex;
    }
    .grp-explication-projet-horiz{
        width: 50%;
    }
    .cover{
        color: white;
        text-shadow: rgba(0, 0, 0, 0.606) 0 .5px 4px;
        cursor: pointer;
    }
    .info-lang{
        font-size: .8rem;
    }
    .date{
        margin-left: 1rem;
    }
    .container-lien{
        opacity: 1;
        font-size: 1.8em;
    } 
}
@media (max-width: 555px) {

    .grp-txt-img-verticale{
        display: flex;
        flex-direction: column;
    }
    .col-reverse{
        flex-direction: column-reverse;
    }
    .grp-txt-vertical{
        display: grid;
        grid-template-columns: 1fr; 
    }
    .container-demi-projet {
        width: 100%;
        display: block;
    }

    .info-extra{
        text-align: end;
    }
}