body {
  background-image: url('https://files.catbox.moe/kok8qw.gif');
  background-repeat: repeat;
  min-height: 100vh;
  margin: 0;
  animation: scroll 45s linear infinite;
}

@keyframes scroll {
  from { background-position: 0 0; }
  to { background-position: -1000px 0; } 
}

@font-face {
    font-family: "MyCustomFont"; 
    src: url("https://files.catbox.moe/gio63f.woff") format("woff");
}

.box {
    max-width: 1500px;
    margin: 150px auto;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 250px minmax(0, 1fr) 250px;
    font-family: "MyCustomFont", "Courier New", monospace;
    color: #0097ff;
}

header {
    grid-column: 1 / 4;
    border: 3px solid #0097ff;
    border-radius: 15px;
    padding: 70px;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-image: url('https://files.catbox.moe/fevm8m.gif');
    background-repeat: repeat;
    animation: headerScroll 20s linear infinite;
    text-shadow: 2px 2px 0px #0097ff;
}

@keyframes headerScroll {
    from { background-position: 0 0; }
    to { background-position: 500px 0; } 
}

nav, .right-nav {
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;
  align-items: center;  
  text-align: center;      
}


nav ul, .right-nav ul {
  padding: 0;
  margin: 0;
  width: 100%;
}

.right-nav {
    grid-column: 3 / 4;
}

main {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

header, nav, main, footer, .right-nav {
    border: 2px solid #0097ff;
    background-color: white;
    padding: 20px;
    border-radius: 15px;
}

footer {
    grid-column: 1 / 4;
    padding: 10px;
    overflow: hidden;
    text-align: center;
}

nav li a,
.right-nav li a {
  display: block; 
  padding: 6px 8px;
  background-color: white; 
  border: 2px solid #0097ff;
  text-decoration: none;
  color: black;

  text-align: center;      
  margin: 10px auto;      
  width: 80%;            
}

.content-image {
    max-width: 80%;
    height: 300px;
    object-fit: contain;
    border: 2px solid black;
    image-rendering: pixelated;
}

iframe {
    width: 100%;
    max-width: 700px;
    border: none;
}

.corner-image {
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 5px;
}

.moving-top-image {
  position: absolute;
  top: 0px;
  left: 0;
  width: 140px;
  animation: slide 5s ease-in-out infinite alternate;
  z-index: 100;
}

@keyframes slide {
  from { left: 0%; transform: translateX(0%); }
  to { left: 100%; transform: translateX(-100%); }
}

.banner-sticker {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 450px;
    height: auto;
    transform: rotate(20deg);
    image-rendering: pixelated;
    filter: drop-shadow(3px 3px 0px rgba(0,0,0,0.5));
    z-index: 5;
    pointer-events: none;
}

#welcome-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(50, 50, 50, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.welcome-box {
    text-align: center;
    color: white;
    font-family: "MyCustomFont", "Courier New", monospace;
}