/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* COLOR THEME */
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --background-color: #ff4e00;
  --text-color: #0f0f0f;
  --btn-text: #eee;
  --btn-color: #333;
  --btn-color2: #444;
  --btn-color3: #555;
  --btn-shadow: #111;
}

@font-face {
  font-family: "fire";
  src: url(media/fonts/BreatheFireIii-PKLOB.ttf);
}

/* UNIVERSALS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  font-family: "fire", sans-serif;
}

.container {
  width: 80%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.page {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

#final-page {
  height: 50vh;
}

.fireworks {
  margin-bottom: 40px;
}

.hero {
  font-size: 140px;
}

#pepagon {
  height: 110vh;
  max-width: 80%;
}

.art {
  position: absolute;
  left: -100%;
  max-width: 100%;
  bottom: 10%;
}

.art2 {
  position: absolute;
  right: -120%;
  max-width: 100%;
  bottom: 0;
}

h1 {
  font-size: 80px;
}
h2 {
  font-size: 55px;
}

#ca {
  font-size: 18px;
  word-break: break-all;
}

/* BUTTONS */

.btn {
  padding: 10px 20px;
  background-color: var(--btn-color);
  color: var(--btn-text);
  border-radius: 5px;
}

.clickable {
  background-color: var(--btn-color);
  box-shadow: 0 3px var(--btn-shadow);
  transform: translateY(-3px);
}

.clickable:hover {
  background-color: var(--btn-color2);
  box-shadow: 0 5px var(--btn-shadow);
  transform: translateY(-5px);
  cursor: pointer;
}

.clickable:active {
  background: var(--btn-color3);
  box-shadow: 0 2px var(--btn-shadow);
  transform: translateY(-2px);
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  header {
    flex-direction: column;
  }
}

canvas {
  cursor: crosshair;
  display: block;
  z-index: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;

  width: 100vw; /* Cover entire viewport horizontally */
  height: 100vh; /* Cover entire viewport vertically */
}

@import url(https://fonts.googleapis.com/css?family=Raleway:400,700,900,400italic,700italic,900italic);

*,
:before,
:after {
  box-sizing: border-box;
}

h2 {
  animation: text-shadow 1.5s ease-in-out infinite;
  font-size: 5em;
  font-weight: 900;
  line-height: 1;
}

h2:hover {
  animation-play-state: paused;
}

a {
  color: #024794;
}

a:hover {
  text-decoration: none;
}

@keyframes text-shadow {
  0% {
    transform: translateY(0);
    text-shadow: 0 0 0 #0c2ffb, 0 0 0 #2cfcfd, 0 0 0 #fb203b, 0 0 0 #fefc4b;
  }

  20% {
    transform: translateY(-1em);
    text-shadow: 0 0.125em 0 #0c2ffb, 0 0.25em 0 #2cfcfd, 0 -0.125em 0 #fb203b,
      0 -0.25em 0 #fefc4b;
  }

  40% {
    transform: translateY(0.5em);
    text-shadow: 0 -0.0625em 0 #0c2ffb, 0 -0.125em 0 #2cfcfd,
      0 0.0625em 0 #fb203b, 0 0.125em 0 #fefc4b;
  }

  60% {
    transform: translateY(-0.25em);
    text-shadow: 0 0.03125em 0 #0c2ffb, 0 0.0625em 0 #2cfcfd,
      0 -0.03125em 0 #fb203b, 0 -0.0625em 0 #fefc4b;
  }

  80% {
    transform: translateY(0);
    text-shadow: 0 0 0 #0c2ffb, 0 0 0 #2cfcfd, 0 0 0 #fb203b, 0 0 0 #fefc4b;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.slide-in {
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.5s, opacity 0s; /* Added separate transitions for transform and opacity */
}

.slide-in.slide-in-active {
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.5s, opacity 0s; /* Added separate transitions for transform and opacity */
}

.slide-in2 {
  opacity: 0;
  transform: translateX(100%); /* Change to move the element to the right */
  transition: transform 0.5s, opacity 0s; /* Added separate transitions for transform and opacity */
}

.slide-in2.slide-in-active {
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.5s, opacity 0s; /* Added separate transitions for transform and opacity */
}
