:root{
    --bg:#FFEF5A;
    --accent:#1976D2;
    --text:#111;
    --panel:rgba(255,255,255,.2);
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    min-height:100vh;
    padding:20px;
    font-family:'Segoe UI',sans-serif;

    background:var(--bg);
    color:var(--text);

    transition:.3s ease;
}

/* container */
.container{
    max-width:1200px;
    margin:auto;
}

/* menu */
#menuButton{
    position:fixed;
    top:20px;
    left:20px;
    width:50px;
    height:50px;
    display:flex;
    justify-content:center;
    align-items:center;

    font-size:2rem;
    color:white;

    background:rgba(0,0,0,.25);
    border-radius:10px;

    cursor:pointer;
    z-index:1000;

    backdrop-filter:blur(10px);
}

/* theme panel */
#themePanel{
    position:relative;
    top:0;
    left:-280px;
    width:260px;
    height:100vh;
    background:white;
    padding:20px;
    transition:.3s;
    box-shadow:0 0 20px rgba(0,0,0,.2);
    z-index:300;
}

#themePanel.open{
    left:0;
}

.theme-option{
    width:100%;
    border:none;
    padding:12px;
    margin-bottom:10px;
    border-radius:8px;
    cursor:pointer;
}

/* title */
h1{
    text-align:center;
}

/* question */
.question-panel{
    background:var(--panel);
    backdrop-filter:blur(10px);
    padding:40px;
    border-radius:20px;
    font-size:2.2rem;
    text-align:center;
    margin-bottom:20px;
}

/* progress */
.progress{
    text-align:center;
    font-weight:bold;
    margin-bottom:20px;
}

/* answers */
.answers{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.tile{
    border:none;
    border-radius:20px;
    padding:40px;
    font-size:1.6rem;
    font-weight:bold;
    cursor:pointer;
    transition:.2s;

    background:var(--accent);

    color:var(--accent-text);
}

.tile:hover{
    transform:scale(1.03);
}

/* results */
.results{
    background:var(--panel);
    backdrop-filter:blur(10px);
    padding:30px;
    border-radius:20px;
    text-align:center;
}

/* review */
.review-card{
    background:white;
    padding:20px;
    border-radius:12px;
    margin-bottom:10px;
    color:#000;
}

.correct{
    border-left:8px solid #4CAF50;
}

.incorrect{
    border-left:8px solid #F44336;
}

/* restart */
.restart-btn{
    padding:12px 25px;
    border:none;
    border-radius:10px;
    cursor:pointer;
}

/* themes */
body.canary{
    --bg:#FFEF5A;
    --accent:#1976D2;
    --text:#111;
    --accent-text:#fff;
}

body.ocean{
    --bg:#0277BD;
    --accent:#00ACC1;
    --text:#fff;
    --accent-text:#fff;
}

body.forest{
    --bg:#2E7D32;
    --accent:#43A047;
    --text:#fff;
    --accent-text:#fff;
}

body.galaxy{
    --bg:#32004F;
    --accent:#7B1FA2;
    --text:#fff;
    --accent-text:#fff;
}

body.sunset{
    --bg:#EF6C00;
    --accent:#F4511E;
    --text:#fff;
    --accent-text:#fff;
}

/* responsive */
@media(max-width:900px){
    .answers{
        grid-template-columns:1fr;
    }

    .tile{
        padding:25px;
        font-size:1.3rem;
    }
}