
@font-face {
  font-family: 'Milkman';
  src: url('../fonts/milkman.woff2');
}

@font-face {
  font-family: 'Default Lingo';
  src: url('../fonts/DefaultLingo-Regular.woff2');
}

@font-face {
  font-family: 'Dreamer TM';
  src: url('../fonts/Dreamer\ TM.woff2');
}

@font-face {
  font-family: 'Cinema';
  src: url('../fonts/Cinema.woff2');
}

@font-face {
  font-family: 'Px Grotesk';
  src: url('../fonts/Px-Grotesk-Light.woff');
  font-weight: 300;
}

@font-face {
  font-family: 'Px Grotesk';
  src: url('../fonts/Px-Grotesk-Regular.woff');
  font-weight: 400;
}

@font-face {
  font-family: 'Px Grotesk';
  src: url('../fonts/Px-Grotesk-Bold.woff');
  font-weight: 700;
}

:root {
  --black: rgba(0,0,0,1);
  --white: rgba(255,255,255,1);
  --title: 'Milkman', sans-serif;
  --main: 'Px Grotesk', sans-serif;
  --random-color: black;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, a, p, nav, li, ul, strong, span {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style-type: none;
}

a {
  color: var(--black);
  display: inline-block;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--title);
  background-color: var(--black);
  font-size: 16px;
  user-select: none;
}

.mainText {
  font-family: 'Px Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 16px, 4em);
  text-align: justify;
}

.white {
  color: var(--white);
}

.flex {
  display: flex;
}

.underline {
  /*text-decoration: underline;*/
  border: 1px var(--random-color) solid;
  /*background-color: var(--black);*/
  color: var(--white);
  border-radius: 1000px;
  padding: 5px 25px;
}

.underline:hover {
  border: 1px var(--random-color) solid;
  background-color: var(--random-color);
  color: var(--black);
  border-radius: 1000px;
  padding: 5px 25px;
}

.skillsButton {
    border: 1px var(--random-color) solid;
    background-color: var(--random-color);
    color: var(--white);
    border-radius: 1000px;
    padding: 5px 25px;
}

.skillsButton:hover {
  background-color: var(--white);
  color: var(--random-color);
  border: 1px var(--white) solid;
}

.split {
  width: 50%;
  min-height: 100px;
}

button {
  border-radius: 1000px;
}

/* HEADER */

header {
  margin-top: 0;
  min-height: 100vh;
}

header h1 {
  font-size: clamp(24px, 5vw, 4em);
  font-weight: 900;
  width: 45vw;
  color: var(--white);
}

header strong {
  font-size: clamp(24px, 5vw, 4em);
  font-weight: 900;
  width: 50vw;
  color: var(--white);
}

.contactList {
  display: flex;
  justify-content: space-between;
}

header .topText {
  font-size: clamp(24px, 5vw, 4em);
  font-weight: 900;
  width: 50vw;
  color: var(--white);
}

@keyframes blur {
  0% {filter: invert(0) blur(0px);}
  20% {filter: invert(0) blur(4px);}
  40% {filter: invert(0) blur(0px);}
  60% {filter: invert(0) blur(4px);}
  80% {filter: invert(0) blur(2px);}
  100% {filter: invert(0) blur(0px);}
}

#container3D canvas {
  width: 100% !important;
  height: 100vh !important;
  position: absolute;
  top: 0;
  left: 0;
  mix-blend-mode:exclusion;
  /*animation: blur 5s ease-in-out infinite;*/
  /*opacity: 85%;*/
}

.bottom {
  position: absolute;
  bottom: 3vw;
}

.top {
  position: absolute;
  top: 3vw;
  width: 45%;
}

.left {
  position: absolute;
  left: 3vw;
  text-align: left;
}

.right {
  position: absolute;
  right: 3vw;
  text-align: right;
}

.quarter {
  width: 25%;
}

main {
  margin-top: -100vh;
}

/* NAV */

