/*
    loading animation for website
    this css file contains styles intended for reuse across multiple pages
*/

.loading_animation_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #75aff1c2;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
}

.loading_animation_wrapper .container {
    text-align: center;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading_animation_wrapper .container .spinner {
    border: 0.8rem solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top: 0.8rem solid #892068;
    width: 8rem;
    height: 8rem;
    animation: loading_animation_spin 1s linear infinite;
}

.loading_animation_wrapper .container .text {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.4rem;
}

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