#dia2 div:nth-child(4) {
    background: linear-gradient(0deg, #8fc 0%, #8fc 80%, red 100%);
  }
  #dia2 div:nth-child(3) {
    background: linear-gradient(180deg, #8cf 0%, #8cf 80%, red 100%);
  }
  #dia2 div:nth-child(2) {
    background: linear-gradient(0deg, #8cf 0%, #8cf 80%, red 100%);
  }
  #dia2 :is(div:nth-child(1), div:nth-child(5)) {
    background: linear-gradient(180deg, #8fc 0%, #8fc 80%, red 100%);
  }
  #dia2 div {
    height: 200px;
    width: 100px;
    color: #222;
    border: 1px solid #888;
    padding: 1em 0.5rem;
  }
  #screen2 {
    position: relative;
    z-index: 10;
    top: -200px;
    width: 100px;
    height: 100px;
    background-color: #fff8;
    border: 3px solid #8888;
    border-radius: 10px;
    animation: vshift 5s infinite linear;
    color: black;
    padding-top: 3.5rem;
    padding-left: 1em;
  }
  #dia2 {
    display: flex;
    width: 500px;
    animation: hshift 5s infinite linear;
  }
  #outer2 {
    width: 100px;
    height: 200px;
    margin: 0 auto;
    overflow: hidden;
  }
  @keyframes vshift2 {
    10% {
      transform: translateY(0px);
    }
    25% {
      transform: translateY(-100px);
    }
    35% {
      transform: translateY(-100px);
    }
    50% {
      transform: translateY(0px);
    }
    60% {
      transform: translateY(0px);
    }
    75% {
      transform: translateY(-100px);
    }
    85% {
      transform: translateY(-100px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  #outerouter2 {
    width: fit-content;
    animation: vshift2 5s infinite linear;
  }
  #outerouter {
    width: fit-content;
    transform: translateY(-60px)
  }
  #container {
    display: flex;
    max-width: 640px;
    margin: 0px 10vw;
    margin-top: 120px;
    justify-content: space-around;
  }
  #container {
    display: flex;
    max-width: 640px;
    margin: 0px 10vw;
    margin-top: 120px;
    justify-content: space-around;
  }
  #outerouter {
    width: fit-content;
    transform: translateY(-60px)
  }
  #outerouter2 {
    width: fit-content;
    animation: vshift2 5s infinite linear;
  }
  @keyframes vshift2 {
    10% {
      transform: translateY(0px);
    }
    25% {
      transform: translateY(-100px);
    }
    35% {
      transform: translateY(-100px);
    }
    50% {
      transform: translateY(0px);
    }
    60% {
      transform: translateY(0px);
    }
    75% {
      transform: translateY(-100px);
    }
    85% {
      transform: translateY(-100px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  #outer2 {
    width: 100px;
    height: 200px;
    margin: 0 auto;
    overflow: hidden;
  }
  #dia2 {
    display: flex;
    width: 500px;
    animation: hshift 5s infinite linear;
  }
  #screen2 {
    position: relative;
    z-index: 10;
    top: -200px;
    width: 100px;
    height: 100px;
    background-color: #fff8;
    border: 3px solid #8888;
    border-radius: 10px;
    animation: vshift 5s infinite linear;
    color: black;
    padding-top: 3.5rem;
    padding-left: 1em;
  }
  #dia2 div {
    height: 200px;
    width: 100px;
    color: #222;
    border: 1px solid #888;
    padding: 1em 0.5rem;
  }
  #dia2 :is(div:nth-child(1), div:nth-child(5)) {
    background: linear-gradient(180deg, #8fc 0%, #8fc 80%, red 100%);
  }
  #dia2 div:nth-child(2) {
    background: linear-gradient(0deg, #8cf 0%, #8cf 80%, red 100%);
  }
  #dia2 div:nth-child(3) {
    background: linear-gradient(180deg, #8cf 0%, #8cf 80%, red 100%);
  }
  #dia2 div:nth-child(4) {
    background: linear-gradient(0deg, #8fc 0%, #8fc 80%, red 100%);
  }
  #dia2 div:nth-child(4) {
    background: linear-gradient(0deg, #8fc 0%, #8fc 80%, red 100%);
  }
  #dia2 div:nth-child(3) {
    background: linear-gradient(180deg, #8cf 0%, #8cf 80%, red 100%);
  }
  #dia2 div:nth-child(2) {
    background: linear-gradient(0deg, #8cf 0%, #8cf 80%, red 100%);
  }
  #dia2 :is(div:nth-child(1), div:nth-child(5)) {
    background: linear-gradient(180deg, #8fc 0%, #8fc 80%, red 100%);
  }
  #dia2 div {
    height: 200px;
    width: 100px;
    color: #222;
    border: 1px solid #888;
    padding: 1em 0.5rem;
  }
  #screen2 {
    position: relative;
    z-index: 10;
    top: -200px;
    width: 100px;
    height: 100px;
    background-color: #fff8;
    border: 3px solid #8888;
    border-radius: 10px;
    animation: vshift 5s infinite linear;
    color: black;
    padding-top: 3.5rem;
    padding-left: 1em;
  }
  #dia2 {
    display: flex;
    width: 500px;
    animation: hshift 5s infinite linear;
  }
  #outer2 {
    width: 100px;
    height: 200px;
    margin: 0 auto;
    overflow: hidden;
  }
  @keyframes vshift2 {
    10% {
      transform: translateY(0px);
    }
    25% {
      transform: translateY(-100px);
    }
    35% {
      transform: translateY(-100px);
    }
    50% {
      transform: translateY(0px);
    }
    60% {
      transform: translateY(0px);
    }
    75% {
      transform: translateY(-100px);
    }
    85% {
      transform: translateY(-100px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  #outerouter2 {
    width: fit-content;
    animation: vshift2 5s infinite linear;
  }
  #outerouter {
    width: fit-content;
    transform: translateY(-60px)
  }
  #container {
    display: flex;
    max-width: 640px;
    margin: 0px 10vw;
    margin-top: 120px;
    justify-content: space-around;
  }
  #container {
    display: flex;
    max-width: 640px;
    margin: 0px 10vw;
    margin-top: 120px;
    justify-content: space-around;
  }
  #outerouter {
    width: fit-content;
    transform: translateY(-60px)
  }
  #outerouter2 {
    width: fit-content;
    animation: vshift2 5s infinite linear;
  }
  @keyframes vshift2 {
    10% {
      transform: translateY(0px);
    }
    25% {
      transform: translateY(-100px);
    }
    35% {
      transform: translateY(-100px);
    }
    50% {
      transform: translateY(0px);
    }
    60% {
      transform: translateY(0px);
    }
    75% {
      transform: translateY(-100px);
    }
    85% {
      transform: translateY(-100px);
    }
    100% {
      transform: translateY(0px);
    }
  }
  #outer2 {
    width: 100px;
    height: 200px;
    margin: 0 auto;
    overflow: hidden;
  }
  #dia2 {
    display: flex;
    width: 500px;
    animation: hshift 5s infinite linear;
  }
  #screen2 {
    position: relative;
    z-index: 10;
    top: -200px;
    width: 100px;
    height: 100px;
    background-color: #fff8;
    border: 3px solid #8888;
    border-radius: 10px;
    animation: vshift 5s infinite linear;
    color: black;
    padding-top: 3.5rem;
    padding-left: 1em;
  }
  #dia2 div {
    height: 200px;
    width: 100px;
    color: #222;
    border: 1px solid #888;
    padding: 1em 0.5rem;
  }

  #dia2 :is(div:nth-child(1), div:nth-child(5)) {
    background: linear-gradient(180deg, #8fc 0%, #8fc 80%, red 100%);
  }
  #dia2 div:nth-child(2) {
    background: linear-gradient(0deg, #8cf 0%, #8cf 80%, red 100%);
  }
  #dia2 div:nth-child(3) {
    background: linear-gradient(180deg, #8cf 0%, #8cf 80%, red 100%);
  }
  #dia2 div:nth-child(4) {
    background: linear-gradient(0deg, #8fc 0%, #8fc 80%, red 100%);
  }#fi {
    transform: rotateY(180deg) translateX(-20vw);
  }
#fi {
    transform: rotateY(180deg) translateX(-20vw);
  }
#fi {
    transform: rotateY(180deg) translateX(-20vw);
  }
#fi {
    transform: rotateY(180deg) translateX(-20vw);
  }