@font-face {
  font-family: "Jersey 25 Charted";
  src: url("fonts/Jersey25Charted-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/*CHAT GPT HELP */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Jersey 25 Charted', sans-serif;
  background-color: #400101;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}


@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  canvas {
    width: 100%;
    height: auto;
  }
}

.arrow-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 30px;
  color: black;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.arrow-link:hover,
.arrow-link:focus {
  background-color: rgba(0, 0, 0, 0.85);
}

.horizontal-text {
  position: absolute;
  top: 20px;
  font-size: 50px;
  white-space: nowrap;
  z-index: 2;
}

.vertical-container {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.vertical-text {
  position: absolute;
  font-size: 50px;
  opacity: 0.8;
  white-space: nowrap;
}


@keyframes bounce {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

.bouncing-text {
  font-size: 50px;
  animation: bounce 2s ease-in-out infinite;
  color: #fff;
}

#circle-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
}

#rotating-text {
  position: absolute;
  font-size: 30px;
  white-space: nowrap;
  transform-origin: center;
  animation: rotate-text 10s infinite linear;
}

@keyframes rotate-text {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


#hint {
  font-size: 36px;
  opacity: 0.7;
  margin-bottom: 20px;
  text-align: center;
}

#new-text {
  font-size: 24px;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
  text-align: center;
}
