@font-face {
    font-family: 'terminal grotesque';
    src: url(asset/font/terminal-grotesque.ttf);
}

@font-face {
    font-family: 'terminal grotesque open';
    src: url(asset/font/terminal-grotesque_open.otf);
}

/* ------------------------------------------------------------------------------- */


::selection {
    color: #ffff00;
    background-color: #4d4d4d;
}

/* TAILLE DE TXT */
/* ------------------------------------------------------------------------------- */
.h1 {
    /* margin-left: 1.2vw; */
    color: #ffff00;
    font-size: 6.3vw;
    font-family: 'terminal grotesque';
}

/* .h1:hover {
    font-size: 117.2px;
    font-family: 'terminal grotesque open';
} */

.h2 {
    color: #4d4d4d;
    font-size: 3.7vw;
    font-family: 'terminal grotesque';
}

.h3 {
    color: #4d4d4d;
    font-size: 2.5vw;
    font-family: 'terminal grotesque';
}

.h4 {
    color: #4d4d4d;
    /* color: #8B6100; */
    font-size: 2vw;
    font-family: 'terminal grotesque';
}

.orange {
    color: #9c6d00 !important;
}
.yellow {
    color: #ffff00 !important;
}
.black {
    color: #202020 !important;
}
.grey {
    color: #4d4d4d !important;
}

/* TITLE */
/* ------------------------------------------------------------------------------- */
#title {
    width: 46vw;
}

/* CANVAS */
/* ------------------------------------------------------------------------------- */
canvas {
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* En arrière-plan */
}

/* MARQUEE */
/* ------------------------------------------------------------------------------- */
.marquee {
    position: sticky;
    width: 100vw;
    max-width: 100%;
    height: 1.6vw;
    overflow-x: hidden;
}

.track {
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    animation: marquee 30s linear infinite;
}

.content {
    font-family: 'terminal grotesque';
    font-size: 0.6vw;
    color: yellow;
    user-select: none;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* MENU */
/* ------------------------------------------------------------------------------- */
#menuConteneur {
    position: absolute;
    top: 1.3vw;
    right: 1.3vw;
    padding-bottom: 0.6vw;
    display: flex;
}

.menuIcon {
    right: 5vw;
    height: 4.75vw;
    width: 4.75vw;
    padding-right: 1.3vw;
    background-size: contain;
    background-repeat: no-repeat;
    transition: ease-out 0.24s;
    filter: invert(94%) sepia(26%) saturate(1778%) hue-rotate(357deg) brightness(104%) contrast(106%);
}

#print {
    background-image: url('/asset/img/print.svg');
    filter: invert(36%) sepia(98%) saturate(635%) hue-rotate(13deg) brightness(95%) contrast(101%);
    margin-left: 4.75vw;
}

#etudeTravail {
    background-image: url('/asset/img/etude-travail.svg');
}

#projets {
    background-image: url('/asset/img/OFF-projets.svg');
}

#about {
    background-image: url('/asset/img/OFF-about.svg');
}

.off:hover {
    cursor: pointer;
    filter: invert(25%) sepia(30%) saturate(13%) hue-rotate(330deg) brightness(91%) contrast(79%);
}

#contenu{
    pointer-events: none;
}


/* PRINT QUESTION */
/* ------------------------------------------------------------------------------- */
#printconteneur{
    background-color: #202020;
    position: absolute;
    display: none;
    right: 10vw;
    left: 10vw;
    top: 10vh;
    bottom: 10vh;
    border: 10px #4d4d4d solid;
}
#printconteneur::before {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-color: #202020;
}
#printprojets{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 6%;
    width: 88%;
    height: 76%;
}
.print-item{
    color: #ffff00;
    display: flex;
    margin-bottom: 1vw;
}
.onPRINT {
    background-color: #9c6d00;
    height: 2vw;
    width: 2vw;
    margin-right: 1vw;
}

.offPRINT {
    background-color: #4d4d4d;
    height: 2vw;
    width: 2vw;
    margin-right: 1vw;
}
.offPRINT:hover {
    border: solid 3px #202020;
    box-sizing: border-box;
}
.onPRINT:hover {
    border: solid 3px #202020;
    box-sizing: border-box;
}
#lineProjetCVandOTHERS{
    margin-top: 1vw;
    margin-bottom: 2vw;
    width: 36%;
    border: solid 3px #4d4d4d;
}
#printBt {
    position: relative;
    align-self: flex-end;
    top: 2vw;
    bottom: 0px;
    right: 3vw;
    width: 12vw;
    height: 3vw;
    background-color: #4d4d4d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #202020;
    font-size: 2vw;
    font-family: 'terminal grotesque';
}
#printBt:hover {
    border: solid 3px #202020;
    box-sizing: border-box;
    background-color: #9c6d00;
}

@media print{
    #title {
        width: auto !important;
        position: relative !important;
    }    
    body {
        overflow-y: auto !important;
        overflow-x: auto !important;
    }
    .h1 {
        font-size: 36px !important;
    }
    
    .h2 {
        font-size: 24px !important;
    }
    
    .h3 {
        font-size: 18px !important;
    }
    
    .h4 {
        font-size: 12px !important;
    }
}