:root{
    --main-square-size : 92.593vh;
    --main-square-limit : 94%;

    --button-square : 9.7vh;

    --square-n2-size : 61.805%;
    --square-n3-size : 61.1%;

    --about-content-size : 89%;

    --rs-square : 2vh;
    --menu-square-border: 1.2vh;
    --menu-square: 0.7vh;

    --ui-font-size: 0.8rem;
    --h1-font-size: 2rem;
    --h2-font-size: 0.8rem;

    --c-diamond : white;
    --c-vantablack : black;
    --c-carbon : #0c0c0c;
    --c-graphite: #303030;
    --c-ruby: #ff564a;
    --c-jade: #64de7d;
    --c-saphir: #00b4ff;
    --c-amber: #ffaa48;

    --project-ttf : cubic-bezier(.31, .01, 0, 1);
    --project-td : 1s;
}

body {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--c-carbon);
    overflow: hidden;
    background-image: url(../assets/Background.jpg);
    color: var(--c-diamond);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Inconsolata', monospace;
}

p {
    margin: 0;
    padding: 0;
    font-family: 'Inconsolata', monospace;
}

a {
    margin: 0;
    padding: 0;
    color: var(--c-diamond);
}

h1, h2, h3, h4, h5 {
    margin: 0;
    padding: 0;
}

h1 {
    font-family: 'Lato', sans-serif;
    font-size: var(--h1-font-size);
}

ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}



/*--------------------------------------------------------------------------------*/
/*--GLOBAL------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/

.horizontal-line {
    width: 100%;
    height: 1px;
    background: var(--c-graphite);
}

.vertical-line{
    width: 1px;
    height: 100vh;
    background: var(--c-graphite);
}



/*--------------------------------------------------------------------------------*/
/*--HEADER------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/

header {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#top-line{
    position: absolute;
    bottom: 0;
}

#header-content{
    width: var(--main-square-size);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header-left-content {
    width: 100%;
    height: 100%;
    padding-left: 5px;
    display: flex;
    align-items: center;
}

.svg-box {
    width: var(--rs-square);
    height: var(--rs-square);
    margin-left: 5px;
    border: 1px solid var(--c-diamond);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#header-left-content svg{
    fill: var(--c-diamond);
}

.svg-box:hover svg{
    fill: var(--c-carbon) !important;
}

.svg-box:hover {
    background: var(--c-diamond);
}

#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

#logo p{
    font-size: var(--ui-font-size);
    font-weight: bolder;
    margin-left: 10px;
    margin-right: 5px;
    display: none;
}

#logo-svg{
    width: var(--rs-square);
    height: var(--rs-square);
    margin-left: 5px;
    border: 1px solid var(--c-diamond);
    background: var(--c-diamond);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 0px;
    transition-duration: 0.2s;
    /*    transition-timing-function: cubic-bezier(.25, -2, .53, 3);*/
}

#icon-logo-svg{
    fill: var(--c-carbon) !important;
    transition-duration: 0.2s;
    /*    transition-timing-function: cubic-bezier(.95, -0.47, .02, 1.47);*/
}

#logo-square {
    width: 0%;
    height: 0%;
    background: var(--c-carbon);
    position: absolute;
    transform: rotate(-90deg);
    transition-duration: 0.2s;
    /*    transition-timing-function: cubic-bezier(.25, -2, .01, 1.47);*/
}

#logo-hover {
    width: 0;
    height: var(--rs-square);
    background: var(--c-diamond);
    position: absolute;
    left: 5px;
    z-index: -1;
    border: solid 1px var(--c-diamond);
    transition-duration: 0.2s;
    /*    transition-timing-function: cubic-bezier(.25, -2, .53, 3);*/
}

#logo:hover p{
    display: inherit;
    color: var(--c-carbon);
}

#logo:hover #logo-square{
    width: 80%;
    height: 80%;
    transform: rotate(0deg);
}

#logo:hover #logo-svg {
    left: 5px;
}

#logo:hover #logo-hover{
    width: 100%;
}

#logo:hover span{
    font-family: 'Lato', sans-serif;
}

#logo:hover svg{
    transform: rotate(90deg) scale(0);
}

#header-right-content {
    width: 100%;
    height: 100%;
    margin-right: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#header-right-content a{
    height: 100%;
    padding-right: 25px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header-right-content p{
    font-size: var(--ui-font-size);
}

