/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #282c34; /* Dark background color */
    color: #fff; /* White text color */
}

/* Splash screen container */
.splash-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

/* Shared animation styles for text */
.animated-text {
    font-size: 2rem;
    font-weight: bold;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 2s ease-out forwards;
    margin: 5px 0; /* Space between the lines */
}

.divTwo {
    margin-top:-25px;
}

.divOne {
    padding-bottom:50px;
}

/* First line - ABCD */
.first-text {
    color: lightgreen;
    animation-delay: 0s; /* Start immediately */
}

/* Second line - EFGH */
.second-text {
    color: lightblue;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
    animation-delay: 1s; /* Start after the underline */
    position: relative;
}

/* Underline */
.underline {
    position: absolute;
    height: 2px;
    background-color: white;
    width: 0;
    transition: width 1s ease;
    transform: translateY(10px); /* Move the underline below the first text */
}

/* Animation Keyframes */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    50% {
        opacity: 0.5;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
