@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #000;
    color: #00ff00;
    font-family: 'Press Start 2P', cursive;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    cursor: url('custom-cursor.png'), auto; 
}

header {
    text-align: center;
    animation: glitch 1.5s infinite;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    margin-top: auto;
    font-size: 0.8em;
    padding: 10px 0;
    width: 100%;
}

h1 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    animation: glitch 1.5s infinite;
}

p {
    margin-bottom: 1.5em;
    font-size: 1em;
    animation: glitch 1.5s infinite;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.button {
    color: #00ff00;
    text-decoration: none;
    background-color: #000;
    border: 2px solid #00ff00;
    padding: 10px 20px;
    margin: 5px;
    font-size: 1em;
    transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
    animation: glitch 1.5s infinite;
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
    text-align: center;
}

.button:hover {
    background-color: #00ff00;
    color: #000;
    border-color: #ff0000;
    transform: scale(1.1);
}

@keyframes glitch {
    0% {
        text-shadow: 2px 2px #ff0000, -2px -2px #00ff00;
    }
    20% {
        text-shadow: -2px -2px #ff0000, 2px 2px #00ff00;
    }
    40% {
        text-shadow: 2px -2px #ff0000, -2px 2px #00ff00;
    }
    60% {
        text-shadow: -2px 2px #ff0000, 2px -2px #00ff00;
    }
    80% {
        text-shadow: 2px 2px #ff0000, -2px -2px #00ff00;
    }
    100% {
        text-shadow: -2px -2px #ff0000, 2px 2px #00ff00;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 2em;
    }
    p {
        font-size: 1.2em;
    }
    .button {
        font-size: 1.2em;
    }
}
