.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; /* Ensure blocks and line are stacked vertically */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px); /* Add blur effect to the background */
    background-color: rgba(0, 0, 0, 0.164); /* Semi-transparent white background */
    z-index: 9999;
}

.blocks-container {
    display: flex;
    align-items: center;
}

.block {
    width: 50px;
    height: 50px;
    background-image: url('block.png'); /* Use block.png as background image */
    background-size: cover;
    margin: 0 5px;
    animation: blockAnimation 0.8s infinite alternate;
}

.line {
    width: 50%; /* Line spans the full width */
    height: 4px;
    background-color: #efff02;
    margin-top: 0px; /* Add margin top for separation */
}

@keyframes blockAnimation {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-20px);
    }
}

.block:nth-child(2n) {
    animation-delay: 0.2s;
}

.block:nth-child(3n) {
    animation-delay: 0.4s;
}

.block:nth-child(4n) {
    animation-delay: 0.6s;
}

.block:nth-child(5n) {
    animation-delay: 0.8s;
}

.block:nth-child(6n) {
    animation-delay: 1s;
}

.block:nth-child(7n) {
    animation-delay: 1.2s;
}

.block:nth-child(8n) {
    animation-delay: 1.4s;
}

.block:nth-child(9n) {
    animation-delay: 1.6s;
}
