* {
  box-sizing: border-box;
}
/* body {
  height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: 'Playfair Display', cursive;
  display: flex;
  align-items: center;
  justify-content: center;
}  */
.menuhorz {
  overflow: hidden; /* hidden */
  cursor: grab;
  width: 100%;
  position: relative;
  z-index: 1;
  height: clamp(40px, 10vh, 400px);
  border: rgb(38, 121, 17) solid 0px;

  color: #fff;
  font-family: 'Playfair Display', cursive;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menuhorz.is-dragging {
  cursor: grabbing;
}
.menuhorz--wrapper {
  counter-reset: count;
  display: flex;
  position: absolute;
  z-index: 1;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  border: red solid 0px;
}
.menuhorz--item {
  counter-increment: count;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  /* width: clamp(40px, 20vw, 200px); */
  /* width: 100%;
  height: 100%; */
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 1;

  padding: 0 1.5vw;
  overflow: hidden; /* hidden */
}

/* @media (max-width: 767px) {
  .menuhorz--item {
    width: 40vw;
    height: 40vw;
  }
} */

/* .menuhorz--item:nth-child(n+10):before {
  content: counter(count);
} */
.menuhorz--item figure {
  position: absolute;
  z-index: 1;
  display: block;
  user-select: none;
  -webkit-appearance: none;
  padding: 0;
  border: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  overflow: visible; /* hidden */
  pointer-events: none;
  transform-origin: center;
  border: gray solid 2px;
}
.menuhorz--item figure img {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
  transform-origin: center;
}
.menuhorz--item figure:before {
  position: absolute;
  z-index: 2;
  bottom: 1vw;
  left: 1vw; 
  display: inline-block;
  /* content: "0" counter(count); */
  content: counter(count);
  color: #ffffff;
  font-size: 3vw;

}


.version {
  display: inline-block;
  position: fixed;
  text-align: center;
  z-index: 1;
  text-decoration: none;
  background: #333;
  font-family: sans-serif;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  border-radius: 10px;
  box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2);
  top: -30px;
  right: -50px;
  bottom: auto;
  transform: rotate(45deg);
  transform-origin: 0% 100%;
  border-radius: 0;
  padding: 8px 30px;
  font-size: 11px;
}
.version:before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100px;
  bottom: 0;
  right: 0%;
  background: transparent;
}


