/**** quiz app style css ******************************
** Each app's common properties for the areas such as *
** welcom-screen, quiz-container, answers, etc.       *
*******************************************************
** Set font-family, size, weight, background, and     *
** other color effects unique to each quiz app to its *
** own css file.                                     **
******************************************************/
.app-container {
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding: 1.5rem 0;
    margin-top: 10px;
}

.welcome-screen {
    animation: fadeIn 0.8s ease-in;
    text-align: center;
    display: block;
    padding: 0rem 5rem;
    margin-bottom: 3rem;
}

.app-title, .welcome-screen h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.app-subtitle, .welcome-screen h2, .welcome-screen p {
    max-width: 600px;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.quiz-screen, .quiz-container, .question-screen, .question-container, .quiz-section {
    display: none;
    padding: 1rem 5rem;
}

.space-y-8 {/*attachment-style quiz app's welcome-screen and quiz-container */
    text-align: center;
    padding: 0rem 3rem;
    margin-bottom: 3rem;
}

.question-text, .question-header, .question, .question-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    /*text-align: left;*/
    color: #111010c9;
}

.answers-container, .answers, .options-container, .answer-options {
    display: grid;
    gap: 15px;
    margin-bottom: 40px;
}

.answer-option, .answer, .option, .answer-btn {
    border: 2px solid transparent;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1rem;
}

.w-full { margin-top: 0.5rem; }/* attachment-style quiz option */

.navigation-buttons, .navigation, .nav-buttons, .category-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-btn, .nav-button {
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 150px;
}
.nav-btn.primary, .nav-btn.secondary { max-width: 150px; }
/**************************************
** quiz-app-style css ends here *******
**************************************/

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    main {
        padding: 1rem;
    }

    .app-container {
        padding: 10px 4rem;
        margin: 0 auto;
        border-radius: 15px;
    }

    .welcome-screen { padding:0px; }

    .space-y-8 { padding:10px; }

    .app-title, .welcome-screen h1 {
        font-size: 2.4rem;
    }

    .app-subtitle, .welcome-screen h2, .welcome-screen p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .question-text, .question-header, .question, .question-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .quiz-screen, .quiz-container, .question-screen, .question-container, .quiz-section {
        padding: 1rem 0;
    }

    .answers-container, .answers, .options-container, .answer-options {
        gap: 0.4rem;
        margin-bottom: 2rem;
    }

    .answer-option, .answer, .option, .answer-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .navigation-buttons, .navigation, .nav-buttons, .category-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .nav-btn, .nav-button, .nav-btn.primary, .nav-btn.secondary {
        max-width: 100%;
    }

    .result-title {
        font-size: 2rem;
    }

    .career-list {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .app-container {
        padding: 10px 10px;
        margin: 0 auto;
        border-radius: 15px;
    }

    .welcome-screen { padding:0px; }

    .space-y-8 { padding:10px; }

    .app-title, .welcome-screen h1 {
        font-size: 2rem;
    }

    .app-subtitle, .welcome-screen h2, .welcome-screen p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .question-text, .question-header, .question, .question-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .quiz-screen, .quiz-container, .question-screen, .question-container, .quiz-section {
        padding: 1rem 0;
    }

    .answers-container, .answers, .options-container, .answer-options {
        gap: 0.4rem;
        margin-bottom: 2rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .app-container {
        margin-top: 1px;
        padding: 10px 6rem;
    }

    .welcome-screen { padding:0px; }

    .space-y-8 { padding:10px; }

    .app-subtitle, .welcome-screen h2, .welcome-screen p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .begin-btn, .begin-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .quiz-screen, .quiz-container, .question-screen, .question-container, .quiz-section {
        padding: 1rem 0;
    }

    .question-text, .question-header, .question, .question-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .answers-container, .answers, .options-container, .answer-options {
        gap: 0.4rem;
        margin-bottom: 2rem;
    }
}