body {
    height: 100%;
    background-color: #3b3b3b;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    margin-top: 20vh;
    color: #b5b5b5;
    font-family: Montserrat, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 0 16px;
    word-break: break-word;
}

article {
    display: flex;
    margin-top: 1.5%;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 16px;
}

#cursor {
    display: inline-block;
    animation: blink 0.8s infinite;
}

#cursor.hidden {
    opacity: 0;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

a {
    width: 5%;
    text-align: center;
    color: #b5b5b5;
    padding: 12px;
    border-radius: 8px;
    border: 2px dashed #1e1e1e;
    font-family: Montserrat, sans-serif;
    transition: ease-in 0.1s;
    min-width: 120px;
}

a:hover {
    border: 2px solid #1e1e1e;
    box-shadow: 0px 0px 30px 2px rgba(32, 154, 255, 0.53);
    cursor: pointer;
}

.selected {
    border: 2px solid #1e1e1e;
    box-shadow: 0px 0px 30px 2px rgba(32, 255, 43, 0.53);
}

.hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

#choices.loaded {
    display: flex;
    justify-content: center;
    margin-top: 40vh;
}

.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
img {
    top: 0;
    left: 10%;
    position: fixed;
}
#overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 999;
}

#bulb {
    filter: brightness(0.6);
    transition: filter 0.3s ease;
}

@media (max-width: 768px) {
    header {
        margin-top: 12vh;
        font-size: 1.5rem;
        color: #d0d0d0;
    }

    a {
        width: 45%;
        min-width: unset;
        padding: 16px;
        font-size: 1.1rem;
        border: 2px solid #2a2a2a;
        background-color: rgba(0, 0, 0, 0.15);
    }

    #choices.loaded {
        margin-top: 25vh;
    }
}

@media (max-width: 480px) {
    header {
        font-size: 1.9rem;
        margin-top: 10vh;
        color: #e0e0e0;
    }

    article {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    a {
        width: 85%;
        padding: 18px;
        font-size: 1.25rem;
        background-color: rgba(0, 0, 0, 0.2);
        border: 2px solid #333;
    }
}

