/* Acid Graphics Theme - RAVE EDITION */
:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #ccff00;
    /* Overridden by random injection */
    --font-heading: 'Courier New', Courier, monospace;
    --font-main: 'Courier New', Courier, monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    /* Hypnotic scrolling grid */
    background-image:
        linear-gradient(var(--accent-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--accent-color) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    animation: scrollGrid 2s linear infinite;
}

@keyframes scrollGrid {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 50px 50px;
    }
}

/* Typography w/ Kinetic Energy */
h1,
h2,
h3 {
    text-transform: uppercase;
    letter-spacing: 5px;
    border: 3px double var(--accent-color);
    padding: 10px;
    background: #000;
    display: inline-block;
    box-shadow: 5px 5px 0 var(--text-color);
    margin-bottom: 2rem;
    animation: vibrate 0.3s infinite;
}

@keyframes vibrate {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* Cards as "Windows" */
.card {
    background: #000;
    border: 2px dashed var(--accent-color);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px var(--accent-color);
    position: relative;
    overflow: hidden;
}

.card:hover {
    background: var(--accent-color);
    color: #000;
    border-style: solid;
    animation: none;
}

.card:hover h1,
.card:hover h2,
.card:hover h3 {
    background: #fff;
    /* White background */
    color: #000;
    /* Black text */
    box-shadow: 5px 5px 0 #000;
    /* Black shadow */
}

.card:hover p {
    color: #000;
    font-weight: bold;
}

/* Images - The "Screen" look */
img {
    filter: sepia(100%) hue-rotate(90deg) saturate(300%);
    border: 5px solid var(--text-color);
    mix-blend-mode: hard-light;
    transition: all 0.1s;
}

.card:hover img {
    filter: none;
    mix-blend-mode: normal;
    transform: scale(1.05);
}

/* Tags are pills */
.tag {
    background: var(--text-color);
    color: #000;
    border-radius: 50px;
    padding: 5px 15px;
    font-weight: bold;
    border: 2px solid var(--text-color);
}

/* UI Kit - Techno */
input,
select,
textarea {
    background: #000000;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 1rem;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    outline: none;
}

input:focus {
    box-shadow: 0 0 15px var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.btn {
    background: #000;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 1rem 2rem;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    box-shadow: inset 0 0 0 0 var(--accent-color);
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--accent-color);
    animation: pulseGlow 1s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px var(--accent-color);
    }

    100% {
        box-shadow: 0 0 30px var(--accent-color), 0 0 10px #fff;
    }
}

.btn:hover {
    background: var(--text-color);
    color: #000;
    border-color: var(--text-color);
}

.btn:disabled {
    opacity: 0.5;
    animation: none;
    cursor: not-allowed;
    border-style: dotted;
    color: #555;
    border-color: #555;
    background: transparent;
    box-shadow: none;
}