body {
    margin: 0;
    padding: 0;
    background-image: url("/chalkBoardBg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #515050;
    font-family: 'Comic Sans MS', sans-serif;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 100%;
    max-width: 1000px;
    height: auto;
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box; 
}

#quiz-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
    overflow-y: auto;
}

#answer-input {
    width: 50%;
    margin: 0 auto; 
    display: block; 
}


.column {
    width: 40%;
}

#score-container {
    margin-top: 20px;
}

button {
    background-color: #2d3436;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background-color: #f4a261;
    transform: scale(1.05);
}

button:focus {
    outline: none;
}

header h1 {
    font-size: 36px;
    color: #f4a261;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

input[type="text"], input[type="number"], textarea {
    width: 70%;
    font-size: 18px;
    border: none;
    border-bottom: 2px solid #2d3436; 
    margin: 10px 0;
    background-color: transparent;
    color: #2d3436;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus, input[type="number"]:focus, textarea:focus {
    border-bottom: 2px solid #f4a261; 
    outline: none;
    box-shadow: 0 2px 5px rgba(244, 162, 97, 0.4); 
}

/* Responsive */
@media (max-width: 1200px) {
    body{
        overflow-y: scroll;
    }

    .container {
        min-width: 80%;
    }
}

@media (max-width: 1000px) {
    body{
        overflow-y: scroll;
    }

    .container {
        min-width: 90%;
    }

    .column {
        width: 50%;
    }
}

@media (max-width: 800px) {
    body{
        overflow-y: scroll;
    }

    .container {
        min-width: 95%;
    }

    header h1 {
        font-size: 32px;
    }

    .column {
        width: 100%;
    }
}

@media (max-width: 600px) {
    body{
        overflow-y: scroll;
    }

    .container {
        padding: 10px; 
    }

    header h1 {
        font-size: 24px; 
    }

    .column {
        width: 100%;
    }

    button {
        width: 100%;
        padding: 12px;
    }
}

@media (max-width: 375px) { 
    body{
        overflow-y: scroll;
    }

    header h1 {
        font-size: 20px;
    }

    .container {
        padding: 10px;
        min-width: 90%;
    }

    input[type="text"], input[type="number"], textarea {
        width: 80%;
        font-size: 16px; 
    }

    button {
        width: 100%;
        padding: 12px;
    }
}