/*
.trail {
  height: 2vh;
}
*/

.trail:nth-child(even) {
  background-color: var(--white);
}


.navigationbar {
  margin-top: 100vh;
}


.navList {
  flex-direction: column;
}

nav {
  border-bottom: 1px solid white;
}

.navElement {
  font-family: var(--title);
  display: flex;
  justify-content: space-between;
  font-size: clamp(24px, 10vw, 10em);
  line-height: 1em;
  padding: .4em 3vw .2em 3vw;
}

.navElement img {
  height: .8em;
  opacity: 100;
  transform: rotate(90deg);
  transition: transform .5s ease, margin-right .5s ease;
  margin-right: 0;
  margin-left: 20px;
}

.navElement:nth-child(odd) {
  background-color: var(--white);
  color: var(--black);
}

.navElement:nth-child(even) {
  color: var(--white);
}

.navElement:nth-child(even) a {
  color: var(--white);
}

ul .navElement:hover {
  background-color: var(--random-color);
  padding-left: 10vw;
}

.navElement:hover img  {
  opacity: 100;
  transform: rotate(0deg);
}



.navElement:hover a {
  text-transform: uppercase;
  margin-left: auto;
}

.lowercase {
  text-transform: lowercase;
}


/* SKILLS */

#skills {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.skillsContainer {
  padding: 0vh 3vw 0vh 3vw;
}

.skillsContainer .titleContainer {
  height: clamp(30px, 7vw, 7em);
  justify-content: space-between;
  align-items: center;
}

.skillsContainer .titleContainer .title {
  font-size: clamp(30px, 7vw, 7em);
  color: var(--white);
  font-weight: 300;
}

.skillsArrow {
  width: 20vw;
}

.black {
  color: var(--black);
  font-size: clamp(14px, 10vw, 2em);
  font-weight: 300;
  text-align: left;
}

.skillsContainer .mainText {
  line-height: 2.4em;
  text-indent: 5%;
}

.skillsContainer a {
  display: inline;
;
}

/*WORK*/

#work {
  background: var(--white);
}

.workContainer {
  padding: 10vh 3vw 10vh 3vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.workContainer .titleContainer h2 {
  text-align: left;
  
}


.workContainer a {
  /*margin: 2vh auto;*/
}

.workContainer h2 {
  font-size: clamp(30px, 7vw, 7em);
}


.workList {
  flex-wrap: nowrap;
  width: 100%;
  height: 400px;
  gap: 28px;
}

@media screen and (max-width: 600px) {
  .workList {
    flex-wrap: wrap;
    height: auto;
    min-height: 2000px;
    width: 100%;
  }

  .contactList {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

.workList a {
  filter: blur(5px);
  transition: all .25s linear;
  will-change: filter;
}

@media screen and (max-width: 600px) {
  .workList a {
    filter: blur(0px);
    transition: all .25s linear;
    will-change: filter;
  }
}

.workList a:hover {
  filter: blur(0px);
}


.workTitle {
  opacity: 0;
  font-size: .2em;
}

.general {
  width: 100%;
  height: 100%;
}

a#general {
  background-image: url(/img/portfolio_general.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  display: block;
  width: auto;
  height: 100%;
}

a#general:hover {
  background-image: url(/img/portfolio_general.gif);
}

.rakata {
  width: 100%;
  height: 100%;
}

a#rakata {
  background-image: url(/img/portfolio_rakata.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  display: block;
  width: 100%;
  height: 100%;
}

a#rakata:hover {
  background-image: url(/img/portfolio_rakata.gif);
}

.ov {
  width: 100%;
  height: 100%;
}

a#ov {
  background-image: url(/img/portfolio_ov.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  display: block;
  width: 100%;
  height: 100%;
}

a#ov:hover {
  background-image: url(/img/portfolio_ov.gif);
}

.isaac {
  width: 100%;
  height: 100%;
}

