:root {
  --bg: #171719;
  --m-red: #fa0050;
  --sidebar-bg: #242424;
  --secondary: #989898;
  --system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --system-mono: system-mono, "SF Mono", Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

body {
  font-family: var(--system-ui);
  color: white;
  background-color: var(--bg);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

h3 {
  text-decoration: underline;
  margin-bottom: 0.5rem;
}

header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

header img {
  width: 48px;
  height: 50px;
}

.mono {
  font-family: var(--system-mono);
}

.notice {
  border: 1px solid var(--m-red);
  border-radius: 0.5rem;
  padding: 0rem 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  margin-bottom: 2rem;
  align-items: start;
}

a {
  font-weight: bold;
  color: white;
}

a:hover {
  color: var(--secondary);
}

a.button {
  padding: 0.75rem 1.25rem;
  font-size: 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--m-red);
  color: white;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

a.button img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

a.button:hover {
  background-color: black;
}

a.button-secondary {
  background-color: black;
}

a.button.button-white {
  background-color: white;
  color: black;
  transition: color 0.2s, background-color 0.2s;
}

a.button.button-white img {
  filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
  transition: filter 0.2s, color 0.2s;
}

a.button.button-white:hover {
  background-color: black;
  color: white;
}

a.button.button-white:hover img {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

a.button:not(.button-white) {
  color: white;
}

a.button:not(.button-white) img {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

section {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  opacity: 0;
  animation: fadein 1s forwards;
  animation-delay: 1s;
}

section:nth-child(1) {
  animation-delay: 0s;
}

section:nth-child(2) {
  animation-delay: 0.5s;
}

@keyframes fadein {
  to {
    opacity: 1;
  }
}

section h2 {
  color: var(--m-red);
}

section p {
  font-family: var(--system-mono);
  width: 100%;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (min-width: 600px) {
  section {
    flex-direction: row;
  }

  section div {
    flex-grow: 1;
    width: 50%;
  }

  section img {
    flex-grow: 1;
    min-width: 0;
  }

  section img {
    width: 50%;
    flex-shrink: 0;
  }
}

/* 1px light gray */
hr {
  border: none;
  height: 1px;
  background-color: var(--secondary);
}

footer {
  margin-top: 2rem;
}

/* @media screen and (prefers-color-scheme: light) {
  body {
    background-color: white;
    color: var(--bg);
  }
} */
