#manga-info {
  display: flex;
  flex-direction: row;
  margin: auto;
  max-width: 930px;
}
#manga-info p,
#manga-info-right h2 {
  color: #aaa;
}
#manga-info-left {
  float: left;
  width: 235px;
}
#manga-info-right {
  margin-left: 0.8em;
  overflow: hidden;
  width: 100%;
}
#manga-info-right h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
  text-transform: uppercase;
}
#manga-info-right h2 {
  font-size: 1.2em;
  margin-bottom: 1em;
}
.manga-thumb {
  aspect-ratio: 2/3;
  border-radius: 10px;
  display: block;
  border: #22a7f0 2px solid;
  box-shadow: 0 0 15px #22a7f0;
  background-color: #fff;
}
#chapter-list,
.info-desc {
  background-color: rgb(74 74 74 / 33%);
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 0.5em 1em 0.5em 0.5em;
  width: 100%;
}
.desc {
  color: #f1f1f1;
}
.genre-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1em;
  width: 100%;
}
.genre-list-item {
  background-color: #21212170;
  border-bottom: 2px solid #22a7f0;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  padding: 5px 10px;
}
#rating-box {
  color: #ffc900;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  font-size: 1.2em;
  justify-content: center;
  padding: 10px;
}
#rating-box i:hover {
  cursor: pointer;
  text-shadow: 0 0 10px #ffc900;
}
.extra-manga-info {
  background-color: rgb(74 74 74 / 33%);
  border-radius: 10px;
  padding: 0.5em;
  width: 100%;
}
.extra-manga-info p {
  font-size: 0.8em;
  margin-bottom: 10px;
}
.extra-manga-info span {
  color: #d6d6d6;
  font-size: 1.2em;
}
.extra-manga-info-right {
  display: none;
}
#chapter-list {
  min-height: 300px;
}
#chapter-list hr {
  background-color: #22a7f0;
  height: 3px;
  margin-top: 0;
}
.chapter-list-title {
  color: #f1f1f1 !important;
  font-size: 1.5em;
  margin: 10px 0;
}
#switch-list-order {
  align-items: center;
  background-color: #22a7f0;
  box-shadow: 0 0 5px #1c1c1c;
  color: #f1f1f1;
  display: flex;
  height: 30px;
  justify-content: center;
  margin: auto 0;
  width: 30px;
}
.chapter-start-end {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 1em;
}
.chapter-start-end a {
  background-color: #21212170;
  border-radius: 10px;
  color: #f1f1f1;
  display: block;
  font-size: 1.2em;
  font-weight: 700;
  padding: 10px 0;
  text-align: center;
  transition: 0.5s;
  width: 100%;

  border: #22a7f0 2px solid;
  box-shadow: 0 0 10px #22a7f0;
}
.chapter-start-end a span {
  color: #aaa;
  font-size: 0.8em;
  font-weight: 400;
}
.chapter-start-end a:hover {
  background-color: #22a7f0;
}
#search-chapter-list {
  background-color: #1c1c1c;
  border: none;
  border-bottom: 2px solid #22a7f0;
  border-radius: 10px;
  color: #f1f1f1;
}
.chapter-list-holder {
  background-color: #21212170;
  border-radius: 10px;
  max-height: 500px;
  min-height: 40px;
  overflow-y: scroll;
  padding: 10px;
  width: 100%;
  --sb-track-color: #232e33;
  --sb-thumb-color: #22a7f0;
  --sb-size: 10px;
}
.chapter-list-holder::-webkit-scrollbar {
  width: var(--sb-size);
}
.chapter-list-holder::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 6px;
}
.chapter-list-holder::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 6px;
}
@supports not selector(::-webkit-scrollbar) {
  .chapter-list-holder {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}
.chapter-list-item {
  background-color: #1c1c1c;
  border: 0.5px solid #464646;
  border-radius: 10px;
  color: #f1f1f1;
  font-size: 1.2em;
  margin: 0.4em 0;
  padding: 0.3em 1em;
  transition: 0.2s;
}
.chapter-list-item:visited {
  color: #22a7f0 !important;
}
.chapter-list-item span {
  display: block;
}
.chapter-date {
  color: #aaa;
  font-size: 0.7em;
}
.chapter-list-item:hover {
  background-color: #292929;
}
@media (max-width: 768px) {
  #manga-info {
    flex-direction: column;
    position: relative;
  }
  #manga-info-left {
    float: none !important;
    width: 100%;
  }
  #manga-info-right {
    margin-left: 0 !important;
  }
  #chapter-list,
  .info-desc {
    padding-right: 0.5em !important;
  }
  .manga-thumb {
    background-color: #fff;
    display: block;
    margin: auto;
    max-width: 200px;
  }
  .container {
    max-width: 600px;
  }
  .extra-manga-info-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 15px;
    padding: 0.5em;
  }
  .extra-manga-info-left {
    display: none;
  }
}
