@font-face {
    font-family: 'Pixo';
    src: url('../assets/fonts/fnt_pixo.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Magazine';
    src: url('../assets/fonts/fnt_magazine.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MachineCompany';
    src: url('../assets/fonts/fnt_machinecompany.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@keyframes slideBg {
    0% {background-position: 0 0;}
    100% {background-position: 0 1000px;}
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: MachineCompany;
    
    background-image: 
        linear-gradient(
            to right, 
            rgba(0, 0, 0, 0), 
            rgba(0, 0, 0, 1), 
            rgba(0, 0, 0, 0)
            ), 
        url('../assets/bgs/bg_main.gif');
    
    background-attachment: fixed; 
    background-position: center;
    background-repeat: repeat; 
    background-size: cover;
    image-rendering: pixelated;
    
    animation: slideBg 45s linear infinite forwards;
    
    text-align: center;
    
    min-height: 90vh;
    max-height: 90vh;
    
    display: flex;
    flex-direction: column;    /* Aligns items in a column stack */
    justify-content: center;   /* Centers content vertically */
}
h1 {
    margin: 2.5%;
    text-align: center;
    
    font-family: Pixo;
    font-size: 192px;
    text-shadow: 1px 1px 3px #000;
}

.disclaimer {
    color: rgba(255, 255, 255, 0.5);
}

.wavy-text {
    display: flex;
    justify-content: center;
    margin: auto;
    width: 50%;
    
    font-size: 3rem;
    font-family: MachineCompany;
    
    text-decoration: none;
    color: #fff;
    text-shadow: 1px 1px 5px #000;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}
.wavy-text span {
  display: inline-block;
  
  animation: wave 3.5s ease-in-out infinite;
  animation-delay: calc(0.35s * var(--i));
}
@keyframes wave {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px); /* Controls how high the wave bobs */
  }
}
.wavy-text:hover {
    color: #fff;
    text-shadow: 1px 1px 15px #fff;
}