.blinking-caret {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background-color: white;
  margin-left: 2px;
  animation: blink 1s tep-start infinite;
  vertical-align: bottom;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  border-radius: 2px;
}

::-webkit-scrollbar-thumb {
  background: #c084fc;
  border-radius: 10px;
}

.page-link {
  position: relative;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.page-link:hover {
  transform: translateY(5px);
}

::selection {
  background: #9333ea;
  color: white;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.animate-fade-in {
  animation: fadeIn 0.2s ease-out forwards;
}

.animate-fade-out {
  animation: fadeOut 0.2s ease-in forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOutScale {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}

.animate-fade-in-scale {
  animation: fadeInScale 0.2s ease-out forwards;
}

.animate-fade-out-scale {
  animation: fadeOutScale 0.2s ease-in forwards;
}

#solve-content p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#solve-content h1 {
  color: #9333ea;
  font-weight: 700;
  font-size: 2rem;
  font-family: "Geist Mono", monospace;
}

#solve-content h2 {
  color: #9333ea;
  font-size: 1.25rem;
  margin-top: 0.75rem;
}

#solve-content code {
  background: #111;
  padding: 5px;
  border-radius: 1rem;
}

#solve-content pre {
  margin-top: 8px;
  margin-bottom: 8px;
  display: flex;
}

#runerror-modal code {
  font-family: "Geist Mono", monospace;
}
