.loaderRectangle {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Adjust background color */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 3px;
}

.loaderRectangle div {
    width: 10px;
    height: 16px;
    background: #183153;
    box-shadow: 0 0 20px rgba(18, 31, 53, 0.3);
    animation: heightAnimation 0.9s ease-in-out infinite;
}

/* Define keyframe animations */
@keyframes heightAnimation {
    0% {
        height: 15px;
    }
    40% {
        height: 50px;
    }
    100% {
        height: 15px;
    }
}

/* Define delays for individual rectangles */
.loaderRectangle div:nth-child(1) {
    animation-delay: 0s; /* No delay for the first one */
}

.loaderRectangle div:nth-child(2) {
    animation-delay: 0.1s; /* Add a slight delay for the second one */
}

.loaderRectangle div:nth-child(3) {
    animation-delay: 0.2s; /* Delay increases for each subsequent one */
}

.loaderRectangle div:nth-child(4) {
    animation-delay: 0.3s;
}

.loaderRectangle div:nth-child(5) {
    animation-delay: 0.4s;
}

/* Hide the preloader after loading */
.loaded .loaderRectangle {
    display: none !important;
}
