:root{
    --black : #000;
    --black2 : rgb(18, 18, 18);
    --white : #FFF;
    --global-space : (100vw / 18);
    --animBigTitle : 200vh;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
/* html {
scroll-behavior: smooth;
} */
html, body{
    background-color: var(--black);
    color: var(--white);
    margin: 0;
    padding: 0;
}
body{
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
}
/* main::before {
	animation: grain 8s steps(10) infinite;
	background-image: url(assets/noise.png);
	content: '';
	height: 300%;
	left: -50%;
	opacity: 0.6;
	position: fixed;
	top: -100%;
	width: 300%;
    z-index: 9999999;
    pointer-events: none;
} */

@keyframes grain {
  0%, 100% { transform:translate(0, 0); }
  10% { transform:translate(-5%, -10%); }
  20% { transform:translate(-15%, 5%); }
  30% { transform:translate(7%, -25%); }
  40% { transform:translate(-5%, 25%); }
  50% { transform:translate(-15%, 10%); }
  60% { transform:translate(15%, 0%); }
  70% { transform:translate(0%, 15%); }
  80% { transform:translate(3%, 35%); }
  90% { transform:translate(-10%, 10%); }
}

main::-webkit-scrollbar {
    display: none;
  }


    /* HELPER */
.anim-300{
    transition: all 400ms ease-out;
}
a {
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
}
a, .cursor-hover, .anchor{
    cursor: pointer;
}
.position-relative{position: relative;}


.stroke-text {
    color: var(--black);
    /* -webkit-text-stroke: 1px white; */
    text-stroke: 1px white;
    opacity: 0.5;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.small-text{
    font-size: 0.7rem;
    line-height: 120%;
    font-weight: 300;
    
}

.title-overflow {
    width: 100%;
    height: 100%;
    overflow: hidden;
    height: max-content;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
}

.opacity-in{
    opacity: 0;
    transform: translate(0, 20vh);
}

em {
    font-style: normal;
    transition: color 300ms ease-in;
}

/* END HELPER */


/* **************** */
/* ***** HEADER *****/
/* **************** */
/* LOGO */
header{
    display: flex;
    height: 0%;
    width: 100%;
    padding: calc((var(--global-space)) * 1);
    justify-content: space-between;
    position: fixed;
    z-index : 9992;
    top: 0;
    left: 0;
}
.main-logo{
    font-size: 6rem;
    display: flex;
    height: 100%;
    position: relative;
}
.main-logo svg {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    transition-delay: 0s;
}
.main-logo p{
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 95%;
    transition-delay: 0.3s;
}
.main-logo p .big-name{
    margin-left: -0.4rem;
}
.main-logo p .small-text{
    font-size: 0.8rem;
    line-height: 2.5rem;
    letter-spacing: 0.3rem;
    font-weight: 300;
}
/* NAV */
#main-nav{
    display: flex;
    margin-right: 0px;
    margin-left: auto;
    align-items: flex-start;
    justify-content: flex-end;
}
#main-nav ul{
    list-style: none;
    display: flex;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    margin: 0px;
    padding: 0px;
    align-items: center;
}
#main-nav ul li{
    margin-right: 2rem;
}
#main-nav ul li:last-child{
    margin-right: 0rem;
}
#main-nav ul li .huge-spacing {
    letter-spacing: 2rem;
    margin-right: -2rem;
    text-align: right;
    transition-delay: 0s;
    padding: 1rem 0;
}

.repeat-text{
    position: absolute;
    left: 50%;
    top: calc(100% - 1rem);
    transition: all 0.3s ease-out;
    pointer-events: none;
}

.repeat-text:nth-of-type(2){
    transform: translate(-50%, 0%);
    opacity: 0.5;
    transition-delay: 0.1s;
}
.repeat-text:nth-of-type(3){
    transform: translate(-50%, 100%);
    opacity: 0.3;
    transition-delay: 0.2s;
}
.repeat-text:nth-of-type(4){
    transform: translate(-50%, 200%);
    opacity: 0.2;
    transition-delay: 0.3s;
}
.repeat-text:nth-of-type(5){
    transform: translate(-50%, 300%);
    opacity: 0.05;
    transition-delay: 0.4s;
}

a:hover .repeat-text{
    transform: translate(-50%, 0%);
    opacity: 0;
    top : 0;
}
#colorpicker-btn{
    cursor: pointer;
}



/* FIXE BOTTOM LEFT */
.arrow{
    position: fixed;
    left: calc((var(--global-space)) * 1);
    bottom: calc((var(--global-space)) * 1);
    z-index: 999;
    transition-delay: 0s;
    display: flex;
    flex-direction: column;
}

.repeat-arrow svg{
    position: absolute;
    left: 0%;
    top: 0%;
}
.repeat-arrow svg:nth-of-type(1){
    transform: translate(0%, -45%);
    opacity: 0.2;
    transition-delay: 0.2s;
}
.repeat-arrow svg:nth-of-type(2){
    transform: translate(0%, -90%);
    opacity: 0.1;
    transition-delay: 0.3s;
}
.repeat-arrow svg:nth-of-type(3){
    transform: translate(0%, -135%);
    opacity: 0.05;
    transition-delay: 0.4s;
}

