/* styles.css */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f0f0f0;
    margin: 0;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    min-height: 100vh; /* Ensure page takes at least the full viewport height */
}

#navbar {
    background-color: #007bff;
    color: #fff;
    padding: 10px 0;
}

#navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* Align links horizontally */
    justify-content: space-between; /* Add space between links */
    align-items: center; /* Vertically center elements */
}

#navbar ul li {
    display: inline;
}

#navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#navbar ul li a:hover {
    background-color: #0056b3;
}

#quiz-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    width: 80%;
    margin: 0 auto;
    margin-top: 20px;
}

h1 {
    color: #333;
}

#options {
    text-align: left;
}

input[type="radio"] {
    display: none;
}

label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

label:hover {
    background-color: #f5f5f5;
}

input[type="radio"]:checked + label {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 478px) {
    /* Mobile Portrait */
    #quiz-container {
        width: 90%;
    }
}

@media (max-width: 767px) {
    /* Mobile Landscape */
    #quiz-container {
        width: 90%;
    }
}

@media (max-width: 991px) {
    /* Tablet */
    #quiz-container {
        width: 80%;
    }
}

@media (min-width: 992px) {
    /* Desktop and above */
    #quiz-container {
        width: 60%;
    }
}

/* Hidden class for hiding elements */
.hidden {
    display: none;
}

/* Copyright footer */
#copyright {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 14px; /* Smaller font size */
    margin-top: auto; /* Push to the bottom */
}

#copyright a {
    color:#007bff;
    text-decoration: none;
}

#copyright a:hover {
    text-decoration: underline;
}