.menu-square-border {
    width: var(--menu-square-border);
    height: var(--menu-square-border);
    margin-right: 10px;
    border: 1px solid var(--c-diamond);
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-square {
    width: var(--menu-square);
    height: var(--menu-square);
    display: none;
}

.nav-contact {
    padding-right: 5px !important;
}


.accueil-active .menu-square-border {
    border: 1px solid var(--c-ruby);
}
.accueil-active .menu-square {
    display: inherit;
    background: var(--c-ruby);
}
.accueil-active p {
    color: var(--c-ruby);
}


.about-active .menu-square-border {
    border: 1px solid var(--c-jade);
}
.about-active .menu-square {
    display: inherit;
    background: var(--c-jade);
}
.about-active p {
    color: var(--c-jade);
}


.portfolio-active .menu-square-border {
    border: 1px solid var(--c-saphir);
}
.portfolio-active .menu-square {
    display: inherit;
    background: var(--c-saphir);
}
.portfolio-active p {
    color: var(--c-saphir);
}


.contact-active .menu-square-border {
    border: 1px solid var(--c-amber);
}
.contact-active .menu-square {
    display: inherit;
    background: var(--c-amber);
}
.contact-active p {
    color: var(--c-amber);
}



/*--------------------------------------------------------------------------------*/
/*--MAIN--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/

#main{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

#main-square {
    width: var(--main-square-size);
    height: var(--main-square-size);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    transition-duration: var(--project-td);
    transition-timing-function: var(--project-ttf);
}

#square-n2 {
    width: var(--square-n2-size);
    height: var(--square-n2-size);
    background-image: url(../assets/Grids-05.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: border-box;
}

#square-n2-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    transition-duration: var(--project-td);
    transition-timing-function: var(--project-ttf);
}

#square-n3 {
    width: var(--square-n3-size);
    height: var(--square-n3-size);
    box-sizing: border-box;
}

#square-n3-content {
    width: 100%;
    height: 100%;
    border: 1px solid var(--c-diamond);
    box-sizing: border-box;
    position: relative;
}

#square-n3-content p{
    margin: 5px;
    color: var(--c-ruby);
    position: absolute;
    bottom: 0px;
    right: 0;
}



/*--------------------------------------------------------------------------------*/
/*--FOOTER------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/

footer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer p {
    font-size: var(--ui-font-size);
}

#footer-content {
    width: var(--main-square-size);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer-left-content {
    width: 100%;
    height: 100%;
    padding-left: 10px;
    display: flex;
    align-items: center;
}

#footer-left-content a{
    display: flex;
    align-items: center;
    text-decoration: none;
}

#footer-site-map{
    padding-left: 25px;
}

#footer-right-content {
    width: 100%;
    height: 100%;
    padding-right: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#footer-mention-legal:hover .menu-square {
    background: var(--c-diamond);
    display: inherit;
}

#footer-site-map:hover .menu-square {
    background: var(--c-diamond);
    display: inherit;
}



/*--------------------------------------------------------------------------------*/
/*--BACKGROUND--------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/

#background-content {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#background-container {
    width: var(--main-square-size);
    height: 100vh;
    position: relative;
    transition-duration: var(--project-td);
    transition-timing-function: var(--project-ttf);
}

#left-line {
    position: absolute;
    left: 0;
}

#right-line {
    position: absolute;
    right: 0;
}



/*--------------------------------------------------------------------------------*/
/*--NAVIGATION--------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/

/*BUBBLES*/

#about-page-bubbles{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 5%;
    z-index: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.about-bubble {
    width: 2%;
    height: 2%;
    background: var(--c-diamond);
    border-radius: 100%;
    margin-left: 5px;
    cursor: pointer;
}

.about-bubble:hover {
    background: var(--c-jade);
    transform: scale(1.5);
}

.about-bubble-active{
    background: var(--c-jade);
}

/*--------------------------------------------------------------------------------*/
/*ARROWS*/

#guides {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#guides div{
    width: 100%;
    height: 1px;
    background: white;
    margin: 4.7vh 0;
}

.nav-squares {
    width: var(--main-square-size);
    position: absolute;
    top: 45.2%;
/*    top: 85%;*/
    display: flex;
    z-index: 0;
    justify-content: space-between;
    align-items: flex-end;
}

.nav-square-disabled {
    cursor: default !important;
}

.nav-square-disabled .nav-square-left-svg, .nav-square-disabled .nav-square-right-svg{
    fill : var(--c-graphite);
    pointer-events: none;
}

.nav-square-container {
    width: 19.1%;
    display: flex;
    justify-content: center;
    transition-duration: 1s;
}

