.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--color-border);
  border-radius: 11px;
  background: var(--color-surface);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.3);
}

.button .icon {
  width: 16px;
  height: 16px;
}

.button--primary {
  color: var(--color-on-text);
  background: var(--color-text);
  border-color: var(--color-text);
}

.button--icon {
  width: 42px;
  padding: 0;
}

.button--icon .icon {
  width: 18px;
  height: 18px;
}

.button--resume .icon {
  width: 14px;
  height: 14px;
  color: var(--color-muted);
}

@media (max-width: 860px) {
  .button--resume {
    display: none;
  }
}

/* Theme toggle: show the icon for the mode you would switch to. */
.icon--sun,
html.night .icon--moon {
  display: none;
}

html.night .icon--sun {
  display: block;
}
