@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap");

:root {
  --foreground: #000;
  --background: #fff;
  --primary: #363064;
  --secondary: #cc7e2b;
}

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

  padding: 0;
  margin: 0;

  border: none;
  background: none;
}

body {
  font-family: "Microsoft Sans Serif", Arial, sans-serif;

  min-height: 100vh;
  min-height: 100dvh;

  font-size: 16px;

  display: grid;
  grid-template-rows: auto 1fr auto;

  background-color: #fdfbf6;
}

body > header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 1rem;
  gap: 1rem;
}

body > header > button {
  color: var(--primary);
}

body > header > div {
  display: flex;
  flex-grow: 2;

  align-items: center;
  justify-content: flex-end;

  color: var(--primary);

  text-transform: uppercase;
}

body > header > img {
  height: 100px;
}

body > header > div > img {
  height: 50px;
}

body > main {
  margin: auto;
}

body > main > article {
  text-align: center;
}

hr {
  border-bottom: 2px solid var(--secondary);
  width: 4rem;

  margin: 1.5rem auto;
}

h1 {
  font-family: "EB Garamond", serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -2px;
  margin-bottom: 2rem;
}

h2 {
  font-size: 18px;
  font-weight: 400;
}

body > main > article h2,
body > main > article p {
  color: var(--primary);
}

footer {
  background-color: var(--primary);
  color: var(--background);

  text-align: center;

  padding: 3rem;
}

footer h2 {
  margin-bottom: 1rem;
}

button {
  text-transform: uppercase;
  transition: 0.1s ease-in-out;
  transition-property: background, color;
}

button#legal-resources {
  font-size: 1.333rem;

  color: var(--background);
  background-color: var(--primary);
  border: 2px solid var(--primary);

  padding: 1rem 3rem;
  border-radius: 8px;

  margin-bottom: 16px;
}

button#legal-resources:hover {
  background-color: var(--background);
  color: var(--primary);
}

button#bar-resources {
  font-size: 1rem;
  font-weight: 600;

  padding: 0.75rem 1.75rem;
  border-radius: 8px;

  color: var(--primary);
  border: 2px solid var(--primary);

  margin-top: 16px;
}

button#bar-resources:hover {
  background-color: var(--primary);
  color: var(--background);
}

a {
  text-decoration: none;

  color: var(--primary);
}
