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

.container {
    width: 50%;
    margin: 0px auto;
    background-color: #fff;
    padding: 1vh 3vw;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #b4be00;
    font-size: 2.5rem;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.question {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 auto;
}

label {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 2vh 0;
}

.options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.options label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin: 0 1vw;
}

input[type="radio"] {
    margin: 0;
    transform: scale(2); /* Adjusts the size of the radio buttons */
}

/* Button Styles */
button {
    width: 70%;
    margin: 0 auto;
    padding: 15px;
    background: linear-gradient(140deg, #b2b800, #9db900);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}

button:hover {
    background: linear-gradient(135deg, #eaff00, #81a908);
    transform: translateY(-2px);
}

#results {
    margin-top: 20px;
}

#results h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #b4be00;
    margin-bottom: 20px;
}

#results p {
    text-align: center;    
    font-size: 1.3rem;
    margin: 3vh 0;
}

#results strong {
    color: #797f00;
}

article {
    width: 50%;
    margin: 3vh auto;
    padding: 1vh 5vw;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

article header h1 {
    font-size: 2em;
    color: #cfda00;
    text-align: center;
    margin-bottom: 20px;
}

article h2 {
    font-size: 1.5em;
    color: #96ad02;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

article p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

article ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

article li {
    margin-bottom: 10px;
}

/* Mobile Media Query */
@media (max-width: 1024px) {
    .container {
        width: 92%;
        padding: 2vh 4vw;
        padding-bottom: 0.5vh;
    }

    h1 {
        font-size: 1.8rem;
    }

    label {
        font-size: 1.2rem;
        line-height: 1.3;

    }

    .question {
        padding-left: 2vw;
    }

    .options label {
        font-size: 1.2rem;
        margin: 0 0.5;
    }

    input[type="radio"] {
        transform: scale(1.8); /* Slightly smaller radio buttons */
    }

    button {
        width: 93%;
        font-size: 1.2rem;
    }

    #results h2 {
        font-size: 1.7rem;
    }

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

    article {
        width: 90%;
        padding: 1vh 4vw;
    }

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

    article h2 {
        font-size: 1.5em;
    }

    article p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    article ul {
        font-size: 1.1rem;
        margin-left: -1vw;
        line-height: 1.7;

    }
}