@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(to bottom right, #000000, #4c4c4c);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    animation: crawl 20s linear forwards;
}

.text-section {
    color: #00ff00;
    margin: 10px;
}

.rolling-text {
  overflow-y: scroll;
  height: 300px; /* Set the height of the container */
  color: #fff;
}

.rolling-text h1 {
  color: green;
  position: relative;
  top: 0;
  animation: roll 50s linear infinite;
  font-size: 1em;
}

@keyframes roll {
  0% {
    top: 0;
  }
  100% {
    top: -100%; /* Set the height of the container as the negative value */
  }
}

.robot {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 50px auto;
  background-color: green;
  border-radius: 50%;
  animation: dance 2s ease-in-out infinite;
}

.robot .head {
  position: absolute;
  top: -40px;
  left: 50%;
  width: 40px;
  height: 40px;
  background-color: green;
  border-radius: 50%;
  transform: translateX(-50%);
}

.robot .antenna {
  position: absolute;
  top: -60px;
  left: 50%;
  width: 4px;
  height: 30px;
  background-color: yellow;
  transform: translateX(-50%);
}

.robot .arm {
  position: absolute;
  top: 25px;
  width: 50px;
  height: 10px;
  background-color: green;
  border-radius: 5px;
  animation: wave 2s ease-in-out infinite alternate;
}

.robot .arm.left {
  left: -50px;
  transform-origin: right center;
}

.robot .arm.right {
  right: -50px;
  transform-origin: left center;
}

@keyframes dance {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(10px) rotate(-5deg);
  }
  50% {
    transform: translateX(-10px) rotate(5deg);
  }
  75% {
    transform: translateX(10px) rotate(-5deg);
  }
}

@keyframes wave {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-30deg);
  }
}
