.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}

.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

/* Assessment UI styles */
.assessment-correct {
  color: #10b981;
  border-color: #10b981;
}

.assessment-incorrect {
  color: #ef4444;
  border-color: #ef4444;
}

.assessment-explanation {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.375rem;
}

.assessment-correct-explanation {
  background-color: rgba(16, 185, 129, 0.1);
  color: #065f46;
}

.assessment-incorrect-explanation {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--color-red-dark);
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
