@font-face {
    font-family: 'Unown';
    src: url('fonts/Unown-OVEwA.ttf') format('truetype'); /* Path to your font file */
}

@font-face {
    font-family: '8bit';
    src: url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap'); /* 8-bit font */
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: 'Roboto', sans-serif; /* Use the chunky font */
}

.container {
    position: relative;
}

.gif {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-overlay {
    position: absolute;
    top: 10%; /* Adjust as needed */
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 36px; /* Larger text */
    font-weight: bold; /* Bold text */
    text-align: center; /* Center text */
    opacity: 1; /* Always visible */
    animation: flash 1s infinite; /* Flashing animation */
}

@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5; /* Slightly dimmed */
    }
}

.arrow {
    font-size: 48px; /* Larger arrow */
    margin-top: 10px; /* Space between text and arrow */
    animation: flash 1s infinite; /* Same flashing for arrow */
}

.options {
    display: none;
    margin-top: 80px; /* Increased margin to move options lower */
    text-align: center;
}

.options ul {
    list-style-type: none;
    padding: 0;
}

.options li {
    font-size: 20px; /* Larger text */
    font-weight: bold; /* Bold text */
    margin: 20px 0; /* Space between options */
}

.link {
    font-family: 'Unown', cursive; /* Initial font is Pokémon font */
    color: black; /* Black text */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth transition for color */
    position: relative; /* For absolute positioning of the sand effect */
    overflow: hidden; /* Hide overflow for the sand effect */
}

.link:hover {
    animation: dissolve 1s forwards; /* Start the dissolve animation */
}

@keyframes dissolve {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0; /* Fade out */
        transform: scale(1.2); /* Slightly scale up */
    }
    100% {
        opacity: 1; /* Fade back in */
        transform: scale(1); /* Scale back to original */
        font-family: 'Press Start 2P', cursive; /* Change to 8-bit font */
    }
}

.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}
