.square-rope {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  z-index: 9999;
  pointer-events: none;

  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;

  padding-top: 6px;
  margin: 0;
  list-style: none;
}

.square-rope::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(90, 90, 90, 0.4),
    rgba(60, 60, 60, 0.8),
    rgba(90, 90, 90, 0.4)
  );
}

.square-rope li {
  position: relative;
  width: 8px;
  height: 8px;

  background: #6cf3d5;
  box-shadow: 0 0 6px rgba(108, 243, 213, 0.6);

  animation: square-color 7s ease-in-out infinite;
}

.square-rope li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 6px;
  background: rgba(80, 80, 80, 0.8);
}

@keyframes square-color {
  0% {
    background: #6cf3d5;
    box-shadow: 0 0 6px rgba(108, 243, 213, 0.5);
  }
  33% {
    background: #7aa7ff;
    box-shadow: 0 0 6px rgba(122, 167, 255, 0.5);
  }
  66% {
    background: #c58cff;
    box-shadow: 0 0 6px rgba(197, 140, 255, 0.5);
  }
  100% {
    background: #6cf3d5;
    box-shadow: 0 0 6px rgba(108, 243, 213, 0.5);
  }
}

@media (max-width: 768px) {
  .square-rope {
    height: 22px;
  }

  .square-rope li {
    width: 6px;
    height: 6px;
  }
}