.arrow .small-text{
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    line-height: 1.3rem;
}




/* CIRCLE */
.circle-div{
    position: fixed;
    z-index : 999;
    right: calc((var(--global-space)) * 2.5);
    top: calc((var(--global-space)) * 5);
    height: 200px;
    width: 200px;
    transform: translate(0, 0%) scale(1);
    transform-origin: bottom right;
}
#circle {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: rotate(0deg) scale(1);
}
.circle-div:hover #circle {
    transform: rotate(-90deg) scale(2);
}
#circle svg {
  
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-animation-name: rotate;
  animation-name: rotate;
  animation-duration: 8s;
  -o-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}


@keyframes rotate {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0);    
  }
}

.blitz{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg) scale(1);
    height: 101px;
    width: 64px;
}
.circle-div:hover .blitz{
    transform: translate(-50%, -50%) rotate(5deg) scale(1.5);
}
.blitz > div{
    display: flex;
    align-items: center;
    justify-content: center;
}
.glitch{
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
.glitch1 path{
    fill: blue;
}
.glitch2 path{
    fill: rgb(255, 0, 212);
}
.circle-div:hover .glitch1,
.footer-on .circle-div .glitch1{
    mix-blend-mode: difference;
    animation: glitch 0.3s linear infinite ;
}
.circle-div:hover .glitch2,
.footer-on .circle-div .glitch2{
    mix-blend-mode: difference;
    animation: glitch 0.3s linear infinite reverse;
}

@keyframes glitch {
    0% {
      top: calc(50% - 0);
      left: calc(50% - 0);
    }
    20% {
      top: calc(50% - -5px);
      left: calc(50% - -5px);
    }
    40% {
      top: calc(50% - 5px);
      left: calc(50% - 5px);
    }
    60% {
      top: calc(50% - -5px);
      left: calc(50% - 5px);
    }
    80% {
      top: calc(50% - 5px);
      left: calc(50% - -5px);
    }
    100% {
      top: calc(50% - 0);
      left: calc(50% - 0);
    }
  }
  

/* BOTTOM RIGHT */

.since {
    position: fixed;
    z-index : 999;
    right: calc(var(--global-space) * 1);
    bottom: calc((var(--global-space)) * 1);
    color: var(--black);
    background-color: var(--white);
    font-size: 0.6rem;
    padding: 0.3rem 0.3rem 0.3rem 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}



/* GRADIENT ANIM */

.title-gradient-anim {
    text-align: center;
    /* background: radial-gradient( var(--black), var(--tonic), var(--tonic));
    background-size: 400% auto; */
    color: var(--tonic);
    /* background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    will-change: background-position; */
}   

/* .gradient-anim-1{
    -webkit-animation: shine-1 10s linear infinite;
            animation: shine-1 10s linear infinite;
  }
  @-webkit-keyframes shine-1 {
    to {
      background-position: 400% 100%;
    }
  }
  @keyframes shine-1 {
    to {
      background-position: 400% 400%;
    }
  }
.gradient-anim-2{
    -webkit-animation: shine-2 14s linear infinite;
        animation: shine-2 14s linear infinite;
    }
    @-webkit-keyframes shine-2 {
        to {
            background-position: 400% 400%;
        }
    }
    @keyframes shine-2 {
        to {
            background-position: 400% 100%;
        }
    } */



  /* MASK */
  .mask-top,
  .mask-bottom{
    position: fixed;
    left: 0;
    background: linear-gradient(#000, #00000000);
    height: 25vh;
    width: 100%;
    z-index: 998;
    pointer-events: none;
  }
  .mask-bottom{transform: rotate(180deg); bottom: 0;}
  .mask-top{ top: 0;}


/* FONTS */
@font-face {
    font-family: 'Brier';
    src: url('fonts/Brier-Regular.woff2') format('woff2'),
        url('fonts/Brier-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Glysa';
    src: url('fonts/Glysa-Medium.woff2') format('woff2'),
        url('fonts/Glysa-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


/* CURSOR */
.mf-cursor:before{
    background-color: var(--white)!important;
}
.mf-cursor{
    z-index: 9999999999!important;
}
/* .mf-cursor {
    mix-blend-mode: difference;
} */
.mf-cursor-text{
    color: var(--black)!important;
}
.mf-cursor.-text{
    mix-blend-mode: normal!important;
}
.mf-cursor.-text:before{
    background: var(--tonic)!important;
    opacity: 1!important;
}
.mf-cursor.-color:before,
.mf-cursor.-close-detail-content:before{
    background: transparent!important;
}
.up .mf-cursor.-portfolio .mf-cursor-inner .mf-cursor-text{
    transform: rotate(180deg);
}