body {
  background-color: rgb(255, 242, 226);
  display: grid;
  height: 100vh;
  place-items: stretch;
  margin: 0 auto;
  overflow-x: auto;
}
.container,
#box {
  position: relative;
  /* top: 5vh; */
  width: 200px;
  height: 200px;
}
#circle,
#circle-dot {
  position: relative;
  width: 200px;
  height: 200px;
  /* top: 80px;
  left: 80px; */
  will-change: rotate, translateX;
  /* background-color: rgb(0, 189, 132); */
  /* border: 4px solid  */
  /* border-radius: 50%; */
  border-right: 5px solid black;
  /* border-radius: 50% 0; */
  animation: go-round 3s
    cubic-bezier(0.81, 0.42, 0.2, 0.4) infinite;
}
#circle-dot {
  width: 30px;
  height: 30px;
  top: 160px;
  left: 130px;

  background-color: black;
  border: 5px solid black;
  border-radius: 50%;
  animation: ping-pong 3s
    cubic-bezier(0.81, 0.42, 0.2, 0.4) infinite;
}
#content {
  width: 200px;
  height: 200px;
  border: 4px solid black;
}

@keyframes go-round {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes ping-pong {
  0% {
    transform: rotate(0deg) translateX(0px);
  }
  50% {
    transform: rotate(180deg) translateX(150%) translateY(10%);
  }
  100%{
    transform: rotate(360deg) translateX(0%);

  }
}
.container {
  cursor: crosshair;
  place-self: center;
}

#box {
  display: grid;
  place-items: center;

  background-color: rgb(255, 71, 71);
  border-radius: 5px;
  transform: rotate(0deg);
  box-shadow: unset;
  will-change: transform, border-radius, box-shadow;
}
#box h3 {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  opacity: 1;
  will-change: opacity;
  transition: opacity 0.2s
    cubic-bezier(0.165, 0.84, 0.44, 1);
}
.container:hover #box {
  animation: introduce 3000ms
    cubic-bezier(0.81, 0.42, 0.4, 0.9) 50ms 1;
}
.container:hover #box h3 {
  opacity: 0;
}

@keyframes introduce {
  0% {
    border-radius: 5px;
    transform: rotate(0deg) scale(100%);
    box-shadow: 0px 0px 0px
      rgba(253, 253, 253, 0.9) inset;
  }
  20% {
    transform: rotate(200deg) scale(25%);
    box-shadow: 0px 0px 14px
      rgba(253, 253, 253, 0.9) inset;
  }

  50% {
    border-radius: 50px;
    transform: rotate(380deg) scale(20%);
  }

  70% {
    transform: rotate(-50deg) scale(130%);
    box-shadow: 0px 0px 2px
      rgba(253, 253, 253, 0.9) inset;
  }
  90% {
    transform: rotate(10deg) scale(95%);
  }
  100% {
    border-radius: 5px;
    transform: rotate(0deg) scale(100%);
    box-shadow: 0px 0px 0px
      rgba(253, 253, 253, 0.9) inset;
  }
}

.code-example {
  background: rgb(236, 186, 144);
  word-wrap: break-word;
  box-decoration-break: clone;
  padding: 0.1rem;
  border-radius: 0.2rem;
  padding: 2rem;
  margin: 1rem;
  border-radius: 5px;
  /* bottom: 30vh; */
  justify-self: center;
  align-self: center;
  width: 50%;
}