.nav-square-container div {
    height: var(--button-square);
    width: var(--button-square);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition-duration: 2s;
    transition-timing-function: cubic-bezier(.11, .23, 0, 1);
}

.nav-square-left-svg, .nav-square-right-svg, .nav-square-up-down-svg, .nav-square-up-svg, .nav-square-cross-svg {
    position: absolute;
    fill: var(--c-diamond);
    width: 100%;
    height: 100%;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(.89, -0.47, .09, 1.47);
}

.nav-square-left-svg{transform: translate(0%);}
.nav-square-right-svg{transform: translate(0%);}
.nav-square-right-svg{transform: translateY(0%) rotate(0);}

.nav-fg-border, .nav-bg-border{
    width: 100%;
    height: 100%;
}

.nav-bg-border {
    fill: none;
    stroke: var(--c-graphite);
    position: absolute;
    left: 0;
    top: 0;
}

.nav-fg-border path {
    fill: none;
    stroke-width: 1.5;
    stroke: var(--c-diamond);
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition-duration: 0.4s;
    transition-timing-function: ease-in-out;
}

.nav-square-container div:hover .nav-fg-border path{
    stroke-dashoffset: 0;
}
.nav-square-disabled:hover .nav-fg-border path{
    stroke-dashoffset: 1000 !important;
}

#nav-square-left:hover .nav-square-left-svg{
    transform: translate(-18%);
}
#nav-square-right:hover .nav-square-right-svg{
    transform: translate(18%);
}
.nav-square-disabled:hover .nav-square-left-svg{
    transform: translate(0) !important;
}
.nav-square-disabled:hover .nav-square-right-svg{
    transform: translate(0) !important;
}

#nav-square-left:hover{
    transform: translate(-10%);
}
#nav-square-right:hover{
    transform: translate(10%);
}
.nav-square-disabled:hover{
    transform: translate(0) !important;
}
.nav-square-disabled:hover{
    transform: translate(0) !important;
}

#nav-square-cross:hover .nav-square-cross-svg{
    transform: scale(0.8);
}
.nav-square-down:hover .nav-square-up-down-svg{
    transform: translateY(18%) rotate(0) !important;
}
.nav-square-up:hover .nav-square-up-down-svg{
    transform: translateY(-18%) rotate(180deg) !important;
}

#nav-square-cross:hover{
    transform: scale(1.1);
}
.nav-square-down:hover{
    transform: translateY(10%);
}
.nav-square-up:hover{
    transform: translateY(-10%);
}

#portfolio-nav-squares-LR {
    width: var(--main-square-size);
    /*    width: 100% !important;*/
    animation-duration: var(--project-td);
    animation-timing-function: var(--project-ttf);
    animation-fill-mode: forwards;
    z-index: 1;
}

@keyframes portfolio-project-on-LR {
    0% {
        width: var(--main-square-size);
        top: 45.2%;
    }
    50% {
        width: calc( var(--main-square-size) + 22.5%);
        top: 45.2%;
    }
    100% {
        width: calc( var(--main-square-size) + 22.5%);
        top: 84%;
    }
}
@keyframes portfolio-project-off-LR {
    0% {
        width: calc( var(--main-square-size) + 22.5%);
        top: 84%;
    }
    50% {
        top: 45.2%;
        width: calc( var(--main-square-size) + 22.5%);
    }
    100% {
        width: var(--main-square-size);
        top: 45.2%;
    }
}

@keyframes portfolio-full-on-LR {
    0% {
        top: 84%;
        width: calc( var(--main-square-size) + 22.5%);
    }
    100% {
        top: 84%;
        width: 100%;
    }
}
@keyframes portfolio-full-off-LR {
    0% {
        top: 84%;
        width: 100%;
    }
    100% {
        top: 84%;
        width: calc( var(--main-square-size) + 22.5%);
    }
}

#portfolio-nav-squares-WC {
    width: var(--main-square-size);
    top: 45.2%;
    opacity: 0;
    animation-duration: var(--project-td);
    animation-timing-function: var(--project-ttf);
    animation-fill-mode: forwards;
    z-index: 0;
}

