﻿/*
    This CSS file styles the loading spinner that appears during a transition between pages.
*/

.loading-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    content: "";
    width: 90px;
    height: 90px;
    border: 20px solid #dddddd;
    border-top-color: #147DBF;
    border-radius: 75px;
    animation: loading-effect 0.5s ease infinite, fade-out-effect 1s ease-in-out forwards;
}

@keyframes loading-effect {
    from {
        transform: rotate(0turn)
    }

    to {
        transform: rotate(1turn)
    }
}

@keyframes fade-out-effect {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}
