.typeLayer {
  /* background-color: hsla(271, 100%, 32%, 0.851); */
  position: fixed;
  display: flex;
  width: 100%;
  height: 100%;
  z-index: 2;
  color: white;
}

.typeLayer:first-child {
  background-color: red;
  width: 200px;
  height: 50px;

  left: 50%;
  top: 50%;
  translate: -50%;

  animation-name: oscillate;
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  mix-blend-mode: screen;

}

.typeLayer:nth-child(2) {
  background-color: rgb(0, 255, 68);
  width: 200px;
  height: 50px;

  left: 50%;
  top: 25%;
  translate: -50%;

  animation-name: oscillate;
  animation-duration: 13.1s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  mix-blend-mode: screen;

}

.typeLayer:nth-child(3) {
  background-color: rgb(38, 0, 255);
  width: 200px;
  height: 50px;

  left: 50%;
  top: 75%;
  translate: -50%;


  animation-name: oscillate;
  animation-duration: 15.2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  mix-blend-mode: screen;
}

.image-slider {
  overflow: hidden;
  margin: 0 auto;
  position: fixed;
  width: 100%;
  height: 100%;

  display: flex;
  object-fit: cover;

  z-index: 2;
  opacity: 35%;
}

.image-slider img {
  height: auto;
  width: 100vw;
  min-width: 1920px;
  left: 0;
  top: 0;
  transform: translate(0vw, 0);
  animation-name: myScroll;
  animation-duration: 90s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  mix-blend-mode: screen;
  /* opacity: 70%; */
}

/* Scrolling animation code */
@keyframes myScroll {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}
/* Oscillate animation code */

@keyframes oscillate {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -2vh);
  }
  100% {
    transform: translate(0, 0);
  }
}
