body {
    font-family: 'Comic Sans MS', sans-serif; /* Comic-style font */
    background-color: #fdf1f9; /* Light pink background */
    background-image:  url(../Images/bg2.jpg), /* Your logo image */
                      linear-gradient(to bottom right, #FF69B4, #ffd9e8); /* Gradient */
    background-size: contain, cover; /* Logo fits perfectly, gradient covers */
    background-repeat: no-repeat; /* Prevent tiling */
    background-position: center, center; /* Center the logo and gradient */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden; /* Prevent scrollbars */
}
header {
    text-align: center; /* Center text */
    margin-top: 10px; /* Space from the top */
    display: flex;
   position: absolute;
   top: 0;
   justify-content: center;
}


.logo {
    max-width: 100%; /* Ensure the logo is responsive */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Space between logo and heading */
    animation:  bounce 1.5s infinite;
}

h1 {
    color: #287fe2; /* Set heading color */
}
.container {
    background: #ffffff; /* White background for contrast */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Shadow for depth */
    padding: 30px;
    width: 90%;
    max-width: 400px;
    animation: fadeIn 1s ease-in-out; /* Smooth entry animation */
    text-align: center;
}

h1 {
    color: #FF69B4;
    font-size: 2rem;
    margin-bottom: 20px;
    animation: bounce 1.5s infinite; /* Subtle bounce effect */
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    color: #333; /* Neutral dark text */
}

select, input {
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #FF69B4; /* Themed border */
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s; /* Interaction feedback */
}

select:hover, input:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 0 8px #FF69B4; /* Glow effect */
}

button {
    background-color: #FF69B4;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

button:hover {
    background-color: #ff47a1; /* Darker pink on hover */
    transform: translateY(-3px); /* Slight uplift */
}

button:active {
    transform: translateY(0); /* Reset on click */
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
    display: none; /* Initially hidden */
    animation: shake 0.5s ease-in-out; /* Error shake animation */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-5px);
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.5rem;
    }
    select, input, button {
        font-size: 14px;
    }
}
