
.box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.box:hover {
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.container .row {
    gap: 0px;
}

@media (max-width: 768px) {
    .container .row {
        flex-direction: column; /* Para pantallas más pequeñas, las cards se apilan */
    }
}
.perspective {
    width: 100%;
    perspective: 1000px;
}

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

._3DCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9d9d9;
    border-radius: 1rem;
    width: 270px;
    height: 413px;
    margin: auto;
    box-shadow: 0rem 7rem 6rem -6rem #0128ff;
    transform-style: preserve-3d;
    transition: transform .05s linear;
}

/* Añadir brillo al borde cuando el ratón esté sobre la tarjeta */
._3DCard:hover {
    box-shadow: 0 0 20px 10px rgba(33, 150, 243, 0.35);
}

/* Opción alternativa con un brillo más gradual */
._3DCardContainer:hover ._3DCard {
    box-shadow: 0px 0px 15px 5px rgba(0, 123, 255, 0.35), 
                0px 0px 25px 10px rgba(0, 123, 255, 0.35);
}
._3DCard h2 {
    position: absolute;
    top: 0;
    left: -60px;
    font-size: 40px;
    font-weight: 100;
    transform: translateZ(80px);
}

._3DCard span {
    position: absolute;
    bottom: 40px;
    right: -280px;
    font-size: 37px;
    font-weight: 600;
    transform: translateZ(35px);
}