@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Inter-Bold.woff2") format("woff2"),
    url("fonts/Inter-Bold.woff") format("woff");
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: min(24px, 4vh);
  line-height: 80%;
  font-weight: 700;
  margin: 0;
  height: 100%;
  position: fixed;
  inset: 0;
  overflow: hidden;
  background-color: #eeeeee;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.125em;
}

#snap {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#menu {
  display: flex;
  justify-content: space-between;
  padding: 24px;
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  bottom: 0;
}

#main {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (orientation: portrait) {

  #main,
  #snap {
    width: 100%;
    height: 100%;
  }

  a {
    color: white;
  }
}

@media (orientation: landscape) {
  a {
    color: rgb(59, 59, 59);
  }

  #main {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  #snap {
    height: 100%;
    aspect-ratio: 375 / 667;
  }

}