body {
  font-size: 1.5rem;
  font-family: KaiTi, STKaiti, FangSong, STFangSong;
  color: white;
  overflow: hidden;
  background-color: #111;
}

.main-content {
  position: fixed;
  left: 0;
  top: 10%;
  width: 100%;
  height: 90%;
  background-color: #111;
}

.main-content a {
  color: blue;
}

.htmlDisplayArea {
  width: 100%;
  height: 100%;
  border: 0;
}

div.animation {
  background-color: black;
  position: fixed;
  opacity: 1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1001;
  padding-top: 2rem;
}

div.animation > .top-text {
  text-align: center;
}

div.animation > .top-text > span {
  border-right: 2px solid white;
}

div.animation > .bottom-text {
  text-align: right;
  padding-right: 2rem;
}

div.animation > .bottom-text > span {
  border-right: 2px solid white;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.header {
  background-color: black;
  position: fixed;
  display: flex;
  justify-content: space-between;
  left: 0;
  top: 0;
  width: 100%;
  height: 10%;
  z-index: 998;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.li {
  display: flex;
  justify-content: space-between;
}

.left-content,
.right-content {
  align-items: center;
  display: flex;
}

.menuButton,
.subjectButton {
  cursor: pointer;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -21rem;
  width: 19rem;
  height: 100%;
  box-shadow: -3px 0 15px rgba(0, 0, 0, 1.0);
  z-index: 1000;
  background-color: black;
  border-radius: 0.2rem;
  border-color: white;
  overflow: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.sidebar ul {
  list-style-type: none;
  padding-left: 0;
}

.sidebar li {
  cursor: pointer;
  line-height: 2.5rem;
}

.sidebar li:hover {
  background-color: white;
  color: black;
}

.closeButton {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  cursor: pointer;
}

.closeButton:hover {
  color: grey;
}

@media (max-width: 980px) {
  .sidebar li {
    font-size: 1.2rem;
  }
}

@media (max-width: 790px) {
  .sidebar li {
    font-size: 1.2rem;
  }
}