:root {
  color-scheme: light dark;
}

h1, h2, h3, h4, h5, h6, p, li {
  font-family: "Segoe UI", Verdana;
  margin: inherit;
}

/* Taken from https://www.w3schools.com/howto/howto_css_loader.asp */
/* TODO: edit values, customise etc. */
.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Taken from https://phuoc.ng/collection/css-animation/highlighting-target-element/ */
:target {
  animation: highlight 3s ease-in-out;
}

@keyframes highlight {
  from {
    background-color: rgb(253 224 71);
  }
  to {
    background-color: unset;
  }
}
