* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
}

.container {
  width: 100vw;
  height: 100vh;
  position: relative;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.header {
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "DotGothic16", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 600px) {
  .header {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  .header {
    font-size: 0.4em;
  }
}

.header > .left, .header > .right {
  display: flex;
  align-items: center;
  gap: 1em;
}

a:link, a:visited, a:active, a:hover {
  color: #000;
}

.write-input {
  display: flex;
  gap: 1em;
  align-items: center;
  height: 4em;
}

.write-desc {
  font-size: 2em;
}

.write-input > input {
  height: 100%;
  width: 2em;
  padding: 0;
  overflow-y: hidden;
  font-family: "Noto Serif JP", serif;
  font-size: 3.2em;
  text-align: center;
}

.sutra-body {
  overflow-x: auto;
  overflow-y: hidden;
  flex-grow: 1;
}

.sutra-text {
  height: 100%;
  font-family: "Noto Serif JP", serif;
  font-weight: 800;
  font-style: normal;
  font-size: 4em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.sutra-text .unwritten {
  opacity: 0.1;
}