@keyframes portfolio-project-on-WC {
    0% {
        width: var(--main-square-size);
        top: 45.2%;
        opacity : 0;
    }
    50% {
        width: calc( var(--main-square-size) + 22.5%);
        top: 45.2%;
        opacity : 0;
    }
    100% {
        width: calc( var(--main-square-size) + 22.5%);
        top: 6%;
        opacity : 1;
    }
}
@keyframes portfolio-project-off-WC {
    0% {
        width: calc( var(--main-square-size) + 22.5%);
        top: 6%;
        opacity: 1;
    }
    50% {
        top: 45.2%;
        width: calc( var(--main-square-size) + 22.5%);
        opacity: 0;
    }
    100% {
        width: var(--main-square-size);
        top: 45.2%;
        opacity: 0;
    }
}

@keyframes portfolio-full-on-WC {
    0% {
        opacity: 1;
        top: 6%;
        width: calc( var(--main-square-size) + 22.5%);
    }
    100% {
        opacity: 1;
        top: 6%;
        width: 100%;
    }
}
@keyframes portfolio-full-off-WC {
    0% {
        opacity: 1;
        top: 6%;
        width: 100%;
    }
    100% {
        opacity: 1;
        top: 6%;
        width: calc( var(--main-square-size) + 22.5%);
    }
}

/*--------------------------------------------------------------------------------*/
/*--ABOUT-PAGE--------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/

#about-page-mask {
    width: var(--main-square-limit);
    height: var(--main-square-limit);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.about-page-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    transition-timing-function: cubic-bezier(.62, -0.01, .5, 1);
}

#about-page-container-1{
    z-index: 1;
    left: 0;
}
#about-page-container-2{
    z-index: 0;
    left: 100%;
}
#about-page-container-3{
    z-index: 0;
    left: -100%;
}

.about-page{
    width: var(--about-content-size );
    height: var(--about-content-size );
    position: absolute;
    display: flex;
    transition-duration: none;
}

/*ABOUT PAGE 1 */

#about-page-1{
    flex-direction: column;
}

/*ROW 1*/

#about-p1-raw-1 {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

#about-profil-picture{
    width: 33%;
    height: 100%;
    background: var(--c-diamond);
    background-image: url(../assets/Profil-pic.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#about-profil-details {
    width: 60%;
    padding-top: 2%;
    overflow: hidden;
}

#about-profil-details p {
    margin-bottom: 10%;
    font-size: var(--ui-font-size);
    color: var(--c-jade);
}

#about-profil-details li {
    font-size: var(--ui-font-size);
    padding-left: 5%;
    margin-bottom:2%;
}

#about-profil-details li:before {
    content: "";
    width: 1.5%;
    height: 1.5%;
    background: var(--c-diamond);
    position: absolute;
    left: 40%;
    margin-top: 0.8%;
    border-radius: 100%;
}

#name-cv {
    display: flex;
    align-items: center;
    overflow: hidden;
}

#cv-icon {
    width: 10%;
    margin-top: 1%;
    margin-left: 5%;
    cursor: pointer;
    border: 1px solid var(--c-jade);
}

#cv-icon svg {
    fill: var(--c-jade) !important;
}

#icon-cv2 {
    display: none;
}

#cv-icon:hover{
    border: 1px solid var(--c-jade);  
}

#cv-icon:hover #icon-cv1{
    display: none;   
}

#cv-icon:hover #icon-cv2{
    display: inherit;   
}

/*------------------------------------------*/
/*ROW 2*/

#about-p1-raw-2 {
    width: 100%;
    height: 100%;
    display: flex;
}

#about-skills{
    width: 50%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#skills-title {
    font-size: var(--ui-font-size);
    margin-bottom: 3%;
    margin-top: 16%;
    width: 100%;
    color: var(--c-jade);
    display: flex;
    justify-content: center;
    position: relative;
}

#skills-title p {
    width: 80%;
}

.st-visible {
    display: inherit;
}

.st-hidden{
    display: none;
}

#st-mask-container {
    width: 100%;
    height: 110%;
    position: absolute;
    left: 0;
}

#st-mask {
    width: 0%;
    height: 100%;
    position: absolute;
    left: 0;
    margin-right: 10%;
    margin-left: 10%;
    background: var(--c-jade);
    animation-name: none;
    animation-duration: 0.5s;
    animation-timing-function: cubic-bezier(.65, -0.01, .35, .99);
    animation-fill-mode: forwards;
}

@keyframes st-mask-animation {
    0% {
        width: 0%;
        left: 0;
        right: auto;
    }
    50% {
        width: 80%;
        left: 0;
        right: auto;
    }
    51%{
        width: 80%;
        left: auto;
        right: 0;
    }
    100% {
        width: 0%;
        left: auto;
        right: 0;
    }
}

