.page-loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255);
    z-index: 99999;

    opacity: 1;
    visibility: visible;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: opacity .35s ease, visibility .35s ease;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* loader animation container */

.page-loader-inner {
    position: relative;
    width: 110px;
    height: 110px;
}


/* spinner rings */

.loader-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid rgba(65, 105, 225, 0.25);
    border-top-color: royalblue;
    border-right-color: #4caf50;

    animation: loader-spin 1.1s linear infinite;
}

.loader-circle.loader-circle-2 {
    inset: 10px;
    border-width: 3px;
    border-top-color: #ff9800;
    border-left-color: rgba(255, 255, 255, 0.6);

    animation-duration: 1.6s;
    animation-direction: reverse;
}


/* center logo */

.loader-logo-wrap {
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

.loader-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* animation */

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}