@font-face {
  font-display: swap; /* Makes text visible ASAP. */
  font-family: "NPO Sans";
  font-weight: 400;
  font-style: normal;
  src: url("./fonts/npo-sans-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap; /* Makes text visible ASAP. */
  font-family: "NPO Sans";
  font-weight: 700;
  font-style: normal;
  src: url("./fonts/npo-sans-bold.woff2") format("woff2");
}

@font-face {
  font-display: swap; /* Makes text visible ASAP. */
  font-family: "NPO Scandia";
  font-weight: 400;
  font-style: normal;
  src: url("./fonts/npo-scandia-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap; /* Makes text visible ASAP. */
  font-family: "NPO Scandia";
  font-weight: 700;
  font-style: normal;
  src: url("./fonts/npo-scandia-bold.woff2") format("woff2");
}

* {
  margin: 0;
  padding: 0;
}

body {
  background: #0b1c36;
}

main {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100dvh;
  padding: 32px;
  position: absolute;
  width: 100%;
  z-index: 100;
}

img {
  margin-bottom: 32px;
}

h1 {
  color: #fff;
  font-family: "NPO Scandia", Arial, Helvetica;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 8px;
}

p {
  color: #fff;
  font-family: "NPO Sans", Arial, Helvetica;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  opacity: 0.8;
}

p,
h1 {
  text-align: center;
}

#background {
  background-color: #ffffff;
}

@supports not (min-height: 100dvh) {
  main {
    min-height: 100vh;
  }
}

@media screen and (min-width: 600px) {
  main {
    padding: 64px;
  }

  h1 {
    font-size: 36px;
    margin-bottom: 16px;
  }

  p {
    font-size: 18px;
  }
}
