section:nth-child(3) {
    background-color: #f9d3a3;
    opacity: 1;
    background-size: 16px 16px;
    background-position: center;
    background-image:  repeating-linear-gradient(to right, #f9d3a3, #e9c69a 100px, #a28868 250px, #fff);
    overflow: hidden;
}

.democontainer {
    width: 300px;
    padding: 10px;
    margin: 5px;
    /* background-color: rgb(244, 244, 244);
    border-radius: 10px;
    box-shadow: 0px 2px 1px dimgrey; */
}

.democontainer canvas {
    background-color: rgb(255, 255, 255);
    /*box-shadow: 0px 0px 1px dimgrey;*/
    border-radius: 5px;
}

.demotextbox {
    width: 300px;
    background-color: white;
    height: 100px;
    border-radius: 5px;
    box-shadow: 0px 0px 1px dimgrey;
    align-content: center;
    margin: auto;
    display: none;
    top: -230px;
    position: relative;
    right: -350px;
}

.democontainer:hover + .demotextbox {
    display: grid;
}




.carouselbox3d {
  position: relative;
  width: 330px;
  height: 330px;
  transform-style: preserve-3d;
  margin: auto;
  top: 20%;
  right: 200px;
  will-change: transform;
  transition: all 2.5s ease-in-out;
}

.default {
  animation: animate0 60s linear infinite;
}

.running {
  animation-play-state: running !important;
}

.paused {
  animation-play-state: paused !important;
}

.location1 {
  animation: animate1 60s linear infinite;
}

.location2 {
  animation: animate2 60s linear infinite;
}

.location3 {
  animation: animate3 60s linear infinite;
}

.location4 {
  animation: animate4 60s linear infinite;
}

.location5 {
  animation: animate5 60s linear infinite;
}

@keyframes animate5 {
  0% {
      transform: perspective(2000px) rotateY(0deg);
  }

  100% {
      transform: perspective(2000px) rotateY(360deg);
  }
}

@keyframes animate4 {
  0% {
      transform: perspective(2000px) rotateY(72deg);
  }

  100% {
      transform: perspective(2000px) rotateY(432deg);
  }
}

@keyframes animate3 {
  0% {
      transform: perspective(2000px) rotateY(144deg);
  }

  100% {
      transform: perspective(2000px) rotateY(504deg);
  }
}

@keyframes animate2 {
  0% {
      transform: perspective(2000px) rotateY(216deg);
  }

  100% {
      transform: perspective(2000px) rotateY(576deg);
  }
}

@keyframes animate1 {
  0% {
      transform: perspective(2000px) rotateY(288deg);
  }

  100% {
      transform: perspective(2000px) rotateY(648deg);
  }
}

@keyframes animate0 {
  0% {
      transform: perspective(2000px) rotateY(0deg);
  }

  100% {
      transform: perspective(2000px) rotateY(360deg);
  }
}

.carouselbox3d span {
  position:absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transform-origin: center;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * 72deg)) translateZ(400px);
}

.carouselbox3d span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 334px;
  width: 330px;
  border-radius: 15px;
  -webkit-transform: scaleX(-1) translateZ(-1px);
  transform: scaleX(-1) translateZ(-1px);
  text-align: center;
  align-content: center;
  font-size: 64px;
  font-family: arial;
  color:rgba(255, 255, 255, 0.90);;
  font-weight: bold;
  letter-spacing: -1px;
  text-shadow: 0px 2px 2px rgba(197, 197, 197, 0.74);
}

:root {
  --buoydemo: rgb(218, 150, 150);
  --chessdemo: rgb(176, 182, 223);
  --physicsdemo: rgb(208, 185, 201);
  --snakedemo: rgb(130, 199, 199);
  --tetrisdemo: rgb(222, 228, 159);
}

.carouselbox3d span:nth-child(1)::before {
  background-color: var(--buoydemo);
  content: "BUOY";
}

.carouselbox3d span:nth-child(2)::before {
  background-color: var(--chessdemo);
  content: "CHESS";
}

.carouselbox3d span:nth-child(3)::before {
  background-color: var(--physicsdemo);
  content: "PHYSICS";
}

.carouselbox3d span:nth-child(4)::before {
  background-color: var(--snakedemo);
  content: "SNAKE";
}

.carouselbox3d span:nth-child(5)::before {
  background-color: var(--tetrisdemo);
  content: "TETRIS";
}


  /*
  BLUE COLOR #7aafff
  */