.imgOnyva {
    padding-right: 100px;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    margin-top: 50px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    z-index: 100;
    border-radius: 8px;
}
.imgOnyva:hover::after {
    transform: translateY(0);
}
.imgOnyva::after {
    width: 220px;
    height: 200px;
    font-size: 1.8rem;
    color: #fff;
    background-color: #32656d61;
    inset: 0;
    display: grid;
    place-items: center;
    transform: translateY(-100%);
    transition: .35s;
    margin: 0 -20px;
    /* transform: scale(0.001);
    transition: .4s; */
}

/* Mio Navbar */

header {
    background-color: transparent;
}
.navTop {
    position: fixed;
    width: 100vw;
    top: 0;
    z-index: 100000;
    background-color: #ffffff;
    padding-left: 1rem;
    padding-right: 1.4rem;
    display: flex;
    justify-content: space-evenly;
}
.navbar-nav {
    display: inline-flex;
}
.itemsNav {
    display: contents;
    display: inline-flex;
}

.nav-link {
    color: rgb(8 8 8);
}
.nav-link:focus, .nav-link:hover {
    color: #000000;
    transform: scale(1.1);
}
.image-gallery {
    /* margin-top: 8px; */
    width: 100%;
    position: fixed;
    background-color: white;
    /* padding-top: 27px; */
}

.cuerpo {
    margin-top: 143px;
}

.margen_bajar {
    margin-top: 70px;
}
.mb_final {
    margin-bottom: 10vh;
}

.altura {
    margin-top: 0.7rem; /* margin-top: 8rem; */
    margin-bottom: 0.8rem;
    background-color: white;
    /* position: fixed; */
}
.ancho {
    margin-left: 4rem;
    padding-left: 4rem;
    padding-top: 5.6rem;
}
.alto {
    padding: 0 4px;
    margin-bottom: 0;    
    width: 100%;
    position: sticky;
    top: 0;
}
.containerCard {
    /* display: flex; */
    margin: auto;
    width: 95vw;
    justify-content: space-evenly;
    margin-bottom: 2rem;
}
.cCard {
    flex-direction: column;
    border-radius: .25rem;
    width: 340px;
    border-radius: 10px;
    padding-top: 0.4rem;
    height: 384px;
    box-shadow: 0px 0px 15px rgb(0 0 0 / 40%);
}
.containerImagenCard {
    display: flex;
    margin: 0 auto;
}
.imagenCard {
    min-height: 200px;
    max-height: 200px;
}
.textoCard {
    margin-top: 1rem;
    padding: 1rem;
}
.fila {
    justify-content: space-evenly;
}

@media only screen and (max-width: 480px) {
    .cuerpo {
        margin-top: 0;
    }
    .col-2 {
        width: 100%;
    }
    .mt-5 {
        margin-top: 0!important;
    }
    .espacio {
        margin-top: 2rem!important;
    }
    .alto {
        padding: 1.2rem 4px 0.7rem;
    }
    .imagenHB {
        width: 78vw;
    }
}
