/* @import url('https://fonts.googleapis.com/css2?family=Recursive:wght,MONO@300..800,0..1&display=swap'); */

:root {
  --page-bg: #E9CDB8;
  --surface-bg: #fff;
  --accent: #803C3B;
  --accent-hover: #491F20;
  --text: #374151;
  --text-subtle: #8ea0bb;
  --heading: #111827;
}

/* @media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }

  :root {
    --page-bg: #491F20;
    --surface-bg: #803C3B;
    --text: #cddffb;
    --text-subtle: #575d7d;
    --heading: #fff;
  }
} */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  font-family: 'Recursive', sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--page-bg);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
}

body {
  position: relative;
  font-size: 1.25rem;
  min-height: 100vh;
}

/* body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  mix-blend-mode: multiply;
  background: url('/images/interlaced.png');
} */

/* body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--page-bg);
} */

a {
  color: inherit;
}

a:hover,
a:focus {
  color: var(--accent-hover);
}

header img,
header h1,
header p {
  margin: auto;
  text-align: center;
  display: block;
}

header img {
  object-fit: cover;
  border-radius: 999rem;
  max-width: 100%;
  margin-bottom: 1rem;
}

section {
  margin: 1rem 0;
  padding: 1rem 0 0;
}

.card {
  background: var(--surface-bg);
  max-width: 35rem;
  margin: auto;
  padding: 2rem;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.buttons {
  list-style: none;
}

.buttons a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

  padding: 1em 1em;
  margin: 1rem 0;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.1em;

  text-decoration: none;
  text-transform: uppercase;
}

.buttons a .fa-solid,
.buttons a .fa-brands {
  width: 2rem;
  text-align: center;
  font-size: 1.25rem;
}

.buttons a:hover,
.buttons a:focus {
  background: var(--accent-hover);
}

.subtle {
  color: var(--text-subtle);
}

@media (min-width: 36em) {
  .card {
    border-radius: 25px;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

/* body {
  font-size: 1rem;
  line-height: 1.75;
} */

.buttons a {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  /* line-height: 2; */
}
