@font-face {
  font-family: Headline;
  src: url(MozillaHeadline.ttf);
}
@font-face {
  font-family: BodyText;
  src: url(Inter.ttf);
}
html {
  background: #000818;
}
html, body, div, h1, h2, h3, h4, h5, h6, p, button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: BodyText, sans-serif;
}
h1 {
  text-align: center;
}
h1, h2 {
  font-family: Headline, sans-serif;
  margin: 16px 0;
}
div, p {
  display: flex;
  flex-flow: column nowrap;
}
p {
  font-size: 16pt;
  font-weight: 300;
  line-height: 1.6;
  padding-bottom: 8px;
}

.page {
  background: linear-gradient(180deg, #004175 0%, #005ca7 100%);
  color: #fff;
  align-items: center;
  min-height: 100vh;
  padding: 16px;
  padding-top: 10vh;
}
.page.top {
  background: linear-gradient(
    180deg,
    #000818 0%,
    #002544 90%,
    #004175 100%
  );
  justify-content: center;
  min-height: 100svh;
  padding: 0;
}

.page > div {
  max-width: 800px;
  padding: 0 16px;
}

#language-switcher {
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch;
  position: fixed;
  overflow: hidden;
  top: 16px;
  right: 16px;
  background: #00345f;
  backdrop-filter: blur(16px);
  color: #fff;
  border-radius: 12px;
  transition: all 150ms ease-in-out;
}
#language-switcher.closed {
  cursor: pointer;
  border-radius: 24px;
}

#language-switcher p {
  padding: 8px 16px 0 16px;
  line-height: 1;
}

#language-switcher img {
  align-self: center;
  padding: 12px;
}
#language-switcher.mouse img {
  padding: 8px;
}

#language-switcher .buttons {
  margin: 0 4px 4px;
  overflow: hidden;
  max-height: 106px;
  max-width: 116px;
  border-radius: 8px;
  background: #ffffff25;
  transition: all 150ms ease-in-out;
}
#language-switcher.mouse .buttons {
  max-height: 90px;
}
#language-switcher.closed .buttons {
  margin: 0;
  max-height: 0;
  max-width: 0;
  opacity: 0;
}

#language-switcher button {
  font-size: 14px;
  padding: 16px;
  background: none;
  border: none;
  color: #fff;
  overflow: hidden;
  transition: all 150ms ease-in-out;
}

#language-switcher button.isOtherLanguage {
  cursor: pointer;
}
#language-switcher.open button.isCurrentLanguage {
  background: #ffffff11;
}
#language-switcher.mouse button {
  padding: 8px 16px;
}
