.section.bigdata {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    height: 200px !important;
}

#bigdataContainer {
    text-align: center;
}

.boxes-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.box-border {
    /* border: 2px solid var(--black); */
    overflow: hidden;
    width: 100px;
    height: 100px;
}

.box {
    width: 100px;
    height: 100px;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    overflow: hidden;
    /* Ensures squares don't overflow outside */
    position: relative;
}

.box-text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--black);
}

.small-square {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--white);
    opacity: 0;
    position: relative;
    animation: fall 0.5s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.5s ease forwards;
}

.slide-out-right {
    animation: slideOutRight 0.5s ease forwards;
}

.color1 {
    background-color: #FF59B4;
    /* PINK */
}

.color2 {
    background-color: #5964FF;
    /* BLUE */
}

.color3 {
    background-color: #FFC859;
    /* YELLOW */
}

.color4 {
    background-color: var(--green);
    /* GREEN */
}

@keyframes fall {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Keyframe animation that blinks element then changes element background color*/
@keyframes blink {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        background: var(--black);
        border-radius: 50%;
    }
}

.blink {
    animation: blink 1s forwards;
}

/* Add this CSS to your stylesheet */
.fade-out-right {
    animation: fadeOutRightAnimation 1s ease-out 2.0s forwards;
}

@keyframes fadeOutRightAnimation {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(100px);
    }
}

.fade-out-down {
    animation: fadeOutDownAnimation 1s ease-out 2.0s forwards;
}

@keyframes fadeOutDownAnimation {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(100px);
    }
}
