.container-LAB {
    display: flex;
    width: 100%;
    perspective: 1200px;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.card {
    position: relative;
    width: 80%;
    height: 380px;
    text-decoration: none;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid rgba(49, 49, 49, 0.2);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background: #000;
}

.cards img,
.card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    border-radius: 15px;
    filter: blur(0px);

}

.cards img {
    transition: filter 0.5s ease, opacity 0.5s ease;
}

.card img {
    transition: transform 0.6s ease, filter 0.6s ease;
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.card h2 {
    color: #fff;
    z-index: 2;
    margin-bottom: 30px;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.5s ease;
}

.card:hover {
    border-color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.9);
}

.card:hover img {
    opacity: 0.6;
    transform: scale(1.1);
}

.cards:hover img {
    border-radius: 15px;
    filter: blur(10px);
    opacity: 0;
}

.card:hover h2 {
    color: #dcffe5;
}

.cards {
    margin-top: 10px;
    width: 254px;
    height: 190px;
    border-radius: 20px;
    position: relative;
    padding: 1.8rem;
    border: 2px solid #c3c6ce;
    transition: 0.5s ease-out;
    overflow: visible;
    background-color: #0000005e;
}

.cards-details {
    color: black;
    height: 100%;
    gap: .5em;
    display: grid;
    place-content: center;
}

.cards-button {
    transform: translate(-50%, 125%);
    width: 60%;
    border-radius: 1rem;
    border: none;
    background-color: rgb(47, 50, 49);
    color: #fff;
    font-size: 1rem;
    padding: .5rem 1rem;
    position: absolute;
    left: 50%;
    bottom: 0;
    opacity: 0;
    transition: 0.3s ease-out;
}

.text-body {
    margin-top: -4px;
    color: rgb(255, 255, 255);
    z-index: 1;
}

/*Text*/
.text-title {
    color: rgb(255, 255, 255);
    font-size: 1.5em;
    font-weight: bold;
    z-index: 1;
}

/*Hover*/
.cards:hover {
    box-shadow: 0px 0px 10px 0px #80e89a;
    border: 2px solid #80e89a;
    text-decoration: none;
}

.cards:hover .cards-button {
    transform: translate(-50%, 50%);
    opacity: 1;
}

.rigthCards {
    margin-top: 5px;
    border-left: 1px solid rgba(255, 255, 255, 0.349);
    width: 100%;
}

.displayCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-right: 10px;
}

@media (max-width: 768px) {
    .text-body {
        font-size: 12px;
    }

    .rigthCards {
        padding-left: 0px;
        border-left: none;
        margin-top: 0px;
    }

    .container-LAB {
        flex-direction: column;
        gap: 30px;
        perspective: 1000px;
    }

    .card {
        width: 90%;
        max-width: 320px;
        height: 250px;
    }

    .cifratura:hover {
        transform: rotateX(10deg);
    }

    .decifratura:hover {
        transform: rotateX(-10deg);
    }

    .cryptoLAB h1 {
        font-size: 2rem;
    }

    .intro {
        margin-bottom: 5px;
        padding: 0 20px;
        font-size: 0.9rem;
    }
}