:root {
    /* Backgrounds */
    --bg-dark: #1a1a1a;
    /* fallback solid dark background */
    --bg-overlay: rgba(0, 0, 0, 0.7);
    /* overlay on top of bg for readability */

    /* Text Colors */
    --text-primary: #ffffff;
    /* white text */
    --text-secondary: #cccccc;
    /* softer text */
    --text-accent: #ff00ff;
    /* neon magenta */

    /* Neon Glow Colors */
    --neon-pink: #ff00ff;
    --neon-purple: #9b4dff;
    --neon-orange: #ff6600;

    /* Borders / Outlines */
    --border-glow: #ff00ff;
    --border-muted: #444444;

    /* Buttons */
    --btn-bg: #222222;
    --btn-hover: #ff00ff;
    --btn-text: #ffffff;

    /* Shadows / Effects */
    --neon-shadow: 0 0 10px var(--neon-pink),
        0 0 20px var(--neon-purple),
        0 0 30px var(--neon-orange);
}

.hidden {
    display: none;
}

body {
    padding: 10px;
    box-sizing: border-box;
    background: linear-gradient(rgba(0, 0, 0, 0.601), rgba(0, 0, 0, 0.6)),
        url("Assets/background.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
    margin: 0;
    opacity: 0.7;

}

.main-container {
    height: 100%;
}

.side-bar {
    height: 400px;
    width: 17%;
    border: 2px solid var(--border-glow);
    border-radius: 40px;
    padding: 20px;
    position: absolute;
    left: -250px;
    transition: left 2s ease;
    box-shadow: var(--neon-shadow);
    animation: slide 0.5s ease-in 0s forwards;
}
@keyframes slide {
    0% {
        left: -250px;
    }

    100% {
        left: 10px;
    }
}

.side-bar-head {
    color: var(--text-accent);
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
}

ul {
    list-style-type: none;
}

li {
    margin: 20px 0;
}

li button {
    position: relative;
    left: -25px;
    width: 100px;
    border-radius: 1rem;
    transition: ease 1s;
}

.btn-group {
    position: relative;
    left: 15px;
    width: 50%;
}

li button:hover {
    background-color: var(--btn-hover);
    border-color: var(--border-muted);
}

.fa-xmark {
    position: relative;
    top: 10px;
    cursor: pointer;
}

.fa-bars {
    color: var(--btn-text);
    margin-left: 15px;
    font-size: 30px;
    cursor: pointer;
    /* display: inline; */
}


.time-out {
    height: 100px;
    width: 100px;
    /* border-top: 5px solid var(--border-glow); */
    border-radius: 50%;
    animation: spin 3s ease-in 0s infinite;
    position: fixed;
    right: 15px;
    top: 10px;
    box-shadow: var(--neon-shadow);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }

}

h1 {
    color: var(--neon-purple);
    text-align: center;
    position: fixed;
    right: 45px;
    top: 30px;
    z-index: 2;
}

.outer-quiz-box {
    /* border: 5px solid var(--border-glow); */
    border-radius: 20px;
    height: 500px;
    width: 60%;
    margin: 6rem auto;
    padding: 40px;
    box-shadow: var(--neon-shadow);
}

.question-box {
    color: var(--text-primary);
    height: 130px;
    width: 90%;
    margin: 0 auto;
    border: 2px solid var(--neon-orange);
    border-radius: 2rem;
    padding: 0.8rem;
    background-color: rgba(0, 0, 0, 0.6);
}

.options {
    /* border: 2px solid var(--neon-orange); */
    color: var(--text-secondary);
    height: 30vh;
    width: 90%;
    margin: 0rem auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-g1,
.option-g2 {
    height: 90%;
}

.option {
    height: 45%;
    border: 2px solid var(--neon-orange);
    border-radius: 1.5rem;
    box-sizing: border-box;
    padding: 1rem;
    margin: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color 0.5s ease;
}
.option:hover {
    background-color: var(--btn-hover);
    color: var(--text-primary);
}




footer {
    position: fixed;
    bottom: 0;
    height: 50px;
    width: 100%;
    background-color: var(--border-muted);
    margin-left: -10px;
    text-align: center;
    color: var(--text-secondary);
    border-radius: 30px 30px 0 0;
    border: 1px solid var(--border-glow);
    background-color: var(--neon-purple);
}