.loading-container {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #010001;
  color: white;
  font-size: 1.5rem;
}

.pencil {
  position: relative;
  width: 300px;
  height: 40px;
  transform-origin: center;
  transform: rotate(135deg);
  animation: pencil 5s infinite;
}

.pencil .ball-point {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #ffa500;
  height: 10px;
  width: 10px;
  border-radius: 50px;
}

.pencil .cap {
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  clip-path: polygon(20% 40%, 100% 0%, 100% 100%, 20% 60%);
  background: #232123;
  width: 12%;
  height: 100%;
}

.pencil .cap-base {
  position: absolute;
  left: 12%;
  top: 0;
  height: 100%;
  width: 20px;
  background: #232123;
}

.pencil .middle {
  position: absolute;
  left: calc(12% + 20px);
  top: 0;
  height: 100%;
  width: 70%;
  background: #ffa500;
}

.pencil .eraser {
  position: absolute;
  left: calc(12% + 70% + 20px);
  top: 0;
  height: 100%;
  width: 11%;
  z-index: 2;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background: #232123;
}

.line {
  position: relative;
  top: 80px;
  right: 103px;
  height: 10px;
  width: 1000px;
  z-index: 1;
  border-radius: 50px;
  background: #ffa500;
  transform: scaleX(0);
  transform-origin: center;
  animation: line 5s infinite;
}

h5 {
  position: relative;
  top: 150px;
}

@keyframes pencil {
  0% {
    transform: rotate(135deg);
  }

  20% {
    transform: rotate(315deg);
  }

  45% {
    transform: translateX(300px) rotate(315deg);
  }

  55% {
    transform: translateX(300px) rotate(495deg);
  }

  100% {
    transform: rotate(495deg);
  }
}

@keyframes line {
  20% {
    transform: scaleX(0);
  }

  45% {
    transform: scaleX(0.6);
  }

  55% {
    transform: scaleX(0.6);
  }

  100% {
    transform: scaleX(0);
  }
}
