html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Comic Neue', 'Comic Sans MS', 'Comic Sans', cursive;
  background-color: #000;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.x-strip {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
 
  color: #000;
  border: 3px solid #000;
  border-radius: 14px;
  z-index: 2;
}

.x-strip .x-icon {
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
  color: #fff;
}

.x-strip .x-text {
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
}

.hero-text {
  width: 100%;
  padding: 50px 15%;
  box-sizing: border-box;
  font-size: 70px;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
  
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  text-shadow:
    2px 0 0 #000,
    -2px 0 0 #000,
    0 2px 0 #000,
    0 -2px 0 #000,
    2px 2px 0 #000,
    -2px 2px 0 #000,
    2px -2px 0 #000,
    -2px -2px 0 #000;
}

.hero-text .word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  animation-duration: 520ms;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  animation-delay: var(--delay, 0s);
}

@keyframes fadeFromTop {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeFromRight {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeFromBottom {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeFromLeft {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}

.hero-text .word.dir-top { animation-name: fadeFromTop; }
.hero-text .word.dir-right { animation-name: fadeFromRight; }
.hero-text .word.dir-bottom { animation-name: fadeFromBottom; }
.hero-text .word.dir-left { animation-name: fadeFromLeft; }

.overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url('./1.png');
  background-repeat: repeat-x;
  background-position: 0 50%;
  background-size: auto;
  z-index: 0;
}

.wojak {
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 40%;
  height: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: wojakIn 500ms ease-out 300ms both;
  z-index: 1;
}

@keyframes wojakIn {
  0% { opacity: 1; transform: translateY(100%); }
  100% { opacity: 1; transform: translateY(0); }
}

.btn-bottom {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 40px);
  bottom: 50px;
  background: #ffffff;
  color: #fff;
  border: 3px solid #000000;
  border-radius: 24px;
  padding: 36px 66px;
  text-transform: uppercase;
  font-size: 48px;
  cursor: pointer;
  
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  text-shadow:
    1px 0 0 #000,
    -1px 0 0 #000,
    0 1px 0 #000,
    0 -1px 0 #000,
    1px 1px 0 #000,
    -2px 2px 0 #000,
    2px -2px 0 #000,
    -2px -2px 0 #000;
  opacity: 0;
  pointer-events: none;
}


/* Tablet */
@media (max-width: 1024px) {
  .hero-text {
    font-size: 56px;
    padding: 40px 10%;
    -webkit-text-stroke: 1px #000;
    text-shadow:
      1px 0 0 #000,
      -1px 0 0 #000,
      0 1px 0 #000,
      0 -1px 0 #000,
      1px 1px 0 #000,
      -1px 1px 0 #000,
      1px -1px 0 #000,
      -1px -1px 0 #000;
  }

  .btn-bottom {
    font-size: 40px;
    padding: 28px 48px;
    border-radius: 20px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 32px);
  }

  .wojak {
    width: 30%;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-text {
    font-size: 36px;
    padding: 32px 8%;
    line-height: 1.15;
    -webkit-text-stroke: 1px #000;
    text-shadow:
      1px 0 0 #000,
      -1px 0 0 #000,
      0 1px 0 #000,
      0 -1px 0 #000;
  }

  .btn-bottom {
    font-size: 28px;
    padding: 18px 28px;
    border-radius: 18px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
    transform: translate(-50%, 30px);
  }

  .btn-bottom.revealed {
    transform: translate(-50%, 0);
  }

  .wojak {
    width: 45%;
  }
}
