:root {
  --clr-primary: #ffc841;
  --clr-accent: #f07800;

  --padding-main: 2rem;
}

@font-face {
  font-display: swap;
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: url('./merriweather-v30-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  src: url('./merriweather-v30-latin-700.woff2') format('woff2');
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--clr-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  color: #4C4E52;
  letter-spacing: 0.2px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather';
  margin-bottom: 0.1rem;
}

ul {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

h1 {
  margin-top: var(--padding-main);
}

p {
  margin-top: 0;
}

header {
  text-align: center;
}

a {
  font-weight: 600;
  text-decoration: none;
  color: initial;
}

a:not(.button) {
  border-bottom: 0.125rem solid var(--clr-accent);
  padding-bottom: 0.1rem;
}

a:not(.button):hover {
  border-bottom-width: 0.15rem;
  padding-bottom: 0.15rem;
  color: #000;
}

.wrapper {
  max-width: 55rem;
  padding: var(--padding-main);
  margin: 0 auto;
}

.text-larger {
  font-size: 1.25rem;
}

.button {
  background-color: var(--clr-primary);
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
}

section,
header {
  padding: var(--padding-main) 0;
}

address {
  font-style: normal;
}

@media (min-width: 1024px) {
  .wrapper {
    padding: calc(2 * var(--padding-main));
  }
}
