@font-face {
  font-family: 'Sans Undertale';
  src: url(misc/fonts/ComicSansMS.ttf);
}

footer {
  text-align: center;
  background-color: rgb(255, 255, 255);
  width: 500px;

  margin: 0 auto;
}

h1 {
  text-align: center;
}

body {
  background-image: url("misc/images/BNKNILRABCAAKD5OORJQFZZLZ5I6M2UV.gif");
  background-repeat: repeat;
  animation: moveBackground 5s linear infinite;
}

@keyframes moveBackground {
  from {
    background-position: 0 0; /* Start at the top-left corner */
  }
  to {
    background-position: 320px 407px; /* These should match with the exact resolution of the image */
  }
}

.unselectable {
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.rainbow-text {
    -webkit-text-stroke: black;
    -webkit-text-stroke-width: 0.04em;
}


.wave-letter {
  display: inline-block;
  animation: wave 2s ease-in-out infinite, rainbow-cycle 2s linear infinite;
}

@keyframes rainbow-cycle {
  0% { color: #FF0000; }
  14.28% { color: #FF7F00; }
  28.56% { color: #FFFF00; }
  42.84% { color: #00FF00; }
  57.12% { color: #0000FF; }
  71.4% { color: #4B0082; }
  85.68% { color: #8B00FF; }
  100% { color: #FF0000; }
}

@keyframes wave {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}



#homepage_title {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 600px;
  height: 70px;
  margin: 0 auto;
  background-color: rgb(0, 0, 0);

  border: rgb(5, 0, 39);
  border-style: solid;
  border-width: 4px;

  gap: 20px;
}

#homepage_title h1 {
  flex-grow: 1;
  text-align: center;
  font-family: "Sans Undertale", "Comic Sans", "Comic Sans MS", cursive;
  font-size: 2.5rem;
}

#homepage_title img {
  max-width: 100%;
  height: auto;
}

#central-container {
  display: flex;
  justify-content: center; 
  gap: 20px; 
  margin-top: 20px; 
  height: 500px;
  font-family: "Sans Undertale", "Comic Sans", "Comic Sans MS", cursive;
}

#sidebar1 {
    width: 250px;
    background-color: rgb(0, 255, 0);
    border: rgb(0, 209, 0);
    border-style: solid;
    border-width: 4px;
    padding: 15px;
}

#sidebar2 {
  width: 250px;
}


#main-body {
  background-color: cyan;
  border: rgb(0, 179, 179);
  border-style: solid;
  border-width: 4px;
  width: 700px;
}

#main-body p {
  color: red;
  padding-left: 25px;
  font-size: 18px;
}

#main-body h1 {
  color: #0000FF;
  font-family: "Sans Undertale", "Comic Sans", "Comic Sans MS", cursive;

  text-align: center;
}

#under-construction {
  display: block;
  margin-top: 1vh;
  margin-left: auto;
  margin-right: auto;
}

#teh-epik-duck-is-coming {
  position: fixed;
  bottom: 0;
  left: 0;
}

#hutcherson {
  position: fixed; /* Stays in place even when you scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0); /* Semi-transparent black background */
  
  /* Use Flexbox to center the content perfectly */
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Add a smooth transition effect */
  opacity: 1;
  visibility: visible;
  transition: opacity 2.5s, visibility 2.5s;
}

.popup-content img {
  max-width: 80vw; /* Max 80% of the viewport width */
  max-height: 80vh; /* Max 80% of the viewport height */
}

#hutcherson.hidden {
  opacity: 0;
  visibility: hidden;
}
