.carousel {
  padding: 28px;
  perspective: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
  height: 200px;
  position: fixed;
  right: 20px;
  bottom: 48px;
  z-index: 910;
}
.carousel > * {
  flex: 0 0 auto;
}

.close-box-adv {
  position: absolute;
  top: 20px;
  right: -8px;
  height: 20px;
  width: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  cursor: pointer;
  z-index: 9;
}
.carousel figure {
  margin: 0;
  width: 200px;
  min-width: 200px !important;
  height: 200px;
  transform-style: preserve-3d;
  transition: transform 0.5s;
}
.carousel figure > a {
  display: block;
  height: 200px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 0;
}
.carousel figure > a:not(:first-of-type) {
  position: absolute;
  left: 0;
  top: 0;
}

.carousel figure img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.carousel nav {
  /*display: flex;*/
  display: none;
  justify-content: center;
  margin: 20px 0 0;
}
.carousel nav button {
  flex: 0 0 auto;
  margin: 0 5px;
  cursor: pointer;
  color: #333;
  background: none;
  border: 1px solid;
  letter-spacing: 1px;
  padding: 5px 10px;
}