html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
}

button,
input {
  font: inherit;
}

.homework-check {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid #475569;
  border-radius: 0.35rem;
  background: #0f172a;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.homework-check:checked {
  border-color: #3b82f6;
  background: #2563eb;
}

.homework-check:checked::after {
  content: "";
  width: 0.3rem;
  height: 0.55rem;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}

.homework-check:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

button {
  cursor: pointer;
}

.vault-thumbnail {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #090d16;
}

::selection {
  background: rgba(59, 130, 246, 0.35);
}
