body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  overflow: hidden;
  background: bisque;
}

div#fetch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

div#fetch button {
  background: darkorchid;
  color: lawngreen;
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 1em;
  border: none;
}

.data {
  position: absolute;
  z-index: 0;
  font-size: 40px;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

@keyframes fetch-top {
  from {
    transform: translateY(-55vh);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fetch-bottom {
  from {
    transform: translateY(55vh);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fetch-left {
  from {
    transform: translateX(-55vw);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes fetch-right {
  from {
    transform: translateX(55vw);
  }
  to {
    transform: translateX(0);
  }
}
