.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: #e5e5e5;
    height: 100vh;
    height: 100svh;
    height: calc(var(--vh, 1vh) * 100);
    touch-action: pan-y;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -999;
    transition: transform .25s ease;
}

.previous {
    transform: translateX(100%);
}

.current {
    transform: translateX(0);
}

.next {
    transform: translateX(-100%);
}
