@font-face {
  font-family: "bizudmincho";
  src: url("bizudmincho-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "bizudmincho";
  src: url("bizudmincho-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --one: #f5f5f5;
  --two: #c4cccc;
  --three: #2f4f4f;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: linear-gradient(var(--one), var(--two)) fixed;
  font-family: "bizudmincho", serif;
  font-weight: 400;
  color: var(--three);
  line-height: 1.5;
}
.container {
  width: 700px;
  height: 500px;
  position: absolute;
  inset: 50%;
  transform: translate(-50%,-50%);
  display: flex;
}
nav {
  display: flex;
  flex-direction: column;
}
nav a {
  padding: 5px 15px;
  background: linear-gradient(to right, var(--three), var(--two));
  color: var(--one);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 100ms;
}
nav a:hover {
  transform: scale(1.05);
}
main {
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
  scrollbar-color: var(--three) transparent;
  text-align: justify;
  hyphens: auto;
}
h1 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}
img {
  width: 100%;
  display: block;
}
::selection {
  background: var(--two);
}