@keyframes load {
    0% {
        opacity: 0.9;
        scale: 96%;
    }
    100% {
        opacity: 1;
        filter: blur(0);
        letter-spacing: normal;
    }
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body, html {
    height: 100%;
    width: 100%;
    background-color: #141218FF;
    color: white;
    margin: 0;
    padding: 0;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.loader-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid;
    border-color: #A537FDFF #A537FDFF transparent;
    animation: rotation 1s linear infinite;
}

.animate {
    font-family: Helvetica, sans-serif, Arial;
    animation: load 1.2s infinite ease-in-out alternate;
    text-shadow: 0 0 1px white;
    margin-top: 20px;
}

.error-message {
    color: white;
    padding: 0px;
    border-radius: 5px;
    text-align: center;
    height: 100%;
    width: 100%;
    align-self: center;
    position: absolute;
    display: none;
    align-content: center;
    justify-content: center;
    margin: auto auto;
}

.error-message p {
    margin: 10px;
    padding: 2px;
    font-weight: bold;
    font-family: Helvetica, sans-serif, Arial;
}