.loader-wrapper {
    text-align: center;
}

.loader {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(128, 128, 128, 0.40);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

@keyframes quiet {
    25% {
        transform: scaleY(0.6);
    }

    50% {
        transform: scaleY(0.4);
    }

    75% {
        transform: scaleY(0.8);
    }
}

@keyframes normal {
    25% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.4);
    }

    75% {
        transform: scaleY(0.6);
    }
}

@keyframes loud {
    25% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.4);
    }

    75% {
        transform: scaleY(1.2);
    }
}


.boxContainer {
    display: flex;
    justify-content: space-between;
    height: 64px;
    --boxSize: 8px;
    --gutter: 4px;
    width: calc((var(--boxSize) + var(--gutter)) * 5);
    margin: auto;
}

.box {
    height: 100%;
    width: var(--boxSize);
    background: linear-gradient(to top, #1b4dcb, #365FC9);
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    border-radius: 8px;
}

.box1 {
    animation-name: quiet;
}

.box2 {
    animation-name: normal;
}

.box3 {
    animation-name: quiet;
}

.box4 {
    animation-name: loud;
}

.box5 {
    animation-name: quiet;
}


.loader-text {
    margin-top: 10px;
    font-size: 24px;
    color: #1d43ca;
    text-transform: uppercase;
}