/* Base styles for the body and form */
body {
    font-family: Arial, sans-serif;
    background-image: url("/img/b1.jpg");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden; /* Prevent scrolling */
}

h1 {
    font-size: 1.5rem; /* Reduced font size to fit the screen */
    color: white;
    opacity: 0;
    animation: slideInLeft 5s forwards;
    margin-bottom: 10px;
}
form {
    background-color: EDE7F6;
    padding: 15px; /* Reduced padding */
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 260px; /* Reduced width */
    opacity: 0;
    animation: slideUp 3s forwards;
    display: flex;
    flex-direction: column; /* Keep elements stacked */
    justify-content: center;
}

label {
    font-size: 0.9rem; /* Reduced font size */
    margin: 8px 0 4px; /* Reduced spacing */
    color: #FFFFFF;
}

input, select {
    padding: 8px; /* Reduced padding */
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem; /* Reduced font size */
}

button {
    padding: 8px; /* Reduced padding */
    background-color: #616161;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem; /* Reduced font size */
    transition: background-color 0.3s;
}

button:hover {
    background-color: #4A148C;
}

/* Keyframes for animations */
@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Delay animations for the second form */
form:nth-of-type(2) {
    animation-delay: 2s;
}
