/* welcome.css */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    font-family: 'Roboto', sans-serif; /* Using a modern font */
    background: linear-gradient(135deg, #008080, #36B9CC); /* Updated background colors */
    animation: backgroundAnimation 15s ease infinite;
}

@keyframes backgroundAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.split-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.split {
    position: absolute;
    width: 100%;
    height: 50%;
    overflow: hidden;
    transition: all 1s ease-in-out;
}

.top {
    top: 0;
    background-color: rgba(248, 249, 252, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 5px solid #36B9CC; /* Adding a border for a modern touch */
    padding: 20px; /* Added padding for better spacing */
}

.bottom {
    bottom: 0;
    background-color: rgba(54, 185, 204, 0.9); /* Updated background color */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 20px; /* Added padding for better spacing */
}

.logo {
    width: 200px;
    transition: transform 0.5s ease;
    border-radius: 10px; /* Added border radius for a softer look */
}

.welcome-message h1 {
    font-size: 3em; /* Increased font size for better visibility */
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px; /* Added letter spacing for a modern touch */
}

.welcome-message p {
    font-size: 1.2em; /* Added a paragraph for additional information */
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px; /* Spacing above the paragraph */
}

.login-button {
    padding: 15px 30px;
    font-size: 20px; /* Increased font size */
    background-color: white;
    color: #36B9CC;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    position: relative; /* For positioning the pseudo-element */
}

.login-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(54, 185, 204, 0.2);
    top: 0;
    left: 0;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1; /* Behind the button */
}

.login-button:hover {
    transform: translateY(-3px); /* Slight lift effect */
    background-color: #4facfe;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.login-button:hover::after {
    opacity: 1; /* Show the overlay on hover */
}

/* Additional styles for a more creative look */
.welcome-message {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Clases para la animación */
.top.active {
    transform: translateY(-100%);
}

.bottom.active {
    transform: translateY(100%);
}
