@import url(modules/module_default.css);
@import url(modules/module_cookie-banner.css);
@import url(modules/module_footer.css);

body
{
    background-color: var(--color-background-container-dark) !important;
    color: #fff;
    min-height: 100vH;
}

    section.hidden
    {
        display: none;
    }

    .step
    {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 3rem 10%;

        @media (max-width: 600px)
        {
            padding: 2rem 5%;
        }
    }

        .step .description
        {
            opacity: 0.6;
            text-align: center;
        }

        .step .answer-container
        {
            margin: 3rem 0;
            background: linear-gradient(135deg, #ffffff, #f9fafb);
            color: var(--color-text-primary);
            width: 80%;
            min-width: 300px;
            border-radius: 0.5rem;
            padding: 2rem;
            text-align: center;

            @media (max-width: 600px)
            {
                width: 100%;
                padding: 1rem;
            }
        }

            .step .answer-container .answers
            {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 1rem;
                margin-top: 2rem;
                margin-bottom: 5rem;
            }

                .step .answer-container .answers .answer
                {
                    background: linear-gradient(45deg, #d1d1d1, #f0f0f0);
                    color: var(--color-text-primary);
                    padding: 1rem;
                    border-radius: 0.5rem;
                    cursor: pointer;
                    transition: background-color 0.3s, color 0.3s;
                    font-weight: 800;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 0.5rem;
                }

                    .step .answer-container .answers .answer:hover
                    {
                        background: linear-gradient(45deg, #ddfdee, #f4fce6);
                    }

                    .step .answer-container .answers .answer.selected
                    {
                        background: linear-gradient(45deg, #a7f8d2, #d7ecdf);
                    }

                    .step .answer-container .answers .answer img
                    {
                        height: 100px;
                    }

            .step .answer-container .split-line
            {
                display: flex;
                align-items: center;
                gap: 2rem;
                margin-bottom: 2rem;
                width: 100%;

                @media (max-width: 600px)
                {
                    flex-direction: column;
                }
            }

                .step .answer-container .split-line .line
                {
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                    text-align: left;
                    gap: 0.25rem;
                    width: 100%;
                }

                    .step .answer-container .split-line .line .label
                    {
                        font-weight: 600;
                        opacity: 0.7;
                    }

                    .step .answer-container .split-line .line input
                    {
                        width: 100%;
                        padding: 1rem 0.5rem;
                        font-size: 1rem;
                        font-family: var(--font-family-primary);
                        border: 1px solid #ccc;
                        background-color: #fff;
                        border-radius: 0.25rem;
                        outline: none;
                    }

        .step .errors
        {
            padding-left: 1rem;
            margin-bottom: 2rem;
            text-align: left;
            color: rgb(197, 22, 22);
        }

            .step .errors.hidden
            {
                display: none;
            }

        .step .answer-container .buttons
        {
            display: flex;
            gap: 1rem;
            align-items: center;
            flex-wrap: wrap;

            @media (max-width: 600px)
            {
                flex-direction: column;
            }
        }

            .step .answer-container .buttons button
            {
                @media (max-width: 600px)
                {
                    width: 100%;
                }
            }

    .finish_screen
    {
        text-align: center;
        padding: 2rem 10%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }

        .finish_screen .description
        {
            max-width: 80%;
            line-height: 1.5rem;
            margin-top: 1rem;
            margin-bottom: 2rem;
            font-weight: 300;
        }

        .finish_screen a
        {
            color: var(--color-accent-primary);
            text-decoration: underline;
        }

    #loading_screen
    {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(5px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;

        transition: opacity 0.5s ease;
    }

        #loading_screen.hidden
        {
            opacity: 0;
            pointer-events: none;
        }

        #loading_screen img
        {
            width: 100px;
            height: 100px;
            animation: spin 2s linear infinite;
        }

footer,
.devnode
{
    filter: brightness(70%);
}