#hero-slider {
    background-color: #333;
    background-image:
        linear-gradient(to right, #000 0%, transparent 50%),
        linear-gradient(to left,  #000 0%, transparent 50%);
    background-size: 50% 100%, 50% 100%;
    background-position: left, right;
    background-repeat: no-repeat;
    top: 120px;
    left: auto;
    width: 100%;
    height: calc(100vh - 90px);
    height: calc(100dvh - 90px);
    overflow: hidden;
    z-index: 1;
}

#hero-slider .track {
    position: relative;
    height: 100%;
    transition: transform .6s cubic-bezier(.7,0,.3,1);
    background: transparent;
}

#hero-slider .hero-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

#hero-slider .hero-slide:first-child {
    opacity: 1;
}

#hero-slider .hero-slide img {
    height: auto;
    width: auto;
    object-position: center;
    object-fit: contain;
    border-top: 1px solid #555;
    border-right: 1px solid #555;
    border-bottom: 1px solid #444;
    border-left: 1px solid #444;
    max-height: 90%;
    max-width: 100%;
    margin: 40px;
    box-shadow: -8px 12px 20px rgba(0, 0, 0, 0.9);
}
