.carousel {
    height: 100vw;
    position: relative;
    justify-items: center;
}
.carousel > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 200ms opacity ease-in-out;
    transition-delay: 200ms;   
}
.slide > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
} 
.slide[data-active] {
    opacity: 1;
    transition-delay: 0ms;
    z-index: 1;
}
.carousel-button {
    
    background: none;
    border: none;
    font-size: 4rem;
    z-index: 2;
    color: var(--accent);
    opacity: 80%;
    cursor: pointer;
    border-radius: .25rem;
}
.carousel-button.next {
    margin-left: 2rem;
}

.overflow {
    overflow: hidden;
    max-width: 100%;
    position: relative;
}

.inner {
    width: auto;
    max-width: none;
    transition: all 1s ease-in-out;
}

.inner li {
    flex: 0 0 auto;

}

.btn-shape {
    border-radius: 50%;
    background-color: var(--primary);
    padding: .25rem;
    text-align: center;
    margin: .25rem .25rem;
    cursor: pointer;
    transition: background-color 0.35s ease 0s;
}
.cst-crp img {
    object-position: 50% 35%;
}
.btn-shape.active {
    background-color: var(--accent);
}
@media screen and (min-width: 1025px) {
    .hide-1025 {
        display: none;
    }
}
@media screen and (max-width: 1024px) {
    .sld-shw-1024 {
        width: 100%;
    }
    .carousel {
        height: 95vw;
    }
}
@media screen and (max-width: 800px) {
    .carousel {
        height: 90vw;
    }
}
@media screen and (max-width: 540px) {
    .carousel {
        height: 85vw;
    }
}
@media screen and (max-width: 500px) {
    .carousel {
        height: 80vw;
}
}
