body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(to right, #3498db, #2c3e50);
    color: white;
}

#container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
    animation: fadeIn 0.8s ease-out;
}

h2 {
    margin-bottom: 20px;
    color: #333333;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555555;
}

input,
select,
button {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border: 1px solid #cccccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
    color: #333333;
    background-color: #ffffff;
}

input:focus,
select:focus {
    border-color: #3498db;
}

select:hover {
    transform: scale(1.02);
}

button {
    padding: 10px;
    background-color: #27ae60;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #219d54;
    transform: scale(1.05);
}

#result {
    margin-top: 15px;
    font-weight: bold;
    color: #333333;
    opacity: 0;
    animation: fadeInResult 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInResult {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body {
    animation: gradientAnimation 10s linear infinite;
}