:root {
  --ff-prim: "Macondo Swash Caps", serif;
  --ff-sec: "Itim", serif;

  --fw-reg: 400;
  --fw-bold: 700;

  --color-white: #fff;
  --color-dark: #171717;
  --color-secondary: #383433; /*dark brown*/
  --color-light: #999089; /*light grey*/
  --color-accent1: #ffa050; /*orange*/
  --color-accent2: #b99a7e; /*sand*/

  --fs-h1: 3rem;
  --fs-h2: 2.25rem;
  --fs-h3: 1.25rem;
  --fs-body: 1rem;

  --size10: 0.625rem;
  --size14: 0.875rem;
  --size16: 1rem;
  --size18: 1.125rem;
  --size20: 1.25rem;
  --size30: 1.875rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-sec);
  font-size: var(--fs-body);
  font-weight: var(--fw-reg);
  line-height: 1.6;
  background: var(--color-dark);
  color: var(--color-white);
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-items: center;
}

section {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.logo {
  width: 3rem;
  height: 3rem;
  margin: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1em;
  background: var(--color-accent1);
  color: var(--color-dark);
  text-decoration: none;
  cursor: pointer;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: var(--fw-bold);
}
.btn:visited {
  color: var(--color-dark);
}
.btn:active {
  color: var(--color-dark);
}

/* Typography */
h1,
h2,
h3 {
  line-height: 1;
  font-family: "Norse", Verdana, sans-serif;
}
h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
}

/* Footer */
.footer {
  background: var(--color-light);
  color: var(--color-secondary);
  text-align: center;
  padding: 0.75em 0;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer__link:hover,
.social-list__link:hover {
  opacity: 0.7;
}

.footer__link:hover {
  text-decoration: underline;
}

.social-list {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.social-list__item {
  margin: 0 0.5em;
}

.social-list__link {
  padding: 0.5em;
}
