/*Fonts*/

.header_font { /*For the nav & headers*/
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: italic;
  font-size: 21px;
  line-height: 125%;
}

.title_font { /*For titles of projects on the list page*/
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 21px;
  text-decoration: underline;
  line-height: 135%;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.body_font { /*For the descriptions of projects*/
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: 14px;
  line-height: 138%;
  letter-spacing: -2%;
}

.secondary_font { /*For the filter button and the page number button*/
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: italic;
  font-size: 11px;
  line-height: 135%;
}

.project_title_font { /*For the individual project page titles*/
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 700;
  line-height: 130%;
  font-size: 26px;
}

.project_byline_font { /*For the individual project page date and external link*/
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 11px;
}

.about_font {
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: 17px;
  line-height: 130%;
  letter-spacing: -2%;
}

#robot {
  mix-blend-mode: screen;
  height: 90vh;
  left: 0px;
  top: 0px;
  /*filter: saturate(1.8) hue-rotate(-10deg) brightness(1.1);*/
  padding-bottom: 135px;
  animation: wave 3s alternate infinite ease-in-out;
  z-index: 99;
  display: none;
}

#robot-pic {
  mix-blend-mode: screen;
  width: 100%;
  left: 0px;
  top: 0px;
  /*filter: saturate(1.8) hue-rotate(-10deg) brightness(1.1);*/
  animation: wave 3s alternate infinite ease-in-out;
  z-index: 99;
}

@keyframes wave {
  0% { transform: scale(1) skewX(0deg); }
  33% { transform: scale(1.01) skewX(2deg); }
  66% { transform: scale(.99) skewX(0deg); }
  100% { transform: scale(1) skewX(2deg); }
}

.wave-user {
  animation: wave 3s alternate infinite ease-in-out;
}

/*Next thing*/

body, h1, h2, p, footer { /* Reset */
  margin: 0;
  padding: 0;
}

#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -999;
}

.space50 {
  padding-top: 30px;
}

.space40 {
  padding-top: 30px;
}

.space10 {
  padding-top: 10px;
}

.space5 {
  padding-top: 5px;
}

.space70 {
  padding-top: 70px;
}

.space100 {
  padding-top: 60px;
}

.space25 {
  padding-top: 25px;
}

.spacegutter {
  padding-top: 10px;
}

.mobile30 {
  padding-top: 30px;
}

.rule {
  border-bottom: 1px solid;
  padding-top: 3px;
  color: white;
}

img {
  width: 100%;
}

.top_position {
  padding-top: 100px;
}

.bottom_position {
  padding-bottom: 50px;
}

#nav {
  text-align: right;
  color: #ffffff;
  padding-top: 50px;
  z-index: 99;
}

body {
  background-color: black;
  color: white;
  overflow-x: hidden;

  /*
    background-image: url('Media/Images/body-alchemy-cover.png');
    background-size: cover;      
    background-repeat: no-repeat;  
    background-position: center;   */
    
}

a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  transition: color 0.3s ease; 
}

a:hover {
  color: #f2235d;
}

::selection {
  background-color: rgb(44, 44, 44);
}

.selected {
  color: #f2235d;
}

#nav a:hover {
  color: #f2235d;
}

#white-link:hover {
  color: #f2235d;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-color: rgb(53, 53, 53) rgb(14, 14, 14);
}

#white-link {
  color: white;
}

#icons {
  width: 20px;
  padding-right: 4.5px;
  margin-bottom: -1.5px;
  height: 13px;
  margin-top: 1.5px;
}

.hidden {
  visibility: hidden;
  pointer-events: none;
  display: none;
}

.clickable {
  cursor: pointer;
}

.project-space {
  padding-top: 50px;
}

.thumbnail-space {
  padding-bottom: 10px;
}

#data {
  padding-top: 50px;
  margin-top: -50px;
}

.arrow {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-right: 1.875px solid #ffffff;
  border-bottom: 1.875px solid #ffffff;
  transform: rotate(45deg);
  margin-bottom: 2.25px;
  transition: transform 0.2s ease;
}

.arrow.left {
  transform: rotate(135deg);
  margin-bottom: 2px;
}

.arrow.right {
  transform: rotate(-45deg);
  margin-bottom: 2px;
}

.glitchy {
  fill: white;
  animation: glitch-effect 5s infinite ease-in-out;
  transform-origin: center;
}

.inline {
  display: inline-block;
}

@keyframes glitch-effect {
  0% {
    transform: translate(0px, 0px) scale(0.95) skewX(0deg) skewY(2deg);
    opacity: 1;
  }

  25% {
    transform: translate(-1px, 1px) scale(1) skewX(-2deg) rotate(-0.5deg);
    opacity: 0.9;
  }

  27% {
    transform: translate(5px, -5px) scale(0.95) skewX(1deg);
    opacity: 0.5;
  }

  28% {
    transform: translate(-15px, -20px) scale(0.95) skewX(1deg);
    opacity: 0.2;
  }

  29% {
    transform: translate(-5px, 5px) scale(0.95) skewX(1deg);
    opacity: 0.8;
  }

  50% {
    transform: translate(1px, -1px) scale(0.95) skewX(1deg);
    opacity: 0.8;
  }


  75% {
    transform: translate(2px, 2px) scale(1) skewX(-2deg) rotate(.5deg);
    opacity: 0.9;
  }

  78% {
    transform: translate(-5px, 1px) scale(0.95) skewX(1deg);
    opacity: 0.5;
  }

  79% {
    transform: translate(25px, 3px) scale(0.95) skewX(1deg);
    opacity: 0.2;
  }

  80% {
    transform: translate(-5px, 5px) scale(0.95) skewX(1deg);
    opacity: 0.8;
  }

  100% {
    transform: translate(0px, 0px) scale(0.95) skewX(0deg) skewY(2deg);
    opacity: 1;
  }
}

