* {
  box-sizing: border-box;
}

:root {
  --black: #000;
  --yellow: #ffffff;
  --red: #ff0000;
  --white: #fff;
}

html {
  font-size: max(1.5vw, 1.5vh);
}

@media screen {
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  background: var(--black);
}

.guard {
  overflow: hidden;
  position: absolute;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.guard input {
  --color: var(--white);
  border: 1px solid var(--color);
  background: none;
  color: var(--color);
  padding: 1rem;
  outline: none;
  transition: 1s;
  font-size: 1rem;
  text-align: center;
  z-index: 3;
  border-radius: 10px;
}

.guard.valid input {
  --color: var(--yellow);
  animation: fadeOut 1s 1s forwards;
}

.guard button {
  z-index: 4;
  border: 1px solid red;
  padding: 1rem;
  font-size: 1rem;
  background: none;
  color: red;
  cursor: pointer;
  border-radius: 0.5rem;
}

.guard.valid button {
  animation: fadeOut 4s 0s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes zoom {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(0.8);
  }
}

.guard.invalid input {
  --color: var(--red);
}

.guard.open {
}

.guard .left,
.guard .right {
  position: absolute;
  top: -50vh;
  height: 200vh;
  width: 100%;
  background: var(--black);
  transition: 5s;
}

.guard .left {
  left: -50%;
  transform: rotateZ(20deg);
}

.guard .right {
  right: -50%;
  transform: rotateZ(20deg);
}

.guard.open .left {
  left: -200%;
}

.guard.open .right {
  right: -200%;
}

.welcome {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  color: var(--black);
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.content {
  max-width: 90%;
  z-index: 2;
  opacity: 0;
  transition: opacity 3s, transform 0.1s, color 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  -webkit-text-stroke: 1px rgba(0, 0, 0, 1);
  mix-blend-mode: overlay;
  animation-name: zoom;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  /* text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5); */
}

.content.visible {
  opacity: 1;
}

h1 {
  letter-spacing: 0.5rem;
  font-weight: bold;
  font-size: 2.5rem;
  text-transform: uppercase;
  margin: 1.5rem 0;
  text-align: center;
  overflow-wrap: break-word;
  max-width: 100%;
}

span.welcome-in {
  font-size: 2rem;
  text-transform: uppercase;
  text-align: center;
}

span.date {
  font-size: 4rem;
}

video.rabbithole {
  z-index: 0;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  object-fit: cover;
}

video.visuals {
  z-index: 1;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  object-fit: cover;
  mix-blend-mode: hard-light;
  opacity: 0;
}
