*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light dark;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* To allow inline images otherwise they use display:block above. */
.inline {
  display: inline;
}

p,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

body {
  margin: 0;
  padding: 2rem 1.5rem;
  font-family: "Quicksand", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.87);
  background: #fffcf0;
}

main {
  max-width: 640px;
  margin: 0 auto;
}

.site-title {
  text-align: center;
}

.not-found {
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
  font-weight: normal;
  margin: 0 0 2.5rem;
}

.content h2 {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.content p {
  line-height: 1.5;
}

a {
  color: #9583ff;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #ff9b65;
  text-decoration-thickness: 0.2em;
}

a:hover {
  color: #84ff9e;
  text-decoration-color: #ff4f7d;
}

.buttons {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.button {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  margin: 0 0.5rem;
}

.button--primary {
  background: #333;
  color: #fff;
}

.button--primary:hover {
  color: #bdfffd;
}

.button--secondary {
  border: 1px solid #ff4f7d;
  color: #ff4f7d;
  text-decoration: none;
}

.button--secondary:hover {
  color: #84ff9e;
  border-color: #84ff9e;
}

img {
  max-width: 100%
}

img.lightbox {
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.2);
  cursor: zoom-in;
}

img.shadow {
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.2);
}

:not(pre) > code {
  padding: 2px 3px 1px;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  border-color: rgba(0, 0, 0, 0.3);
  background-color: #ffffff;
  color: rgb(99, 99, 99);
  font-size: 0.8rem;
}

pre {
  font-size: 0.9rem;
  border-width: 1px;
  border-style: solid;
  border-radius: 3px;
  border-color: rgba(0, 0, 0, 0.3);
}

footer {
  margin-top: 50px;
  padding: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