.height_bot {
  height: 90vh;
}

@media only screen and (min-width: 48em) {

/*Fonts*/

.header_font { /*For the nav & headers*/
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: italic;
  font-size: 26px;
  line-height: 125%;
}

.title_font { /*For titles of projects on the list page*/
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 26px;
  text-decoration: underline;
  line-height: 135%;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.body_font { /*For the descriptions of projects*/
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: 18px;
  line-height: 138%;
  letter-spacing: -2%;
}

.secondary_font { /*For the filter button and the page number button*/
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: italic;
  font-size: 15px;
  line-height: 135%;
}

.project_title_font { /*For the individual project page titles*/
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 36px;
}

.project_byline_font { /*For the individual project page date and external link*/
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 15px;
}

.about_font {
  color: white;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: 24px;
  line-height: 130%;
  letter-spacing: -2%;
}

.top_position {
  padding-top: 60px;
}

#nav {
  padding-top: 60px;
}

.project-space {
  padding-top: 0px;
}

.fixed {
  position: fixed;
}

.arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2.5px solid #ffffff;
  border-bottom: 2.5px solid #ffffff;
  transform: rotate(45deg);
  margin-bottom: 3px;
  transition: transform 0.2s ease;
}

.arrow.left {
  transform: rotate(135deg);
  margin-bottom: 2px;
}

.arrow.right {
  transform: rotate(-45deg);
  margin-bottom: 1.5px;
}

.mobile30 {
  padding-top: 0px;
}

.space50 {
  padding-top: 50px;
}

#icons {
  width: 24px;
  padding-right: 6px;
  margin-bottom: -2px;
  height: 17px;
  margin-top: 6px;
}

#robot {
  mix-blend-mode: screen;
  height: 100vh;
  left: 0px;
  top: 0px;
  /*filter: saturate(1.8) hue-rotate(-10deg) brightness(1.1);*/
  padding-bottom: 50px;
  animation: wave 3s alternate infinite ease-in-out;
  z-index: 99;
  display: block;
}

#robot-pic {
  mix-blend-mode: screen;
  height: 100vh;
  left: 0px;
  top: 0px;
  /*filter: saturate(1.8) hue-rotate(-10deg) brightness(1.1);*/
  padding-bottom: 135px;
  animation: wave 3s alternate infinite ease-in-out;
  z-index: 99;
  display: none;
}

.height_bot {
  height: 90vh;
  display: none;
}

.glitchy {
  fill: white;
  animation: glitch-effect 5s infinite ease-in-out;
  filter: drop-shadow(2px 0 red) drop-shadow(-2px 0 cyan);
  transform-origin: center;
}

@keyframes glitch-effect {
  0% {
    transform: translate(0px, 0px) scale(0.95) skewX(0deg) skewY(2deg);
    opacity: 1;
    filter: drop-shadow(3px -1px magenta) drop-shadow(-3px 1px lime);
  }

  25% {
    transform: translate(-1px, 1px) scale(1) skewX(-2deg) rotate(-0.5deg);
    opacity: 0.9;
    filter: drop-shadow(3px -1px rgb(255, 0, 0)) drop-shadow(-3px 1px lime);
  }

  27% {
    transform: translate(5px, -5px) scale(0.95) skewX(1deg);
    opacity: 0.5;
    filter: drop-shadow(4px 0 cyan) drop-shadow(-4px 0 red);
  }

  28% {
    transform: translate(-15px, -20px) scale(0.95) skewX(1deg);
    opacity: 0.2;
    filter: drop-shadow(4px 0 cyan) drop-shadow(-4px 0 red);
  }

  29% {
    transform: translate(-5px, 5px) scale(0.95) skewX(1deg);
    opacity: 0.8;
    filter: drop-shadow(4px 0 cyan) drop-shadow(-4px 0 red);
  }

  50% {
    transform: translate(1px, -1px) scale(0.95) skewX(1deg);
    opacity: 0.8;
    filter: drop-shadow(4px 0 cyan) drop-shadow(-4px 0 red);
  }


  75% {
    transform: translate(2px, 2px) scale(1) skewX(-2deg) rotate(.5deg);
    opacity: 0.9;
    filter: drop-shadow(2px -1px blue) drop-shadow(-2px 1px red);
  }

  78% {
    transform: translate(-5px, 1px) scale(0.95) skewX(1deg);
    opacity: 0.5;
    filter: drop-shadow(4px 0 cyan) drop-shadow(-4px 0 red);
  }

  79% {
    transform: translate(25px, 3px) scale(0.95) skewX(1deg);
    opacity: 0.2;
    filter: drop-shadow(4px 0 cyan) drop-shadow(-4px 0 red);
  }

  80% {
    transform: translate(-5px, 5px) scale(0.95) skewX(1deg);
    opacity: 0.8;
    filter: drop-shadow(4px 0 cyan) drop-shadow(-4px 0 red);
  }

  100% {
    transform: translate(0px, 0px) scale(0.95) skewX(0deg) skewY(2deg);
    opacity: 1;
    filter: drop-shadow(3px -1px magenta) drop-shadow(-3px 1px lime);
  }
}

.spacegutter {
  padding-top: 16px;
}

.space40 {
  padding-top: 40px;
}

}