* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    height: 100vh;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1B262C, #3282B8);
    color: #fff;
    animation: fadeIn 1s ease-in-out;
}

#container {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideUp 1s ease-in-out;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.container-heading {
    font-size: 36px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #BBE1FA;
    animation: bounceIn 1s ease-in-out;
}

#container hr {
    width: 50px;
    height: 4px;
    background: #BBE1FA;
    border: none;
    border-radius: 20px;
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    border-radius: 30px;
    border: none;
    background-color: #1B262C;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
    animation: fadeIn 1.5s ease-in-out;
}

input::placeholder,
textarea::placeholder {
    color: #BBE1FA;
}

input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #1B262C inset !important;
    -webkit-text-fill-color: #ffffff !important;
}

#textarea {
    height: 150px;
}

.submit-btn {
    width: 200px;
    padding: 15px;
    border-radius: 30px;
    border: none;
    background-color: #0F4C75;
    color: #ffffff;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    animation: fadeIn 2s ease-in-out;
}

.submit-btn:hover {
    background-color: #3282B8;
}

.hidden {
    display: none;
}

/* Media Queries */
@media (max-width: 768px) {
    #container {
        width: 90%;
        padding: 20px;
    }

    input,
    textarea {
        width: 100%;
    }

    .container-heading {
        font-size: 28px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    from {
        transform: scale(0.9);
    }

    to {
        transform: scale(1);
    }
}