/*-------------------------------------------*\
! GALLERY COMPONENT
\*-------------------------------------------*/
.gallery {
	display: grid;
	margin: 2.5rem 0;
    position: relative;
    grid-template-areas: 'a';
}

.gallery figure {
    opacity: 0;
    grid-area: a;
    transition: .3s ease;
}

.gallery figure.active {
	opacity: 1;
}

.gallery figure div {
    height: 500px;
}

.gallery figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery__button {
    position: absolute;
    bottom: 15%;
    border: 0;
    background: transparent;
}

.gallery__button.disable {
    opacity: .3;
    pointer-events: none;
}

.gallery__button--left {
    left: -50px;
    transform: scalex(-1);
}

.gallery__button--right {
    right: -50px;
}