a#isaac {
  background-image: url(/img/portfolio_isaac.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  display: block;
  width: 100%;
  height: 100%;
}

a#isaac:hover {
  background-image: url(/img/portfolio_isaac.gif);
}

.pureswiss {
  width: 100%;
  height: 100%;
}

a#pureswiss {
  background-image: url(/img/portfolio_pureswiss.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  display: block;
  width: 100%;
  height: 100%;
}

a#pureswiss:hover {
  background-image: url(/img/portfolio_pureswiss.gif);
}


@media screen and (max-width: 600px) {
  .general {
    height: 75vh;
  }

  a#general {
    background-image: url(/img/portfolio_general.gif);
  }

  .ov {
    height: 75vh;
  }

  a#ov {
    background-image: url(/img/portfolio_ov.gif);
  }

  .pureswiss {
    height: 75vh;
  }

  a#pureswiss {
    background-image: url(/img/portfolio_pureswiss.gif);
  }

  .isaac {
    height: 75vh;
  }

  a#isaac {
    background-image: url(/img/portfolio_isaac.gif);
  }

  .rakata {
    height: 75vh;
  }

  a#rakata {
    background-image: url(/img/portfolio_rakata.gif);
  }
}



/*CONTACT*/

@keyframes TitlePixel {
  0% {
    font-feature-settings: "salt" 1;
  }

  33% {
    font-feature-settings: "ss02" 1;
  }

  66% {
    font-feature-settings: "salt" 0;
  }

  100% {
    font-feature-settings: "salt" 1;
  }
}

@keyframes TitleIndent {
  0% {
    font-feature-settings: "ss02" 1;
  }

  33% {
    font-feature-settings: "ss02" 0;
  }

  66% {
    font-feature-settings: "salt" 1;
  }

  100% {
    font-feature-settings: "ss02" 1;
  }
}

@keyframes TitleBase {
  0% {
    font-feature-settings: "ss02" 0;
  }

  33% {
    font-feature-settings: "salt" 1;
  }

  66% {
    font-feature-settings: "ss02" 1;
  }

  100% {
    font-feature-settings: "ss02" 0;
  }
}

#contact {
  color: white;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: -100vh;
}

.contactVideo {
/*  width: 100vw;*/
  height: 100vh;
}

#contactBackground {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  object-fit: cover;
  z-index: -1;
  margin: 0 auto;
}


.contactContainer h2 {
  font-size: clamp(30px, 10vw, 7em);
  font-weight: 300;
  font-family: 'Default Lingo', serif;
  
}

.contactTitlePixel {
  animation: 1.5s TitlePixel linear;
  animation-iteration-count: infinite;
  letter-spacing: -.05em;
}

.contactTitleIndent {
  animation: 1.5s TitleIndent linear;
  animation-iteration-count: infinite;
  letter-spacing: -.05em;
}

.contactTitleBase {
  animation: 1.5s TitleBase linear;
  animation-iteration-count: infinite;
  letter-spacing: -.05em;
}

.contactContainer a {
  color: var(--white);
  display: inline;
}

.contactContainer {
  padding: 5vh 3vw 5vh 3vw;
  display: flex;
  flex-direction: column;
  justify-content:space-between;
  min-height: 100vh;
}

.contactList .mainText {
  text-align: right;
}

.contactContainer a {
  font-family: var(--main);
  font-size: clamp(2em, 2em, 4em);
  font-weight: 300;
  border-bottom: 1px solid var(--white);
  display: inline-block;
  padding: .3em .5em;
  transition: all .4s ease;
}

.contactContainer a:hover {
  border-bottom: 1px solid var(--random-color);
  color: var(--random-color);
}

/*ARCHIVES */

#archives {
  min-height: 100vh;
  padding: 0vh 3vw 0vh 3vw;
  margin-top: 10vh;
}

.archivesContainer {
  flex-direction: column;
}

