﻿#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 24px;
    color: #00c9d0;
    text-align: center;
}

    #loading-screen::before,
    #loading-screen::after {
        content: '';
        background-color: #00c9d0;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        position: absolute;
        animation: ballPulseDouble 2s ease-in-out infinite;
        opacity: 0.5;
    }

    #loading-screen::before {
        animation-delay: -1s;
    }

@keyframes ballPulseDouble {
    0%, 100% {
        transform: scale(0);
    }

    50% {
        transform: scale(1);
    }
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

#loading-screen {
    animation: textPulse 2s ease-in-out infinite;
}