.skills-icons-raw {
    display: flex;
    justify-content: center;
    width: 100%;
}

.skills-icons-raw svg{
    fill: var(--c-diamond);
    width: 25%;
    cursor: pointer;
    transition: 0.2s;
    transition-timing-function: cubic-bezier(0, 3, .5, 1.01);
}

.skills-icons-raw svg:hover{
    fill: var(--c-jade);
    transform: scale(1.1);
}

.skills-icons-raw svg:nth-child(2n){
    margin: 2%;
}

.skills-filler-block {
    width: 25%;
}

.skills-filler-block:nth-child(2n) {
    margin: 2%;
}

#dev-skills{
    margin-top: 20%;
}

#about-video {
    width: 100%;
    height: 100%;
    background: var(--c-diamond);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#about-video div{
    width: 80%;
    height: 80%;
    border: solid 1px var(--c-carbon);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#about-video hr{
    margin: 0;
    padding: 0;
    height: 100%;
}

#about-video p{
    margin: 0;
    padding: 0;
    color: var(--c-graphite);
}

/*--------------------------------------------------------------------------------*/
/*ABOUT PAGE 2 */

#about-page-2 {
    align-items: center;
}

/*COL 1*/
#about-col-1 {
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#about-col-1 h1{
    width: 30%;
    word-break: break-all;
    line-height: 200%;
    text-align: center;
}


/*COL 2*/
#about-col-2 {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-c2-row {
    margin-top: 4%;
    margin-bottom: 4%;
}

#about-col-2 p{
    margin-top: 1%;
    margin-bottom: 1%;
    font-size: var(--ui-font-size);
}

#about-col-2 h2{
    font-size: var(--h2-font-size);
    color: var(--c-jade);
}

.cursus-split{
    width: 91%;
    height: 1px;
    background: var(--c-jade);
    margin: 2% 0 2% 0;
}



/*--------------------------------------------------------------------------------*/
/*ABOUT PAGE 3 */

#testInProgress {
    position: absolute;
    z-index: 100;
    padding: 5px 25px;
    background: var(--c-carbon);
    opacity: 0.9;
}

#about-page-3 {
    width: 100%;
    height: 100%;
    position: relative;
    opacity: 0.25;
}


.about-img-square-1{
    width: calc(100% /3);
    height: calc(100% /3);
    background: red;
    position: absolute;
    background-size: contain;
    background-position: center;
    mix-blend-mode: saturation;
}

.about-img-square-2{

}

.about-img-square-3{

}



/*--------------------------------------------------------------------------------*/
/*--PORTFOLIO---------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/

#square-n2-portfolio {
    --size : var(--square-n2-size);
    width: var(--size);
    height: var(--size);
    background-image: url(../assets/Grids-05.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: border-box;


    position: relative;
    z-index: 10;

    transition-duration: var(--project-td);
    transition-timing-function: var(--project-ttf);
}

#square-n2-portfolio-mask{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
}




#project-presentation-buttons {
    width: 100%;
    height: 5.3%;
    top: -7%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

#project-presentation-buttons button{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    outline: none;
    transition-duration: 0.2s;
}

#project-presentation-buttons svg{
    height: 50%;
}

.presentation-button-disabled {
    background: none;
    border: 1px solid var(--c-saphir);
}
.presentation-button-disabled svg{
    fill: var(--c-saphir);
}

.presentation-button-active {
    background: none;
    border: 1px solid var(--c-diamond);
}
.presentation-button-active svg{
    fill: var(--c-diamond);
}
.presentation-button-active:hover {
    cursor: pointer;
    background: var(--c-diamond);
}
.presentation-button-active:hover svg{
    fill: var(--c-carbon); 
}







.portfolio-page {
    width: 94%;
    height: 94%;
    position: absolute;
    top: 3%;
    left: 3%;
    transition-duration: 1s;
}

.hidden-portfolio-page {
    top: 3%;
    left: 103%;
}

.project-box{
    width: 29%;
    height: 29%;
    position: absolute;
    transition-duration: var(--project-td);
    transition-timing-function: var(--project-ttf);
    cursor: pointer;
    transform: scale(1);
}

.previous-box-sm{
    width: 29%;
    height: 29%;
}
.current-box-sm{
}
.next-box-sm {
    width: 29%;
    height: 29%;
}


.open-project {
    cursor: default !important;
}

.project-box-1 {
    left: 0%;
    top: 0%;
}
.project-box-2 {
    left: 35.3%;
    top: 0;
}
.project-box-3 {
    left: 70.6%;
    top: 0;
}
.project-box-4 {
    top: 35.3%;
    left: 0%;
}
.project-box-5 {
    left: 35.3%;
    top: 35.3%;
}
.project-box-6 {
    left: 70.6%;
    top: 35.3%;
}
.project-box-7 {
    top: 70.6%;
    left: 0%;
}
.project-box-8 {
    left: 35.3%;
    top: 70.6%;
}
.project-box-9 {
    left: 70.6%;
    top: 70.6%;
}


/* width */
.size-1-scrollbar::-webkit-scrollbar {
    width: 4px;
    cursor: pointer;
}
/* Track */
.size-1-scrollbar::-webkit-scrollbar-track {
    background: var(--c-carbon); 
}

