@import url("https://rsms.me/inter/inter.css");

html {
  font-family: "Inter", sans-serif;
}

@supports (font-variation-settings: normal) {
  html {
    font-family: "Inter var", sans-serif;
  }
}

body {
  background-color: #f7f4ea;
  color: #2d2c2a;
  font-size: 1.2rem;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  height: 100vh; /* Use vh as a fallback for browsers that do not support Custom Properties */
  height: calc(var(--vh, 1vh) * 100);
  width: 100%;
}

.main article {
  margin-bottom: 12vh;
}

.footer {
  width: 100%;
  align-self: flex-end;
  padding-bottom: 3.6vh;
}

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

.title {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 2.4em;
  margin-bottom: 0;
}

.subtitle {
  margin-top: 0.5rem;
  font-family: "Inconsolata", monospace;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.logo {
  max-width: 100%;
  margin: 0 auto;
  width: 140px;
}

@media (max-width: 580px) {
  body {
    font-size: 75%;
  }
  .hero {
    margin-bottom: 5vh;
  }
  .logo {
    max-width: 55%;
    margin: 0 auto;
  }
}

.footer {
  font-size: 0.75rem;
}

.hero p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

@media (min-width: 900px) {
  .hero {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 30vh;
  }

  .hero p {
    width: 50%;
    margin-bottom: 1.5rem;
    line-height: 1.75;
  }
}
