@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 100;
  src: url(./poppins/Poppins-ExtraLight.woff2) format("woff2");
}

body {
  font-family: Poppins;
  font-style: normal;
  font-weight: 100;
  font-size: 12pt;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
}

footer {
  display: flex;
  flex-direction: row;
  font-size: 10pt;
  gap: 1em;
  justify-content: center;
}

#name,
#bullet,
#cvr {
  text-align: center;
}

/* Wide: the footer is displayed on a single line, with a bullet separator */
@media (min-width: 22em) {
  /* Landscape — the constraining factor on the image is the height */
  @media (min-width: calc(95vh - 10pt - 1em)) {
    #hero {
      width: calc(95vh - 2em - 10pt - 1em);
      height: calc(95vh - 2em - 10pt - 1em);
    }
  }

  /* Portrait — the constraining factor on the image is the width */
  @media (max-width: calc(95vh - 10pt - 1em)) {
    #hero {
      width: calc(100vw - 2em);
      height: calc(100vw - 2em);
    }
  }

  footer {
    flex-direction: row;
  }

  #bullet {
    display: block;
  }
}

/* Narrow: the footer is displayed on three lines */
@media (max-width: 22em) {
  /* Landscape — the constraining factor on the image is the height */
  @media (min-width: calc(95vh - 10pt - 1em)) {
    body {
      border-bottom: 5px solid orange;
    }

    #hero {
      width: calc(95vh - 2em - 30pt - 1em);
      height: calc(95vh - 2em - 30pt - 1em);
    }
  }

  /* Portrait — the constraining factor on the image is the width */
  @media (max-width: calc(95vh - 10pt - 1em)) {
    #hero {
      width: calc(100vw - 2em);
      height: calc(100vw - 2em);
    }
  }

  footer {
    flex-direction: column;
  }

  #bullet {
    display: none;
  }
}
