.carousel {
    opacity: 0;
    width: 100%;
    height: 75vh;
    margin-bottom: 10vh;
    border: 10px;
}

.carousel>ul {
    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: contain;
    object-position: center;
}

.slide[data-active] {
    opacity: 1;
    z-index: 1;
    transition-delay: 0ms;
}

.carousel-btn {
    position: absolute;
    z-index: 2;
    background: none;
    border: none;
    font-size: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    border-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}


/* carousel */

@media (max-width:850px) {
    .carousel {
        height: 65vw;
    }
}