#preloader {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 10000000;
    background-color: var(--bookingBackground);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    transition: 1s;
    opacity: 0;
    visibility: hidden;
}
#preloader.visible {
    opacity: 1;
    visibility: visible;
}
    #preloader svg {
        display: block;
        margin: 0;
        padding: 0;
    }
    #preloader .spinner {
        width: 66px;
        height: 66px;
        animation: contanim 2s linear infinite;
    }
    #preloader svg {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        position: absolute;
        transform: rotate(-90deg);
    }
    #preloader svg:nth-child(1) circle {
        stroke: var(--bookingPrimaryLight);
        stroke-dasharray: 1, 300;
        stroke-dashoffset: 0;
        animation: strokeanim 3s calc(.2s * (1)) ease infinite;
        transform-origin: center center;
    }
    #preloader svg:nth-child(2) circle {
        stroke: var(--bookingPrimary);
        stroke-dasharray: 1, 300;
        stroke-dashoffset: 0;
        animation: strokeanim 3s calc(.2s * (2)) ease infinite;
        transform-origin: center center;
    }
    #preloader svg:nth-child(3) circle {
        stroke: var(--bookingPrimaryDark);
        stroke-dasharray: 1, 300;
        stroke-dashoffset: 0;
        animation: strokeanim 3s calc(.2s * (3)) ease infinite;
        transform-origin: center center;
    }
    #preloader svg:nth-child(4) circle {
        stroke: var(--bookingPrimaryDark);
        stroke-dasharray: 1, 300;
        stroke-dashoffset: 0;
        animation: strokeanim 3s calc(.2s * (4)) ease infinite;
        transform-origin: center center;
    }
@keyframes strokeanim {
    0% {
        stroke-dasharray: 1, 300;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 120, 300;
        stroke-dashoffset: -58.54832;
    }
    100% {
        stroke-dasharray: 120, 300;
        stroke-dashoffset: -175.64497;
    }
}
@keyframes contanim {
    100% {
        transform: rotate(360deg);
    }
}
