html-carousel {
    display: block;
    position: relative;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    /* managed by code */
    /*object-fit: contain;*/
    transition: transform 0.5s linear;
}

.carousel-item.left {
    transform: translateX(-100%);
}

.carousel-item.center {
    transform: translateX(0);
}

.carousel-item.right {
    transform: translateX(100%);
}

.carousel-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: transparent;
    margin: 0 5px;
    cursor: pointer;
    border-color: #ebebeb;
    border-style: solid;
    border-width: 2px;
}

.carousel-dot.active {
    background: #ebebeb;
}

.carousel-dots-container {
    position: absolute;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* TODO */
}

html-carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s;
    background-color: transparent;
}

html-carousel button:hover {
    filter: brightness(0.8);
}

html-carousel .left-button {
    left: 10px;
}

html-carousel .right-button {
    right: 10px;
}