body {
    font-family: Arial, sans-serif;
    background: url('Background.jpeg') no-repeat center center fixed; /* Replace 'background.jpg' with your image path */
    background-size: cover;
    margin: 0;
    padding: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 200px; /* Adjusted to fit welcome message and buttons */
    animation: fadeIn 2s ease-in-out;
}

.welcome-message {
    margin-bottom: 20px;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.button-container {
    display: flex;
    justify-content: space-around;
    width: 650px; /* Adjust width as needed */
}

.button {
    padding: 10px 20px;
    margin: 0 10px; /* Adjust margin for spacing between buttons */
    font-size: 18px;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    opacity: 0; /* Initial state for animation */
    animation: slideIn 1s ease-in-out forwards;
}

.button:nth-child(1) {
    animation-delay: 0.5s;
}

.button:nth-child(2) {
    animation-delay: 1s;
}

.button:hover {
    background-color: #0056b3;
}

.form-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.result {
    text-align: center;
    margin-top: 20px;
    animation: fadeIn 1s ease-in-out;
}

.noDisplayForm {
    display: none;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
