.loader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: #ffff;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader.loader--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader img {
    max-width: 200px;
    max-height: 200px
}

.loading-text {
    color: #000047;
    font-size: 25pt;
    font-style: italic;
    font-weight: 600;
    margin-left: 10px;
}

.dot {
    margin-left: 3px;
    animation: blink 1.5s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.3s;
}

.dot:nth-child(3) {
    animation-delay: 0.6s;
}

.loading-bar-background {
    --height: 10px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0px;
    width: 320px;
    height: var(--height);
    background-color: #ffff
        /*change this*/
    ;
    box-shadow: #0c0c0c -2px 2px 4px 0px inset;
    border-radius: calc(var(--height) / 2);
}

.loading-bar {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    --height: 8px;
    width: 0%;
    height: var(--height);
    overflow: hidden;
    background: rgb(222, 74, 15);
    background: #004e8f;
    border-radius: calc(var(--height) / 2);
    animation: loading 4s ease-out infinite;
}

.white-bars-container {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 18px;
}

.white-bar {
    background: #ffff;
    background: linear-gradient(-45deg,
            #ffff 0%,
            rgba(255, 255, 255, 0) 70%);
    width: 10px;
    height: 45px;
    opacity: 0.3;
    rotate: 45deg;
}

@keyframes loading {
    0% {
        width: 0;
    }

    80% {
        width: 100%;
    }

    100% {
        width: 100%;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}