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

html {
  /* font-size: 10px; */

  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
  overflow-x: hidden;

  /* Does NOT work on Safari */
  /* scroll-behavior: smooth; */
}

body {
  font-family: "Poppins", monospace;
  line-height: 1;
  font-weight: 400;
  color: #393939;
  background-color: #f5f5f5;

  /* Only works if there is nothing absolutely positioned in relation to body */
  overflow-x: hidden;
}

/**************************/
/* GENRAL REUSABLE COMPONENTS */
/**************************/

.container {
  /* 1440px */
  max-width: 144rem;
  /* padding: 0 3.2rem; */
  margin: 0 auto;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 6.4rem;
}

/* .grid:last-child {
  margin-bottom: 0;
} */

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.grid--center-v {
  align-items: center;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 600;
  color: #555;
  letter-spacing: -0.5px;
}

.heading-primary {
  font-family: "Vollkorn";
  font-size: 3.9rem;
  line-height: 6.3rem;
  padding-top: 15.2rem;
  margin-bottom: 2rem;
  color: #2a2a2a;
  text-transform: capitalize;
}

.heading-secondary {
  font-family: "Vollkorn";
  font-size: 3.8rem;
  line-height: 1.05;
  margin-bottom: 2rem;
  color: #2a2a2a;
}

.heading-tertiary {
  font-family: "PT Serif", serif;
  font-weight: 300;
  font-style: italic;
  font-size: 5em;
  line-height: 5rem;
  margin-bottom: 2rem;
  color: #efbe12;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  border-radius: 5px;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;

  border: none;
  cursor: pointer;
  font-family: inherit;

  transition: all 0.3s;
}

/* HELPER/SETTINGS CLASSES */
.margin-right-sm {
  margin-right: 1.6rem !important;
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

.center-text {
  text-align: center;
}

strong {
  font-weight: 500;
}
