* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Luckiest Guy';
    background-color: #e6e6ea;
    overflow-x: hidden;   
}


.container {
    padding: 15px 30px;
    background-color: #fe4a49;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container h1 {
    color: white;
    font-size: 50px;   
}

.container ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.container li {
    font-size: 22px;   
    padding: 0 10px;
    margin: 0;        
}
.container a {
    text-decoration: none;
    color: white;
}

.current a::after {
    content: '';
    display: block;
    height: 4px;
    width: 100%;
    background-color: white;
    margin-top: 5px;
}
.wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    height: calc(100vh - 100px);
    gap: 15px;
    width: 100%;
}

.equation {
    font-size: 70px;   
    background-color: white;
    border-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
}

.equation h1 {
    padding: 15px;
}


.answer-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
}

.answer-options h1 {
    cursor: pointer;
    color: white;
    border-radius: 10px;

    width: 100%;
    height: 90px;  

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;  
}

.answer-options h1:hover {
    transform: scale(1.05);
    transition: 0.2s;
}


#option1 { background-color: #fe49fb; }
#option2 { background-color: #2ab7ca; }
#option3 { background-color: #fed766; }


.correct {
    background-color: green !important;
    color: white !important;
    box-shadow: 0 0 15px green;
}

.wrong {
    background-color: red !important;
    color: white !important;
    box-shadow: 0 0 15px red;
    animation: shake 0.3s;
}


@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
}
/* 📱 Tablet (768px) */
@media (max-width: 768px) {

    .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .container h1 {
        font-size: 40px;
    }

    .container ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .container li {
        font-size: 18px;
    }

    .wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }

    .equation {
        font-size: 50px;
        margin: 10px;
        padding: 15px;
    }

    .answer-options h1 {
        height: 70px;
        font-size: 24px;
    }
}


/* 📱 Mobile (480px) */
@media (max-width: 480px) {

    .container h1 {
        font-size: 28px;
    }

    .container ul {
        flex-direction: column;
        align-items: center;
    }

    .container li {
        font-size: 16px;
    }

    .equation {
        font-size: 35px;
        padding: 10px;
    }

    .equation h1 {
        padding: 8px;
    }

    .answer-options {
        gap: 10px;
        padding: 10px;
    }

    .answer-options h1 {
        height: 60px;
        font-size: 20px;
    }
}































