﻿@font-face {
    font-family: 'Comfortaa';
    src: url('../../../Content/font/CustomFont0.woff') format('woff'), url('../../../Content/font/CustomFont1.woff') format('woff'), url('../../../Content/font/CustomFont2.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Comfortaa', sans-serif;
    font-size: 14px;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    scroll-behavior: smooth;
    background-color: #121212;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/L02.jpg') no-repeat center center fixed;
    background-size: cover;
    filter: blur(25px) brightness(0.15);
    transition: filter 1s ease-out, opacity 1s ease-out;
    z-index: -1;
}

.main-container {
    width: 100%;
    max-width: 600px;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
    overflow: hidden;
}

.scrollable-content {
    width: 100%;
    max-width: 600px;
    background-color: rgba(50, 50, 50, 0.85);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid #3a6f41;
    overflow-y: auto;
    height: 100%;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.fade-out {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.scrollable-content::-webkit-scrollbar {
    width: 10px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: #3a3a3a;
    border-radius: 5px;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background-color: #3a6f41;
    border-radius: 5px;
    border: 2px solid #3a3a3a;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.title {
    color: #ffffff;
    font-size: 2em;
    font-family: 'Comfortaa', sans-serif;
    font-weight: bold;
    text-align: center;
}

h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8em;
}

label.question {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-top: 25px;
    display: block;
    transition: color 0.3s ease;
}

.highlight {
    color: #ffdd33;
    font-weight: bold;
}

label {
    font-size: 1.1em;
    color: #e0e0e0;
    margin: 8px 0 5px;
    display: block;
}

input[type="text"], input[type="email"], input[type="number"], select, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    font-family: 'Comfortaa', sans-serif;
    color: #3a6f41;
}

.checkbox-group label, .radio-group label {
    font-size: 1em;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.checkbox-group .other-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-group, .checkbox-group {
    margin-bottom: 10px;
}

    .radio-group input[type="radio"], .checkbox-group input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 8px;
        accent-color: #3a6f41;
    }

.button {
    background: linear-gradient(45deg, #5b4f3b, #3a6f41);
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1em;
    cursor: pointer;
    text-align: center;
    width: auto;
    transition: background 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

    .button:hover {
        background: linear-gradient(45deg, #7c6d52, #4f8d56);
    }

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 0.9em;
    color: #bbbbbb;
    background-color: rgba(18, 18, 18, 0.9);
    padding: 10px 0;
    z-index: 1;
}

.error-message {
    color: #ff6666;
    font-size: 0.9em;
    margin-top: -10px;
    margin-bottom: 15px;
    display: none;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }
}

.shake {
    animation: shake 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    color: #333333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: none;
    width: 400px;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s forwards;
    font-weight: bold;
    font-size: 1.2em;
    color: #2a6f41;
}

    .modal button {
        margin-top: 15px;
        padding: 10px 20px;
        background: linear-gradient(45deg, #5b4f3b, #3a6f41);
        color: #ffffff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1em;
    }

#centerLogo {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    transition: opacity 2s ease-out;
}

#topLogo img {
    max-width: 200px;
    height: auto;
    border: 2px solid #e0e0e0;
    padding: 5px;
    border-radius: 8px;
}
