.wrapper_slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container_slide {
    height: 400px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
}

.card_slide {
    width: 80px;
    border-radius: 2rem;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
    margin: 0 10px;
    display: flex;
    align-items: flex-end;
    transition: .6s cubic-bezier(.28,-0.03,0,.99);
    box-shadow: 0px 10px 30px -5px rgba(0,0,0,0.8);
    position: relative; /* Make positioning relative for the animation */
    opacity: 0; /* Start hidden */
    transform: translateY(50px); /* Start 50px below (increase this value) */
    animation: drop 3s ease forwards; /* Keep the same animation duration */
}

.card_slide > .row {
    color: white;
    display: flex;
    flex-wrap: nowrap;
}

.card_slide > .row > .icon {
    background: #223;
    color: white;
    border-radius: 50%;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
}

.card_slide > .row > .description {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    height: 80px;
    width: 520px;
    opacity: 0;
    transform: translateY(30px);
    transition-delay: .3s;
    transition: all .3s ease;
}

.description p {
    color: #b0b0ba;
    padding-top: 5px;
}

.description h4 {
    text-transform: uppercase;
}

input {
    display: none;
}

input:checked + label {
    width: 600px;
}

input:checked + label .description {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Animation Keyframes */
@keyframes drop {
    to {
        opacity: 1; /* Fully visible */
        transform: translateY(0); /* Move to the original position */
    }
}

.card_slide[for="c1"] {
    background-image: url('1.jpg');
}
.card_slide[for="c2"] {
    background-image: url('2.jpg');
}
.card_slide[for="c3"] {
    background-image: url('3.jpg');
}
.card_slide[for="c4"] {
    background-image: url('4.jpg');
}

@media (max-width: 768px) {
    .wrapper_slide {
        display: none;
    }
}
