.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 80%;
}

.hero-slider img {
    position: absolute;
    top: 0;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    left: 0;
}

.hero-slider img.active {
    opacity: 1;
}

.hero-slider img:nth-child(1) {
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
}

.hero-slider img:nth-child(2) {
    left: 0;
    width: 90%;
}

/* 
.hero-slider img:nth-child(3) {
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    width: 70%;
}
*/

@media (max-width: 768px) {
    .hero-slider {
        margin: 0 auto;
        padding-right: 0;
    }

    .hero-slider img:nth-child(1) {
        width: 95%;
    }

    .hero-slider img:nth-child(2) {
        width: 85%;
    }
}

@media (max-width: 480px) {
    .hero-slider img:nth-child(1) {
        width: 100%;
    }

    .hero-slider img:nth-child(2) {
        width: 100%;
    }
}