body {
  font-family: "obvia", sans-serif;
  max-width: 100vw;
  overflow-x: hidden;
}
h1, h2 {
  font-weight: 600;
}
h3, h4 {
  margin-top: 1.4em;
  margin-bottom: .7em;
  font-weight: 600;
}
h4 span {
  font-size: .7em;
  font-weight: 400;
}
h3 {
  font-size: 2.5rem;
}
h4 {
  font-size: 1.25rem;
}
p {
  max-width: 640px;
  margin-bottom: .5em;
  text-wrap: balance;
}
a {
  transition: opacity .2s ease-in-out;
}
a:not(.no-hover):hover {
  opacity: .75;
}
a.unstyled {
  display: inline-block;
  text-decoration: none;
}
a.disabled {
  pointer-events: none;
  opacity: .3;
}
ul {
  list-style: disc;
  padding-left: 1em;
  margin-bottom: .5em;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 80px);
  margin: 40px;
  background: #fff;
  padding: 12px 36px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
header img {
  display: block;
  max-height: 36px;
}

main {
  display: grid;
  grid-template-columns: repeat(3, 33.4%);
  min-height: 100vh;
  color: #fff;
  /* background: rgba(0,0,0,.75); */
}
main::before, main::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
main::before {
  z-index: -2;
  background: url(../img/pizza-background-web.jpg) no-repeat center center;
}
main::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, #000 100%);
  /* background: url(../img/pizza-background-web.jpg) no-repeat center center; */
}
article {
  display: flex;
  align-items: flex-start;
  padding: max(120px, 20vh) 20px 75px 40px;
  /* background: #333; */
  max-height: 100vh;
  overflow-y: auto;
}
article > div {
  min-height: 60%;
}
/* #pizzas p {
  text-wrap: balance;
} */

footer {
  position: fixed;
  bottom: 2%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
footer a {
  display: block;
  background-color: #A51E1E;
  padding: 20px 40px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,.4);
  transition: background-color .2s ease-in-out, padding .3s ease-in-out;
}
footer a:hover {
  background-color: #8a1717;
  padding: 20px 50px;
}

/* MEDIA QUERIES */
@media screen and (max-width: 1200px) {
  body {
      font-size: 14px;
  }
}

@media screen and (max-width: 1000px) {
  main {
      grid-template-columns: 1fr;
      padding-bottom: 150px;
  }
  article {
    padding: 20px 20px 40px 40px;
  }
  article:first-child {
    padding-top: 100px;
  }
}

@media screen and (max-width: 640px) {
  header {
    justify-content: center;
    gap: 0.5em 1em;
  }
  header h1, header h2 {
      order: 1;
      text-align: center;
  }
  header a {
      width: 100%;
      text-align: center;
      margin-bottom: .5em;
  }
  header img {
      display: inline-block;
  }
  article:first-child {
    padding-top: 150px;
  }
}

@media screen and (max-width: 480px) {
  header {
    margin: 20px;
    width: calc(100% - 40px);
  }
  article {
    padding-left: 20px;
  }
}