.overlay {
    background-color: #e70000;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    animation: fadeOut 1s ease 0.5s forwards;
    flex-direction: column;
}

.splash-message {
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    font-family: "Brush Script MT", cursive;
    font-size: 130px;
    margin-top: -75px;
    position: relative;
}

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
    .splash-message {
        font-size: 100px;
        margin-top: -60px;
    }

    .splash-loading {
        height: 60px;
    }
}

@media screen and (max-width: 480px) {
    .splash-message {
        font-size: 70px;
        margin-top: -40px;
    }

    .splash-loading {
        height: 50px;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.splash-loading {
    height: 80px;
    align-self: center;
    position: relative;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
