body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media screen and (max-width: 700px) {
  .container {
    max-width: 80% !important;
  }
  h1 {
    font-size: 1.5em !important;
  }
  .note-list {
    width: 230px !important;
  }
  .note-content {
    width: 230px !important;
  }
}
.container {
  opacity: 0;
  max-width: 60%;
  margin: 0 auto;
  margin-top: 50px;

  transition: opacity 1s;
}
#posts-sidebar {
  overflow-x: hidden;
  overflow-y: auto;
  width: 0;
  min-height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: white;
  border-right: 2px solid var(--border-color);

  transition: width 0.5s;
}
/* 사이드바 패널 (클릭하면 사이드바 없애기위해서) */
#posts-panel {
  position: fixed;
  z-index: 50;
  top: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  display: none;
}
h1 {
  color: #333;
}
.title {
  border: 1px solid var(--border-color);
  text-align: center;
  color: #333;
  margin-bottom: 0 !important;
}
.date p {
  margin-top: 0;
  font-size: 0.9em;
}
.tag {
  color: #fe9f9f;
  font-size: 0.8em;
}

/* index */
.symbol-title {
  color: #fe9f9f;
  font-size: 1.1em;
}
.note-name {
  margin: 5px 0 5px 0;
}
.note-count {
  font-size: 0.8em;

  margin: 5px 0 5px 0;
}
.note-container {
  padding: 10px;
  border-bottom: 1px solid var(--border-color);
  margin-right: 5px;
  color: #4a4a4a;
}
.note-container:hover {
  background-color: #fe9f9f;
  color: white;
  cursor: pointer;
}
#test {
  height: 0;
  overflow-y: hidden;
  transition: height 0.5s;
}
#under-notes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--border-color);
}
.note-lists {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  border-right: 1px solid var(--border-color);
  width: 0%;
  height: 100%;
  overflow-x: hidden;
  background-color: white;

  transition: width 0.5s;
}
.note-list {
  width: 300px;
}

.note-list h3 {
  font-size: 1.2em;
  width: 100%;
  padding: 10px;
  margin: 0;
  border-bottom: 1px solid var(--border-color);
  color: #fe9f9f;
}
.note-list h4 {
  color: #333;
  width: 100%;
  height: 24px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 1.1em;
  font-weight: 300;
  padding: 10px;
  margin: 0;
}
.note-list h4:hover {
  cursor: pointer;
  color: white !important;
  background-color: #fe9f9f !important;
}
.note-list p {
  font-size: 0.7em;
  margin: 0 0 0 10px;
}
.note-content {
  font-size: 0.9em;
  line-height: 1.4;
  width: 300px;
  height: 50px;
  padding: 10px;
  overflow-y: hidden;
  border-bottom: 1px solid var(--border-color);
}

code {
  display: inline-block;
  overflow: auto;
  width: 100%;
  border: 1px solid var(--border-color);
}