/* Handle */
.size-1-scrollbar::-webkit-scrollbar-thumb {
    background: var(--c-saphir); 
}

/* Handle on hover */
.size-1-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--c-diamond);
}

/* width */
.size-2-scrollbar::-webkit-scrollbar {
    width: 15px;
    cursor: pointer;
}
/* Track */
.size-2-scrollbar::-webkit-scrollbar-track {
    background: var(--c-carbon); 
}

/* Handle */
.size-2-scrollbar::-webkit-scrollbar-thumb {
    background: var(--c-saphir); 
}

/* Handle on hover */
.size-2-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--c-diamond);
}



.project {
    /*    background: cyan;*/
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    overflow-y: hidden;
    overflow-x: hidden;
    background: rgba(12, 12, 12, 0);
}

.project:before {
    content: '';
    width: 98%;
    height: 98%;
    position: absolute;
    z-index: 10;
    border: 0px solid var(--c-saphir);
    display: none;
}

.project:hover:before {
    display: inherit;
    border: 1px solid var(--c-saphir);
}

.open-project .project:before {
    display: none;
    z-index: -1;
}

.open-project .project{
    overflow-y: scroll;
    transition-duration: var(--project-td);
    transition-timing-function: var(--project-ttf);
    background: rgba(12, 12, 12, 0.90);
}



.project-header {
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    background: rgb(0, 0, 0);
    transition-duration: var(--project-td);
    transition-timing-function: var(--project-ttf);
}

.open-project .project-header {
    background: none;
}

.project-header img{
    width: 400%;
    transition-duration: 0s;
    position: absolute;
    mix-blend-mode: luminosity;
}

.op-anim-delay .project-header img{
    transition-duration: 1s !important;
}

.project-box:hover .project-header img {
    mix-blend-mode: normal !important;
    opacity: 1;
}

.open-project .project-header img{
    mix-blend-mode: normal !important;
    transition-duration: 1s;
    position: relative;
}



.project-body {
    position: absolute;
    top: 100%;
    z-index: 0;
    width: 100%;
    transition-duration: var(--project-td);
    transition-timing-function: var(--project-ttf);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(12, 12, 12, 0.75);
    padding-bottom: 10%;
    opacity: 0;
}

.open-project .project-body{
    top: 88.6%;
    transition-delay: 1s;
    transition-timing-function: cubic-bezier(0, .51, .43, 1.44);
    opacity: 1;
}

.project-body img {
    width: 100%;
    height: auto;
    margin-bottom: 11%;
    background: var(--c-vantablack);
    cursor: pointer;
    transition-duration: 0.3s;
    transition-timing-function: cubic-bezier(0, 1, .51, 1);
    opacity: 0.25;
    transform: scale(0.9);
    mix-blend-mode: luminosity;
}

.project-body img:hover {
    transform: scale(1);
    opacity: 1;
    mix-blend-mode: normal;
}

.project-img-highlight{
    transform: scale(1) !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}

.p-bar{
    width: 100%;
    height: 1px;
    background-color: var(--c-saphir);

    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0, .51, .43, 1.44);
}

.p-top-bar {
    position: absolute;
    top: 0;
    width: 0;
}

.open-project .p-top-bar{
    width: 100%;
}

.p-bottom-bar{
    position: absolute;
    bottom: 0;
}





#tempo{
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.78);
    position: absolute;
    z-index: 100;
}



/*--------------------------------------------------------------------------------*/
/*--CONTACT PAGE --------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/



#contact-container {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contact-container p{
    color: var(--c-amber);
}

#contact-container a:hover{
    color: var(--c-amber);
    transform: scale(1.1);
}

#contact-container h1{
    margin: 5px;
}



































