/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #feffcd;
}

/* Container Styling */
.container {
    font-family: Arial, sans-serif;
    width: 45vw;
    margin: 0 auto;
    padding: 1vh 5vw;
    padding-bottom: 1vh;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adding shadow */
    border-radius: 0.5vw;
}

/* Header Styling */
h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: #d1d400;
}

/* Form Styling */
#discForm {
    display: flex;
    flex-direction: column;
}

/* Question Styling */
.question {
    margin-bottom: 20px;
}

.question label {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Options Styling */
.options {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.options label {
    display: block;
    width: 95%;
    padding: 12px;
    background-color: #f4f4f4;
    border-radius: 5px;
    border: 0.5px solid #fbff00; /* Define border width, style, and color */
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: normal;
}

.options label:hover {
    background-color: #eafaff;
}

/* Submit Button Styling */
#submitBtn {
    padding: 15px;
    font-size: 1.1rem;
    cursor: pointer;
    background-color: #cad100;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#submitBtn:hover {
    background-color: #6c8100;
}

/* Results Styling */
#results {
    margin-top: 30px;
    text-align: center;
    padding-bottom: 2vh;
}

#results h2 {
font-size: 1.8rem;
color: #d8df00;
}

#results p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Article Section */
article {
    width: 50%;
    margin: 3vh auto;
    padding: 1vh 4vw;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adding shadow */
}

article header {
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
}

article header h1 {
    font-size: 2.3rem;
    line-height: 1.3;
}

article section {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

article section h2 {
    font-size: 1.8rem;
    text-align: center;
    color: #d1d400;
    margin-bottom: 10px;
}

article section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

article section ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

article section ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Mobile Specific Styles (Media Query) */
@media screen and (max-width: 768px) {
    /* Container should take up most of the screen width on small devices */
    .container {
        width: 90vw; /* Increase width on mobile */
        padding: 1vh 5vw;
        padding-bottom: 0vh;
    }

    /* Reduce font size for header */
    .container h1 {
        font-size: 2rem;
    }

    label {
    font-size: 1.3rem;
    }

    /* Adjust padding for options */
    .options label {
        font-size: 14px; /* Smaller font size for better readability */
        padding: 10px; /* Adjust padding */
    }

    /* Adjust submit button font size */
    #submitBtn {
        font-size: 1rem;
        padding: 12px;
    }

    /* Ensure results section is responsive */
    #results h2 {
        font-size: 1.7rem;
    }

    #results p {
        font-size: 1.1rem;
    }

    #results {
        padding-bottom: 3vh;
    }

    /* Stack question labels vertically with more space on small screens */
    .question label {
        font-size: 1.1rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    /* Adjust padding for options */
    .options label {
        font-size: 1rem; /* Smaller font size for better readability */
        padding: 10px; /* Adjust padding */
    }

    /* Modify button layout to fit better on mobile */
    .options {
        gap: 5px;
    }

    article {
        width: 90vw;
        font-size: 1.1rem;
        padding: 1vh 3vw;
        padding-left: 7vw;
    }

    article header h1 {
        font-size: 1.8rem;
    }

    article header p {
        text-align: left;
    } 
}