@font-face {
    font-family:"PalomarCode Regular";
    src:url("fonts/PalomarCode-Regular.woff2") format("woff2"),url("fonts/PalomarCode-Regular.woff") format("woff"),url("fonts/PalomarCode-Regular.otf") format("opentype");
    font-style:normal;font-weight:400;
}

@font-face {
    font-family:"Letter ESP Bolder";
    src:url("fonts/LetterESP-Bolder.woff2") format("woff2"),url("fonts/LetterESP-Bolder.woff") format("woff"),url("fonts/LetterESP-Bolder.otf") format("opentype");
    font-style:normal;font-weight:400;
}

@font-face {
    font-family:"Letter ESP Bold";
    src:url("fonts/LetterESP-Bold.woff2") format("woff2"),url("fonts/LetterESP-Bold.woff") format("woff"),url("fonts/LetterESP-Bold.otf") format("opentype");
    font-style:normal;font-weight:400;
}

@font-face {
    font-family:"Letter ESP Bold Italic";
    src:url("fonts/LetterESP-BoldItalic.woff2") format("woff2"),url("fonts/LetterESP-BoldItalic.woff") format("woff"),url("fonts/LetterESP-BoldItalic.otf") format("opentype");
    font-style:italic;font-weight:400;
}


@font-face {
    font-family:"Alphabet Romanv10";
    src:url("fonts/Alphabet-Romanv10.woff2") format("woff2"),url("fonts/Alphabet-Romanv10.woff") format("woff"),url("fonts/Alphabet-Romanv10.otf") format("opentype");
    font-style:normal;font-weight:400;
}

* {
  box-sizing: border-box;
}

strong {
  font-family:"Letter ESP Bolder";
}

a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

a:hover {
  color: #ababab;
}

a:hover .p-logo {
  fill: #ababab;
}

html, body {
  height: 100vh;
  width: 100vw;
}

p {
  margin-top: 0;
}

h1, h2 {
  font-size: inherit;
  line-height: inherit;
}

h1 {
  font-family: "Letter ESP Bolder";
}

h2 {
  font-family: "Letter ESP Bold Italic";
  font-style: italic;
  font-weight: normal;
}

em {
  font-family: "Letter ESP Bold Italic";
  font-style: italic;
  font-weight: normal;
}

.japanese {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ＭＳ ゴシック" , "MS Gothic", "Noto Sans CJK JP", TakaoPGothic, sans-serif;
}

header, main, footer {
  width: 100%;
}

header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 2em;
}

body {
  font-family: "Letter ESP Bold";
  font-size: 1rem;
  line-height: 1.25em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;

  padding: 1em;

  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 5fr 1fr;
  justify-content: space-between;
}

.p-logo {
  max-height: 12em;
}

.stream {
  display: grid;
  align-content: center;
  overflow: hidden;
}

.stream, footer {
  text-align: center;
}

.col-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 2em;
}

article {
  grid-column: 2 / span 3;
  margin-bottom: 4em;
}

article a {
  text-decoration: underline;
}

.more::before {
  content: "\2192";
}

.active::before {
  content: "\2193";
}

#landscape {
  white-space: nowrap;
}

#offscreen {
  position: fixed;
  left: 120vw;
  top: 120vh;
}

#source {
  font-family:"Alphabet Romanv10";
  font-size: 3em;
}

#landscape, #offscreen {
  font-family:"PalomarCode Regular";
  font-size: 6rem;
}

@media (max-width: 720px) {
  header {
    grid-template-columns: 1fr;
  }

  html, body {
    height: auto;
  }

  body {
    font-size: 1em;
    line-height: inherit;
    display: block;
  }

  .stream {
    margin-top: 3em;
    line-height: 1;
  }

  .p-logo {
    width: auto;
    height: 8em;
  }

  .col-4 {
    margin-top: 2em;
  }

  article {
    grid-column: 1 / span 4;
  }

  footer {
    margin-top: 3em;
  }

  #landscape {
    font-size: 2rem;
  }
}
