/* General Styles */
body {
    background-color: black;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}


h1 {
    font-family: 'Metal Mania', cursive;
    text-align: center;
    text-shadow: 4px 3px 5px #f00;
    margin: 0;
    font-size: calc(24px + (76 - 24) * ((100vw - 300px) / (1600 - 300))); /* Responsive font size */
}




/* Quiz and Answers Styles */
form {
    background-color: #191919;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
    width: 90%; /* Responsive width */
}

#quiz1{
    color: #fff;
}
.question {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.answers label {
    display: block;
    background-color: #e9e9e9;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.answers label:hover {
    background-color: #d3d3d3;
}

.answers input[type="radio"] {
    margin-right: 10px;
}

/* Buttons */
input[type="submit"], input[type="button"] {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: block; /* Center the button */
    width: 100%; /* Full-width button */
    box-sizing: border-box; /* Include padding and border in width */
}

input[type="submit"]:hover, input[type="button"]:hover {
    background-color: #555;
}

/* Score Display */
#scoreDisplay {
    background-color: #2F2F2F;
    color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none; /* Initially hidden */
}

/* Media Queries for smaller devices */
@media (max-width: 600px) {
    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 18px;
    }

    form {
        width: 100%;
        padding: 10px;
    }

    #nav a {
        padding: 3px;
        font-size: 14px;
    }
}
