/* style.css for AreYouTheGlitch.com */

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

body {
    margin: 0;
    padding: 0;
    background: black;
    color: #00ffea;
    font-family: 'Share Tech Mono', monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero {
    padding: 60px 20px;
}

.glitch {
    font-size: 3em;
    position: relative;
    color: white;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    color: #00ffea;
    clip: rect(0, 900px, 0, 0);
    animation: glitch 2s infinite linear alternate-reverse;
}

.glitch::after {
    color: #ff00ff;
    animation-delay: 1s;
}

@keyframes glitch {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
    }
    5% {
        clip: rect(15px, 9999px, 56px, 0);
    }
    10% {
        clip: rect(85px, 9999px, 100px, 0);
    }
    15% {
        clip: rect(42px, 9999px, 50px, 0);
    }
    20% {
        clip: rect(10px, 9999px, 80px, 0);
    }
    25% {
        clip: rect(70px, 9999px, 75px, 0);
    }
    30% {
        clip: rect(15px, 9999px, 55px, 0);
    }
    100% {
        clip: rect(85px, 9999px, 90px, 0);
    }
}

.tagline {
    font-size: 1.2em;
    margin-top: 10px;
    color: #ccc;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: transparent;
    color: #00ffea;
    border: 2px solid #00ffea;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    background-color: #00ffea;
    color: black;
}

section {
    margin: 60px 20px;
    max-width: 800px;
}

.card {
    background: #111;
    border: 1px solid #00ffea;
    padding: 20px;
    margin: 10px;
    display: inline-block;
    width: 200px;
    box-shadow: 0 0 10px #00ffea;
}

footer {
    padding: 20px;
    font-size: 0.9em;
    color: #444;
} 
