body {
  font-family: monospace;
  margin: 0;
  background: black;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#info {
  position: absolute;
  background: rgba(255,255,255,0.8);
  color: black;
  font-size: 14px;
  padding: 5px 10px;
  border: 1px solid black;
  display: none;
  pointer-events: none;
  z-index: 100;
}

#viewport {
  width: 700px;
  height: 700px;
  overflow: hidden;
  position: relative;
}

#room {
  width: 720px;
  height: 720px;
  position: relative;
  transform-style: preserve-3d;
  
}


#background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('') no-repeat center center;
  background-size: cover;
  z-index: 0;
}

#button {
  position: absolute;
  left: 50px;
  top: 640px;
  width: 270px;
  background: rgba(0,0,0,0.8);
  color: white;
  font-size: 14px;
  padding: 5px 10px;
  border: 2px solid white;
}

#button a:visited {
  color: white;
}

#button a:hover {
  color: #9FFF85;
}

.drawingboard {
  position: absolute;
  top: 50px;
  left: 50px;
  width: 650px;
  height: 300px;
  z-index: 2;
}

.drawingboard iframe {
  border: 2px solid white;
  width: 600px;
  height: 300px;
}

.artbox {
  position: absolute;
  left: 350px;
  top: 370px;
  width: 300px;
  height: 300px;
  border: 2px solid white;
  align-content: center center;
}

.title {
  font-size: 18px;
  margin-left: 5px;
  margin-bottom: 5px;
}

.content {
  font-size: 10px;
}





@keyframes tonext {
  75% {
    left: 0;
  }
  95% {
    left: 100%;
  }
  98% {
    left: 100%;
  }
  99% {
    left: 0;
  }
}

@keyframes tostart {
  75% {
    left: 0;
  }
  95% {
    left: -300%;
  }
  98% {
    left: -300%;
  }
  99% {
    left: 0;
  }
}

@keyframes snap {
  96% {
    scroll-snap-align: center;
  }
  97% {
    scroll-snap-align: none;
  }
  99% {
    scroll-snap-align: none;
  }
  100% {
    scroll-snap-align: center;
  }
}


* {
  box-sizing: border-box;
  scrollbar-color: transparent transparent; /* thumb and track color */
  scrollbar-width: 0px;
}

*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

* {
  -ms-overflow-style: none;
}

ol, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel {
  position: relative;
  top: 10px;
  width: 296px;
  height: 296px;
  perspective: 100px;
}

.carousel__viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  overflow-x: scroll;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carousel__slide:nth-child(even) {
}

.carousel__slide:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-40%,70px);
  color: #fff;
  font-size: 2em;
}

.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

@media (hover: hover) {
  .carousel__snapper {
    animation-name: tonext, snap;
    animation-timing-function: ease;
    animation-duration: 4s;
    animation-iteration-count: infinite;
  }

  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__snapper {
    animation-name: none;
  }
}

.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
  animation-name: none;
}

.carousel__navigation {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}

.carousel__navigation-list,
.carousel__navigation-item {
  display: inline-block;
}

.carousel__navigation-button {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: #3a11cf;
  background-clip: content-box;
  border: 0.25rem solid transparent;
  font-size: 0;
  transition: transform 0.1s;
}

.carousel::before,
.carousel::after,
.carousel__prev,
.carousel__next {
  position: absolute;
  margin: 15px;
  top: 0;
  margin-top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  font-size: 0;
  outline: 0;
}

.carousel::before,
.carousel__prev {
  left: -1rem;
}

.carousel::after,
.carousel__next {
  right: -1rem;
}

.carousel::before,
.carousel::after {
  content: '';
  z-index: 1;
  background-color: #3a11cf;
  background-size: .5rem .5rem;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
  font-size: 2.5rem;
  line-height: 4rem;
  text-align: center;
  pointer-events: none;
}

.carousel::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
}

.carousel::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
}

