#loading-screen {
    height: 60px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -71px;
    align-items: stretch;
    overflow: hidden;
}

#loading-screen .bars {
    display: flex;
    width: 100%;
	height: 100%;
}

#loading-screen .bars span {
    flex: 0 0 auto;
    margin: 0 1px;
    background: #111;
    opacity: 0.3;
    transform: scaleY(0.8);
    animation: jump 1.2s infinite ease-in-out;
}

/* Barcode, different widths */
#loading-screen .bars span:nth-child(1) {
    width: 2px;
}
#loading-screen .bars span:nth-child(2) {
    width: 5px;
}
#loading-screen .bars span:nth-child(3) {
    width: 3px;
}
#loading-screen .bars span:nth-child(4) {
    width: 7px;
}
#loading-screen .bars span:nth-child(5) {
    width: 2px;
}
#loading-screen .bars span:nth-child(6) {
    width: 4px;
}
#loading-screen .bars span:nth-child(7) {
    width: 6px;
}
#loading-screen .bars span:nth-child(8) {
    width: 3px;
}
#loading-screen .bars span:nth-child(9) {
    width: 5px;
}
#loading-screen .bars span:nth-child(10) {
    width: 2px;
}
#loading-screen .bars span:nth-child(11) {
    width: 6px;
}
#loading-screen .bars span:nth-child(12) {
    width: 3px;
}
#loading-screen .bars span:nth-child(13) {
    width: 7px;
}
#loading-screen .bars span:nth-child(14) {
    width: 4px;
}
#loading-screen .bars span:nth-child(15) {
    width: 2px;
}

/* Animation */
#loading-screen .bars span:nth-child(1) {
    animation-delay: 0s;
}
#loading-screen .bars span:nth-child(2) {
    animation-delay: 0.05s;
}
#loading-screen .bars span:nth-child(3) {
    animation-delay: 0.1s;
}
#loading-screen .bars span:nth-child(4) {
    animation-delay: 0.15s;
}
#loading-screen .bars span:nth-child(5) {
    animation-delay: 0.2s;
}
#loading-screen .bars span:nth-child(6) {
    animation-delay: 0.25s;
}
#loading-screen .bars span:nth-child(7) {
    animation-delay: 0.3s;
}
#loading-screen .bars span:nth-child(8) {
    animation-delay: 0.35s;
}
#loading-screen .bars span:nth-child(9) {
    animation-delay: 0.4s;
}
#loading-screen .bars span:nth-child(10) {
    animation-delay: 0.45s;
}
#loading-screen .bars span:nth-child(11) {
    animation-delay: 0.5s;
}
#loading-screen .bars span:nth-child(12) {
    animation-delay: 0.55s;
}
#loading-screen .bars span:nth-child(13) {
    animation-delay: 0.6s;
}
#loading-screen .bars span:nth-child(14) {
    animation-delay: 0.65s;
}
#loading-screen .bars span:nth-child(15) {
    animation-delay: 0.7s;
}

@keyframes jump {
    0% {
        transform: scaleY(0.8);
        opacity: 0.3;
    }
    30% {
        transform: scaleY(1);
        opacity: 1;
        background: #aa0000;
    }
    60% {
        transform: scaleY(0.8);
        opacity: 0.3;
		background: #111;
    }
    100% {
        transform: scaleY(0.8);
        opacity: 0.3;
    }
}
