@font-face {
  font-family: DomaineDisp;
  font-weight: normal;
  src: url(https://cdn.statically.io/gh/AlainBarrios/Fonts/b41a05199c312e4fada6cf977d40d76f2534e306/DomaineDisp-Regular.otf?raw=true);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-kerning: auto;
          font-kerning: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  /* make the body fits our viewport */
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0;
  background-color: rgba(0, 0, 0, 1);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

#wrap-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
}

#canvas {
  /* make the canvas wrapper fits the document */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#canvas:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.planes {
  display: flex;
  align-items: center;
  width: 100%;
  height: 45vh;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  position: relative;
  cursor: -webkit-grab;
  cursor: grab;
  white-space: nowrap;
  overflow: hidden;
}

.draggable-container {
  position: absolute;
  height: 100%;
}

.slider-names-container {
  --size: calc(7vmin + 1rem);
  text-align: center;
  font-family: DomaineDisp;
  font-size: var(--size);
  text-transform: uppercase;
  pointer-events: none;
  color: rgb(255, 255, 255);
  overflow-y: hidden;
  width: 100vw;
  position: absolute;
  top: 50%;
  transform: translatey(-50%);
}

.draggable-visible {
  display: grid;
  grid-template-columns: repeat(8, minmax(480px, 1fr));
  height: 100%;
  grid-column-gap: 100px;
}

.draggable-hidden {
  z-index: 5;
  width: 100%; 
  height: 100%;
  position: absolute;
}

.draggable-hidden .item {
  height: 100%;
}

.grabbing {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.plane {
  height: 100%;
}

.plane img {
  /* hide the img element */
  display: none;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}