.archivesContainer h2 {
  font-weight: 100;
  font-size: 10em;
  font-family: Dreamer TM, serif;
  font-feature-settings: "ss01" 1;
  text-align: center;
  color: white;
}



.fontvariant {
  font-feature-settings: "ss01" 0;
  animation: variant linear 1s;
  animation-iteration-count: infinite;
}

.archivesContent {
  display: flex;
  flex-wrap: wrap;
}

.archivesElement {
  width: calc(100% / 3);
  margin-bottom: 5vh;
  max-height: 90vh;

}

.archivesElement source {
  width: 100%;
  height: 100%;
}

.exp {
  width: 20vw;
}

/*FOOTER */

footer {
  padding: 0 3vw;
  color: var(--white);
  font-weight: 300;
}

.footerContainer {
  position: relative;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2vh;
}

.cr {
  font-size: clamp(14px, 14px, 2em);
  font-family: var(--main);
  font-weight: 300;
  position: relative;
}

.divider {
  width: 100%;
  border-bottom: .5px solid var(--white);
  margin-bottom: 2vh;
}

.up {
  min-height: 20px;
  transform: rotate(225deg);
  transition: all .5s ease;
}

.up:hover {
  transform: translateY(-10px) rotate(225deg);
}

.socials {
  justify-content: center;
  align-items: center;
}


.socialIcon {
  min-height: 15px;
  min-width: 15px;
}

.socials li {
  margin-left: 2vw;
}

.skillIcon {
  height: clamp(10px, 4vh, 6vh);
  margin: 0 auto;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

.marquee {
  overflow: hidden;
  color: var(--black);
  min-height: 8vh;
  font-weight: 400;
  font-size: 60px;
  text-transform: lowercase;
  background-color: var(--black);
  border-bottom: 1px dashed var(--white);
  -webkit-text-stroke: .5px white;
}

.marquee__inner {
  display: flex;
}



.marquee__line {
  flex-shrink: 0;
  font-family: 'Default Lingo', serif;
  text-transform:uppercase;
  font-feature-settings: "salt";
  font-size: clamp(50px, 6vw, 10em);
  line-height: clamp(50px,6vw,10em);
  margin: 0;
  padding: 2vw 15px;
  min-width: 100%;
  white-space: nowrap;
  animation-name: marqueeLine;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes marqueeLine {
  from {
    transform: translateX(0);
  }
  
  to {
    transform: translateX(-100%);
  }
}

.iconsContainer {
  overflow: hidden;
  background-color: var(--black);
  color: var(--random-color);
  padding: 3vh 0 3vh 0;
  border-top: 1px dashed var(--white);
}

.icons__inner {
  display: flex;
}

.icons__line {
  display: flex;
  justify-content: space-evenly;
  margin: 0 auto;
  min-width: 200%;
  white-space: nowrap;
  animation-name: iconsLine;
  text-transform: lowercase;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes iconsLine {
  from {
    transform: translateX(-100%);
  }
  
  to {
    transform: translateX(0%);
  }
}

#loader {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: rgba(0, 0, 0, 1);
  padding: 20px 40px;
  border-radius: 8px;
  z-index: 7;
  width: 100vw;
  height: 100vh;
  transition: opacity 2s ease-in-out;
  pointer-events: none;
}

.textLoader {
  text-align: center;
  font-size: 20px;
  line-height: 20px;
  margin-top: 15px;
  pointer-events: none;
}

@keyframes fat {
  0% {transform: scale(100%);}
  50% {transform: scale(30%);}
  100% {transform: scale(100%);}
}

.circle {
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode:difference;
  animation: fat 3s infinite ease-in-out;
}

.iconLoader {
  height: 10vh;
}


body::-webkit-scrollbar {
  background: black;
}

body::-webkit-scrollbar-thumb {
  background: var(--random-color);
}


body::-webkit-scrollbar-track {
  background: var(--black);
}
@media screen and (max-width: 600px) {
  .circle {
    display: none;
  }

}

