.scene3-grid {
  width: 70rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 6rem;
  transform: translateY(2rem);
}

.kolam-part {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 18rem;
}

/* TEXT */

.part-title {
  width: 13rem;
  height: 5.5rem;
  margin-bottom: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.label-small {
  position: relative;
  display: block;

  width: 100%;
  min-height: 1.65rem;

  text-align: center;

  font-size: 1.22rem;
  line-height: 1.65rem;
  font-weight: 300;
}

.part-main {
  display: block;

  width: 100%;
  min-height: 2.7rem;

  text-align: center;
  white-space: nowrap;

  font-family: var(--serif);
  font-size: 2.35rem;
  line-height: 2.7rem;
  color: var(--cream);
}

/* FIVE DOTS */

.five-dots {
  position: relative;
  width: 7rem;
  height: 7rem;
}

.five-dots span {
  position: absolute;

  width: 0.28rem;
  height: 0.28rem;

  border-radius: 50%;
  background: var(--yellow);

  opacity: 0;
}

.five-dots span:nth-child(1) {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.five-dots span:nth-child(2) {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.five-dots span:nth-child(3) {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.five-dots span:nth-child(4) {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.five-dots span:nth-child(5) {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.dot-visible {
  animation: dotIn 0.35s ease forwards;
}

/* CIRCLE */

.circle-drawing {
  width: 5rem;
  height: 5rem;
}

.circle-drawing circle {
  fill: none;
  stroke: var(--cream);
  stroke-width: 2;

  stroke-dasharray: 114;
  stroke-dashoffset: 114;
}

.draw-circle circle {
  animation: drawPath 1s ease forwards;
}

/* FOUR LOOPED LINE */

.loop-drawing {
  width: 9rem;
  height: 9rem;
  opacity: 0;
}

.loop-drawing.loop-ready {
  opacity: 1;
}

.loop-drawing path {
  fill: none;
  stroke: var(--cream);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.draw-loop path {
  animation: drawPath 1.6s ease forwards;
}

/* MOBILE */

@media (max-width: 56.25rem) {
  .scene3-grid {
    width: 82vw;
    grid-template-columns: 1fr;
    gap: 2rem;
    transform: none;
  }

  .kolam-part {
    height: auto;
  }

  .part-title {
    margin-bottom: 1.5rem;
  }

  .part-main {
    font-size: 2rem;
    line-height: 2.3rem;
  }

  .loop-drawing {
    width: 8rem;
    height: 8rem;
  }
}