@font-face {
  font-family: 'Holtzman Textured';
  src: url('Holtzman-Textured.woff2') format('woff2'),
    url('Holtzman-Textured.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --fontMain: 'Inter', sans-serif;
  --fontTitle: 'Holtzman Textured', sans-serif;
  --fontButton: 'Graduate', sans-serif;
  --maxWidth: 900px;
  --blue: rgba(24, 77, 137);
  --yellow: rgba(255, 230, 0);
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--fontMain);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-color: #F8F8F8;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "main"
    "footer";
}

#main {
  grid-area: main;
  width: 100%;
  max-width: var(--maxWidth);
  margin: 0 auto;
}

#main .inner {
  margin: 0 3rem;
}

footer {
  grid-area: footer;
  margin-top: 3rem;
  overflow: hidden;
  position: relative;
  min-height: 4rem;
  background-color: var(--blue);
}

footer .footerYellow {
  font-family: var(--fontButton);
  background-color: var(--yellow);
  color: var(--blue);
  position: absolute;
  margin-left: 50%;
  transform: translateX(-50%);
  min-width: 100vw;
}

footer .footerYellow span {
  white-space: nowrap;
  line-height: 2rem;
  margin-left: 3rem;
}

footer .footerBlue {
  background-color: var(--blue);
  color: white;
  min-height: 4rem;
}

h1 {
  font-family: var(--fontTitle);
  color: var(--blue);
  /* font-size: 10rem;
  line-height: 8rem; */
  font-size: 8.8rem;
  line-height: calc(8.8rem * 0.8);
  font-weight: normal;
  text-transform: uppercase;
  margin: 2.5rem 0 3.5rem 0;
}

h2 {
  font-family: var(--fontButton);
  color: var(--blue);
  font-size: 2rem;
  line-height: calc(2rem * 1.2);
  font-weight: normal;
  margin: 4.5rem 0 4.3rem 0;
  text-align: center;
}

@media only screen and (max-width: 915px) {
  h1 {
    font-size: 14.9vw;
    line-height: calc(14.9vw * 0.8);
  }

  h2 {
    font-size: 4.3vw;
    font-size: 4.8vw;
    line-height: calc(4.3vw * 1.23);
    line-height: calc(4.8vw * 1.23);
  }
}

p {
  line-height: 1.5rem;
}

.button {
  font-family: var(--fontButton);
  font-size: 48px;
}