@charset "utf-8";

.sitewrap {
    background-color: #f2f2f2 !important;
     background-image: url("../images/pattern.webp");
}

#sitecontainer_quiz {
    padding: 50px 20px;
    font-family: 'Roboto Slab', serif;
    display: flex; 
            justify-content: center;
            min-height: 100vh;
}


 #quiz-container {
    width: 100%;
    max-width: 42rem;
    margin: 30px auto auto auto;
    background-color: #c8c3d391;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    border-radius: 1.5rem;
        }

        /* --- Typography --- */
        .font-serif {
            font-family: 'Playfair Display', serif;
        }

        h1 {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            line-height: 2.25rem;
            font-weight: 700;
            color: #cbb2b2;
            margin-bottom: 1rem;
        }

        #question-title {
    font-family: 'Roboto Slab', serif;
    font-size: 1.875rem;
    line-height: 2rem;
    font-weight: 300;
    color: #d0d1ff;
    margin-bottom: 1.5rem;
    text-align: center;
        }
        
        #result-screen h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.2rem;
    line-height: 2rem;
    font-weight: 300;
    color: #ccd2ff;
    margin-top:0;
    margin-bottom: 0.5rem;
        }
        
        #result-screen h1 {
            color: #cbc0bd;
            margin-bottom: 1.5rem;
        }

        #result-screen h3 {
     font-family: 'Roboto Slab';
    color: #ccc;
    font-weight: 300;
        }

        p {
            color: #f9f9f9;
            font-size: 1.125rem;
            line-height: 1.75rem;
            margin-bottom: 2rem;
        }

        /* --- Buttons --- */
        button, a.button-link {
     font-weight: 200;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: background-color 0.3s ease;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-family: 'Roboto Slab';
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
        }

        #start-screen button {
            background-color: #1F2937;
            color: white;
        }
        #start-screen button:hover {
            background-color: #3c4063
        }

        #result-screen .button-container a.button-link {
            background-color: #454a72;
            color: white;
            display: inline-block;
        }
        #result-screen .button-container a.button-link:hover {
            background-color: #4e496d;
        }

        #result-screen .button-container button {
            background-color: #E5E7EB;
            color: #1F2937;
        }
        #result-screen .button-container button:hover {
            background-color: #D1D5DB;
        }

        /* --- Screens & States --- */
        #start-screen, #result-screen {
            text-align: center;
        }

        .hidden {
            display: none;
        }

        /* --- Progress Bar --- */
        #progress-bar-container {
            width: 100%;
            background-color: #f2f3f64a;
            border-radius: 9999px;
            height: 0.625rem;
            margin-bottom: 1.5rem;
        }

        #progress-bar {
            background-color: #76cac6;
            height: 0.625rem;
            border-radius: 9999px;
            transition: width 0.3s ease;
        }

        /* --- Options Container & Cards --- */
        #options-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .question-card {
            text-align: left;
            padding: 1rem;
            background-color: #f3f4f69e;
            border-radius: 0.5rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.2s ease;
        }
        .question-card:hover {
            background-color: #f3f4f6e3;
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        }
        .question-card img {
            width: 100%;
            height: 8rem;
            object-fit: cover;
            border-radius: 0.375rem;
            margin-bottom: 0.75rem;
        }
        .question-card span {
            font-size: 1.125rem;
            line-height: 1.75rem;
            font-weight: 250;
            font-family: 'Roboto Slab', serif;
            color: #1F2937;
        }

        /* --- Result Screen Specifics --- */
        #result-screen img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    outline: 1px solid #ffffff26;
    outline-offset: 5px;
        }
        #result-screen .button-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 1rem;
        }

        /* --- Animations --- */
        .fade-in {
            animation: fadeIn 0.5s ease-in-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* --- Responsive Styles --- */
        @media (min-width: 640px) {
            #quiz-container {
                padding: 2.5rem;
            }
            h1 {
                font-size: 2.5rem;
                line-height: 1;
            }
            #options-container {
                grid-template-columns: repeat(2, 1fr);
            }
            #result-screen h1 {
                font-size: 3rem;
                line-height: 1;
            }
            #result-screen .button-container {
                flex-direction: row;
            }
        }


@media (max-width: 850px) {
    #sitecontainer_quiz {
        padding: 30px 10px;
    }

     #quiz-container {
            margin: 10px auto auto auto;
        }

}

