@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden; /* Prevenim orice scroll nedorit */
}

/* Fundal separat ca să nu afecteze containerul */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: fadeBackground 25s infinite alternate ease-in-out;
    z-index: -1; /* Trimite fundalul în spate */
}

.nav {
    float: right;
    color: white;
    margin-right: 2%;
}

.container {
    font-family: "Poppins", sans-serif;
    background-color: rgba(255, 255, 255, 1); /* Solid background color */
    padding: 3%; /* Set padding to 3% for responsiveness */
    width: 30%; /* Set width to 30% for a smaller container */

    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Enhanced shadow */

    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

h1 {
    margin-bottom: 20px;
}

.input-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the input fields */
    margin: 10px 0; /* Added margin for spacing */
}


.input-container i {
    margin-right: 10px; /* Space between icon and input */
    color: #007BFF; /* Icon color */
    font-size: 20px; /* Increased icon size */
}

input, select {
    font-family: "Poppins", sans-serif;
    width: 100%;
    height: 55px;
    border-radius: 10px;
    border: 1.5px solid #007bff;
    padding-left: 12px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
    border-color: #0056b3;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    outline: none;
}

button {
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 15px;
    margin-top: 10px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #007bff, #93c4ce);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px;
    transition: all 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: linear-gradient(135deg, #0056b3, #00aaff);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.5);
    transform: translateY(-2px);
}

.question {
    font-family: "Poppins", sans-serif;
    margin-top: 30px; /* Add margin to position the question lower */
    margin-bottom: -50px;
}

@keyframes fadeBackground {
    0% { background-image: url('assets/1.jpg'); opacity: 1; }
    25% { background-image: url('assets/2.jpg'); opacity: 0.8; }
    50% { background-image: url('assets/3.jpg'); opacity: 1; }
    75% { background-image: url('assets/4.jpg'); opacity: 0.8; }
    100% { background-image: url('assets/5.jpg'); opacity: 1; }
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}
