* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.loader {
    position: fixed;
    inset: 0;
/*    background: #FAFAFA;*/
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader span {
    width: 4px;
    height: 50px;
    background: #009999;
    animation: scale 0.9s ease-in-out infinite;
    margin: 0 3px;
}

.loader span:nth-child(2) {
    background: #333;
    animation-delay: -0.8s;
}

.loader span:nth-child(3) {
    background: #004c4c;
    animation-delay: -0.7s;
}

.loader span:nth-child(4) {
    background: #333;
    animation-delay: -0.6s;
}

.loader span:nth-child(5) {
    background: #009999;
    animation-delay: -0.5s;
}

.loader.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

@keyframes scale {

    0%,
    40%,
    100% {
        transform: scaleY(0.05);
    }

    20% {
        transform: scaleY(1);
    }
}