@font-face {
    font-family: 'tic80';
    src: url('fonts/tic-80-wide-font.ttf') format('truetype');
}

body {
    background-color: #333c57;
    color: #f4f4f4;
    font-family: 'tic80';
    background-image: linear-gradient(#1a1c2c 1px, transparent 1px), 
                      linear-gradient(90deg, #1a1c2c 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 8s linear infinite;
}

@keyframes moveGrid {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

@keyframes funText {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    50% {
        opacity: 0.25;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* New reverse animation */
@keyframes funTextReverse {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }

    100% {
        transform: translateY(-30px);
        opacity: 0;
    }
}

/* Set reverse animation by default */
.support a {
    display: inline-block;
    animation: funTextReverse 0.3s ease-in-out forwards;
}
.support p {
    font-size: 0.7em;
    display: inline-block;
    animation: funTextReverse 0.3s ease-in-out forwards;
}

/* Switch to forward animation on hover */
.support:hover a {
    animation: funText 0.3s ease-in-out forwards;
}
.support:hover p {
    animation: funText 0.3s ease-in-out forwards;
}


h1 {
    padding-top: 100px;
    font-size: 2.5em;
    text-align: center;
    margin-top: 20px;
    text-shadow: #1a1c2c 5px 5px;
}

p {
    font-size: 1.2em;
    text-align: center;
    margin-top: 20px;
    text-shadow: #1a1c2c 3px 3px;
}

orange {
    color: #ef7d57;
}

green {
    color: #a7f070;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 75px;
    padding-right: 75px;
    gap: 10px; /* Optional: Adjust spacing between buttons */
}

button {
    font-family: 'tic80';
    font-size: 1.5em;
    height: 100px;
    background-color: #94b0c2;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 5px 5px 0px #1a1c2c;
    flex: 1; /* Ensures buttons take equal width */
    margin: 10px; /* Optional: Adjust spacing around buttons */
}

button:hover {
    background-color: #566c86;
    transform:scale(1.05);
    flex: 1; /* Maintain equal width on hover */
}

img {
    width: 100px;
    height: 100px;
    margin: 10px auto;
    display: block;
    transition: all 0.3s ease;
}

.support:hover {
    transform: scale(1.05);    
}

.support {
    font-size: 1.2em;
    text-align: center;
    margin-top: 20px;
    text-shadow: #1a1c2c 3px 3px;
    transition: all 0.3s ease;
}

a {
    text-decoration: none;
    color: #41a6f6;
    opacity: inherit;
}

a:hover {
    color: #73eff7;
    text-decoration-line: underline;
}
bluer {
    color: #73eff7;
}