.header-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 22 / 5;
    background-color: #fad0ac;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 800px) {

    .header-carousel {
        height: auto;
        overflow: visible;
    }

    .carousel-track {
        height: auto;
    }

    .carousel-slide {
        position: relative;
        opacity: 1;
    }

    .carousel-slide:not(.active) {
        display: none;
    }

    .carousel-img {
        width: 100%;
        height: auto;
    }
}
