.carousel-container{
    --carousel-width: 0;
    --carousel-height: 0;
    position: relative;
    overflow: hidden;
    --carousel-theme-color: var(--theme-color, #559bff);
}

.carousel-container > .carousel-item{
    --img: "";
    opacity: 0;
    /*display: none;*/
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    background-image: var(--img);
    background-size: 100% 100%;
    width: 0;
    height: 0;
    transform: translateX(0);
}

.carousel-container > .carousel-item.active{
    opacity: 1;
    display: block;
    align-items: center;
    justify-content: center;
    visibility: visible;
    width: 100%;
    height: 100%;
}

.carousel-container > .carousel-dots{
    position: absolute;
    width: 100%;
    height: 10px;
    bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    /*opacity: 0.5;*/
    transition: opacity 0.5s;
    pointer-events: none;
    user-select: none;
    touch-action: none;
    -webkit-touch-callout: none;
    gap: 15px;
}
.carousel-container:hover > .carousel-dots{
    opacity: 1;
}
.carousel-container > .carousel-dots > .carousel-dot{
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 15px;
    transition: all 0.5s;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-container > .carousel-dots > .carousel-dot::before{
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 6px;
    background-color: var(--carousel-theme-color);
    inset: 3px;
    transition: all 0.5s;
    transform: scale(0);
}
.carousel-container > .carousel-dots > .carousel-dot:hover{
    box-shadow: 0 0 0 2px var(--carousel-theme-color);
    transition: all 0.2s;
}
.carousel-container > .carousel-dots > .carousel-dot.active::before{
    transform: scale(1);
}
.carousel-container .carousel-nav-button{
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    background-image: url("icon/arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
}
@media (max-width: 768px){
    .carousel-container .carousel-nav-button{
        display: none;
    }
}

.carousel-container .carousel-nav-button.disabled{
    opacity: 0.5;
    cursor: not-allowed;
    transition: all 0.5s;
}
.carousel-container .carousel-nav-button.carousel-next-button{
    right: 10px;
    left: auto;
    transform: rotate(180deg) translateY(50%);
}