html {
  box-sizing: border-box;
  font-size: 16px;
  background: #000;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/* small break */
@media (max-width: 410px) {
  h1 {
    font-size: 30px;
  }

  body {
    font-size: 18px;
  }

  .motto {
    margin: auto;
    max-width: 250px;
    padding-left: 5px;
    margin-top: 700px;
  }

  .object {
    width: 300px;
  }

  .stem {
    width: 300px;
    padding-top: 55px;
    padding-right: 0px;
  }

  .fullimg {
    margin: auto;
    margin-top: 200px;
  }
  
  .title{
  margin:auto;
  width: 100vw;
    min-width:300px;
  margin-top: 510px;
}
.title.low{
  margin-top:540px;
}
}

/* large break */
@media (min-width: 411px) {
  h1 {
    font-size: 42px;
  }

  body {
    font-size: 20px;
  }

  .motto {
    margin: auto;
    max-width: 400px;
    padding-left: 40px;
    padding-right: 20px;
    margin-top: min(max(950px, calc(100vh - 180px)), 1250px);
  }

  .object {
    width: 400px;
  }

  .stem {
    width: 400px;
    padding-top: 15px;
    padding-right: 0px;
  }

  .fullimg {
    margin: auto;
    margin-top: 400px;
  }
  
  .title{
  margin:auto;
  max-width: 600px;
  min-width: 350px;
  width: min(600px, 100vw);
  margin-top: min(max(550px, 55vh), 950px);
}
.title.low{
  margin-top: min(max(600px, 60vh), 1000px);
}
}

body {
  color: white;
  font-family: "Inconsolata";
  font-weight: 400;
  line-height: 1.5;
}

h1 {
  font-family: "DM Mono";
  font-weight: 400;
  color: white;
}

a {
  color: white;
  font-weight: 300;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  font-weight: 500;
}

img,
video {
  height: auto;
  max-width: 100%;
}

.top {
  position: absolute;
  top: 0;
}

.parallax {
  perspective: 1px;
  perspective-origin: 50% 50%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 300px;
  margin: auto;
  background: #000;
}

body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

.object-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: none;
  justify-content: center;
}

.speed-1 {
  transform: translateZ(-1px) scale(2);
}
.speed-1b {
  transform: translateZ(-1.9px) scale(2.9);
}


.speed-2 {
  transform: translateZ(-2px) scale(3);
}
.speed-2plus {
  transform: translateZ(-2.03px) scale(3.03);
}
.speed-2minus {
  transform: translateZ(-1.97px) scale(2.97);
}

.speed-2a{
  transform: translateZ(-2.2px) scale(3.2);
}
.speed-2b{
  transform: translateZ(-2.4px) scale(3.4);
}
.speed-2c{
  transform: translateZ(-2.8px) scale(3.8);
}

.speed-3 {
  transform: translateZ(-3px) scale(4);
}
.speed-3plus {
  transform: translateZ(-3.06px) scale(4.06);
}
.speed-3minus {
  transform: translateZ(-2.94px) scale(3.94);
}

.speed-3a{
  transform: translateZ(-3.3px) scale(4.3);
}


.speed-4 {
  transform: translateZ(-4px) scale(5);
}
.speed-4plus {
  transform: translateZ(-4.06px) scale(5.06);
}
.speed-4minus {
  transform: translateZ(-3.94px) scale(4.94);
}

.speed-5 {
  transform: translateZ(-5px) scale(6);
}
.speed-5plus {
  transform: translateZ(-5.1px) scale(6.1);
}
.speed-5minus {
  transform: translateZ(-4.9px) scale(5.9);
}

.stem {
  margin: auto;
  height: max(300vh, 4000px);
}
.stem-1 {
  margin-top: 0px;
}

.object {
  margin: auto;
  height: 400px;
}

.object-logo {
  margin-top: 140px;
}

.motto {
  height: 300px;
}

.fullimg {
  height: 100%;
  width: 100%;
  max-width: 5000px;
  max-height: 5000px;
  position: relative;
}

.fullimg video {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

video::-internal-media-controls-overlay-cast-button {
  display: none;
}

video::-internal-media-controls-overlay-cast-button {
  display: none;
}

.nocrop {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: none;
}

.fadein {
  position: absolute;
  height: 300px;
  width: 100%;
  top: -2px;
}

.fadeout {
  position: absolute;
  transform: rotate(180deg);
  bottom: -2px;
  height: 300px;
  width: 100%;
}

.bgimg {
  margin: auto;
  width: 1000px;
}

.blendF {
  mix-blend-mode: screen;
}

.dodgeF {
  mix-blend-mode: color-dodge;
}

@keyframes glitch {
  0% {
    color: #ff0000;
    font-family: DM Mono;
    letter-spacing: 0px;
  }
  30% {
    color: #ff0000;
    font-family: DM Mono;
    letter-spacing: 0px;
  }

  31% {
    color: #00ff00;
    font-family: VT323;
    letter-spacing: 4px;
  }
  50% {
    color: white;
  }
  60% {
    color: #00ff00;
    font-family: VT323;
    letter-spacing: 4px;
  }

  61% {
    color: #0000ff;
    font-family: serif;
    letter-spacing: 3.5px;
  }
  100% {
    color: #0000ff;
    font-family: serif;
    letter-spacing: 3.5px;
  }
}

.icon {
  margin-left: -48px;
  margin-top: -8px;
  font-size: 30px;
  float: left;
}

.glitch:hover {
  position: relative;
  animation-name: glitch;
  animation-duration: 0.22s;
  animation-iteration-count: infinite;
}
