/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

h1 {
    text-align: center;
    margin: 20px 0;
}

/* Container for the quiz */
#quiz-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Stats Section */
#stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
}

#stats p {
    font-size: 16px;
    margin: 0;
    padding: 0 10px;
}

/* Question Box */
#question-box {
    margin-bottom: 20px;
}

/* Option Buttons */
.option {
    display: block;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.option:hover {
    background-color: #0056b3;
}

/* Next Question Button */
#reference {
    width: 100%;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#reference:hover {
    background-color: #218838;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #quiz-container {
        padding: 15px;
    }

    #stats {
        flex-direction: column;
        align-items: center;
    }

    #stats p {
        margin-bottom: 10px;
    }

    .option,
    #reference {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    #stats p {
        font-size: 14px;
    }

    .option,
    #reference {
        padding: 10px;
        font-size: 12px;
    }

    .option {
        display: block;
        margin: 10px 0;
        /* Space between buttons */
        width: 100%;
        /* To make the buttons fill the width, adjust as needed */
    }
}

/*buttons with letters*/

.option-container {
    margin: 10px 0;
}

.option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #4a403a;
    /* Use your preferred color */
    border: none;
    width: 100%;
    padding: 15px;
    color: white;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.letter {
    width: 30px;
    margin-right: 10px;
    font-weight: bold;
}

.option-text {
    flex-grow: 1;
    text-align: center;
}

.option:hover {
    background-color: #6a5d52;
    /* Change color on hover */
}

/*intro*/
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.quiz-info-container {
    max-width: 70%;
   /* background-image: url('../images/quiz-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #2c3e50;
    text-align: center;
    font-size: 26px;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    color: #34495e;
    line-height: 1.6;
}

h3 {
    font-size: 22px;
    color: #e67e22;
    margin-top: 20px;
}

.instructions-list {
    list-style-type: none;
    padding-left: 0;
}

.instructions-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.instructions-list li strong {
    color: #2980b9;
}

.difficulty-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.difficulty-list li {
    font-size: 16px;
    color: #8e44ad;
}

.final-note {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: #2c3e50;
    font-style: italic;
}

@media (max-width: 768px) {
    .quiz-info-container {
        padding: 15px;
        max-width: 100%;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    p,
    .instructions-list li,
    .difficulty-list li {
        font-size: 14px;
    }

    .nav-toggle {
        display: flex;
        position: absolute;
        /* to remain fixed in one position*/
        /*otherwise, relative*/
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* Center vertically */
        align-items: center;
        /* Center horizontally */
        width: 40px;
        /* Width of the button */
        height: fit-content;
        /* Height of the button */
        background-color: #4caf50;
        ;
        /*Visibility */
        border: none;
        /* No border */
        cursor: pointer;
        margin-top: auto;
        margin-bottom: auto;
        padding-top: 0;
    }

    .bar {
        display: block;
        /* Ensure block display */
        width: 30px;
        /* Set explicit width */
        height: 2px;
        /* Set height */
        background-color: white;
        /* Make bars visible */
        margin: 3px 0;


    }

    /* .container {
                    background-color: white;
                    padding: 20px;
                    border-radius: 8px;
                    margin:auto;
                    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                    max-width: 90vw;
                    width: 100%;
                }*/

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #4caf50;
        position: absolute;
        top: 60px;
        /* Adjust based on header height */
        left: 0;
        width: fit-content;
        text-align: left;
        height: fit-content;
    }

    .nav-links li {
        height: 40px;
    }

    .nav-links.active {
        display: flex;
        /* Shows the menu when active */
    }

    .topical {
        position: relative;
        /* Ensure the dropdown aligns with the parent */
        height: fit-content;
    }

    .topics {
        display: none;
        /* Hidden by default */
        flex-direction: column;
        background-color: #4caf50;
        top: 100%;
        /* Show dropdown directly below */
        left: 0;
        width: 100%;
        text-align: center;
        height: fit-content;
        z-index: 100;
        /* Ensure dropdown is above other content */
    }

    .topics.active {
        display: flex;
        /* Show the dropdown */
    }

    .topic li {
        margin-bottom: 30px;
        margin-top: 20px;

    }

    header {
        background-color: #4caf50;
        position: absolute;
        width: 100%;
        text-align: center;
    }

}

@media only screen and (min-width: 769px) {
    .nav-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        justify-content: center;
        list-style: none;
    }

    .nav-links li {
        display: inline-block;
        margin: 20px 15px;
        margin-bottom: 10px;
        font-size: 20px;
    }

    .topics {
        display: none;
    }

    .topical:hover .topics {
        display: block;
        /* Show sublist when hovering over Topical Verses */
    }
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/*header*/
header .logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

header {
    background-color: #4caf50;
    padding: 10px 0;
    text-align: center;
    position: relative;
    width: 100%
}

.nav-links {
    list-style-type: none;
}

.topical ul li a {
    color: blue;
    text-decoration: none;
}

.nav-links li {
    display: inline;
    margin: 0 10px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
}

.hero {
    background-color: #f4f4f4;
    padding: 0;
    margin: 0;
    text-align: center;
}