body {
    background-color: black;
}
.hidden {
    display: none;
}

.carousel {
    -webkit-app-region: drag;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.carousel-inner, .carousel-inner .item {
    width: 100%;
    height: 100%;
    overflow: auto;
}
.carousel-inner img {
    -webkit-user-drag: none;
}
.carousel-inner img.init-img {
    width: 100%;
    height: auto;
}
.carousel-inner img.rest-img {
    object-fit: contain;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.carousel-control.left,
.carousel-control.right {
    background-image: none;
    cursor: default;
}
.carousel-control.left:hover {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
}
.carousel-control.right:hover {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.carousel-control span {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.carousel-control.left span {
    left: 20%;
}
.carousel-control.right span {
    right: 20%;
}

.carousel-indicators {
    bottom: 0;
}
.carousel-indicators li {
    cursor: default;
    border: 0.5px solid rgba(0, 0, 0, 0.5);
    background-color: rgba(200, 200, 200, 0.4);
    height: 8px;
    width: 8px;
    margin: 2px;
}
.carousel-indicators li + li {
    margin-left: 5px;
}
.carousel-indicators li.active {
    height: 12px;
    width: 12px;
    margin: 0;
}
.carousel-indicators li + li.active {
    margin-left: 3px;
}