*,
*::before,
*::after {
/*     box-sizing: inherit;
    margin: 0;
    padding: 0; */
}
.galeria {
    position: relative;
    width: 100%;
    /* height: 90%; */
    overflow-y: hidden;
    overflow-x: hidden;
}
.galeria .container {
    display: flex;
    justify-content: center;
}
.thumbnails {
    display: flex;
    flex-direction: column;
    line-height: 0;
}
.thumbnails label{
    position: absolute;
    font-size: 1.4em;
}
.thumbnails li {
    flex: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
@media (max-width: 500px) {
    .thumbnails li {
        font-size: 0.5em;       
    }
    .thumbnails img {
        width: 20vmin;
    }
}
.thumbnails a {
    display: block;
}
.thumbnails img {
    width: 30vmin;
    height: 20vmin;
    object-fit: cover;
    object-position: top;
    opacity: 0.5;
    filter: blur(2px);
    filter: grayscale(100%);
}
.thumbnails img:hover {
    opacity: 0.9;    
    filter: grayscale(0%);
}
.slides {
    overflow: hidden;
    width: 75vmin;
    /* height: 100vmin; */
    background: rgba(0, 0, 0, 0.808);
}
.slides li {
    width: 75vmin;
    height: 100vmin;
    position: absolute;
    z-index: 1;
}
.slides img {
    height: 80vmin;
    object-fit: cover;
    object-position: top;
}
.slides li:target {
    z-index: 3;
    -webkit-animation: slide 1s 1;
}
.slides li:not(:target) {
    -webkit-animation: hidden 1s 1;
}
@keyframes slide {
    0% {
        transform: translateY(-5%);
    }
    100% {
        transform: translateY(0%);
    }
}
@keyframes hidden {
    0% {
        z-index: 2;
    }
    100% {
        z-index: 2;
    }
}
/*EFECTO AFTER BEFORE*/
.cd-image-container {
    position: relative;
    width: 100%;
    max-width: 1880px;
    margin: 0em auto;
}
.cd-resize-img.slide-img {
    border-right: 4px solid #f2f2f2;
    -webkit-box-shadow: 11px 0px 15px -12px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 11px 0px 15px -12px rgba(0, 0, 0, 0.75);
    box-shadow: 11px 0px 15px -12px rgba(0, 0, 0, 0.75);
}
.cd-image-container img {
    display: block;
}
.cd-image-label {
    position: absolute;
    bottom: 0;
    right: 55px;
    color: var(--primary-1);
    background: rgba(126, 93, 3, 0.808);
    border-radius: 10px;
    padding: 0.8em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    -ms-transform: translateY(20px);
    -o-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: -webkit-transform 0.3s 0.7s, opacity 0.3s 0.7s;
    -moz-transition: -moz-transform 0.3s 0.7s, opacity 0.3s 0.7s;
    transition: transform 0.3s 0.7s, opacity 0.3s 0.7s;
}
.cd-image-label.is-hidden {
    visibility: hidden;
}
.is-visible .cd-image-label {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}
.cd-resize-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    overflow: hidden;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.cd-resize-img img {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
}
.cd-resize-img .cd-image-label {
    right: auto;
    left: 0;
}
.is-visible .cd-resize-img {
    width: 50%;
    /* bounce in animation of the modified image */
    -webkit-animation: cd-bounce-in 0.7s;
    -moz-animation: cd-bounce-in 0.7s;
    animation: cd-bounce-in 0.7s;
}
@-webkit-keyframes cd-bounce-in {
    0% {
        width: 0;
    }
    60% {
        width: 55%;
    }
    100% {
        width: 50%;
    }
}
@-moz-keyframes cd-bounce-in {
    0% {
        width: 0;
    }
    60% {
        width: 55%;
    }
    100% {
        width: 50%;
    }
}
@keyframes cd-bounce-in {
    0% {
        width: 0;
    }
    60% {
        width: 55%;
    }
    100% {
        width: 50%;
    }
}
.cd-handle {
    position: absolute;
    height: 44px;
    width: 44px;
    /* center the element */
    left: 50%;
    top: 50%;
    margin-left: -22px;
    margin-top: -22px;
    border-radius: 50%;
    background: #9a9a9a url("https://codyhouse.co/demo/image-comparison-slider/img/cd-arrows.svg") no-repeat center center;
    cursor: move;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0) scale(0);
    -moz-transform: translate3d(0, 0, 0) scale(0);
    -ms-transform: translate3d(0, 0, 0) scale(0);
    -o-transform: translate3d(0, 0, 0) scale(0);
    transform: translate3d(0, 0, 0) scale(0);
}
.cd-handle.draggable {
    /* change background color when element is active */
    background-color: #424242;
}
.is-visible .cd-handle {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
    -moz-transform: translate3d(0, 0, 0) scale(1);
    -ms-transform: translate3d(0, 0, 0) scale(1);
    -o-transform: translate3d(0, 0, 0) scale(1);
    transform: translate3d(0, 0, 0) scale(1);
    -webkit-transition: -webkit-transform 0.3s 0.7s, opacity 0s 0.7s;
    -moz-transition: -moz-transform 0.3s 0.7s, opacity 0s 0.7s;
    transition: transform 0.3s 0.7s, opacity 0s 0.7s;
}