* {
  color: white;
}

html {
  font-size: 100%;
}

:root {
  --hover-color: rgb(255, 169, 39);
}

@font-face {
  font-family: "Pirata-One";
  src: url("fonts/PirataOne-Regular.ttf");
}

@font-face {
  font-family: "Piazolla";
  src: url("fonts/Piazzolla-Medium.ttf");
  font-weight: 500;
  font-style: normal;
}

/* @font-face {
  font-family: "Piazolla";
  src: url("fonts/Piazzolla-MediumItalic.ttf");
  font-style: italic;
  font-weight: 500;
} */

@font-face {
  font-family: "Piazolla";
  src: url("fonts/Piazzolla-BlackItalic.ttf");
  font-style: italic;
  font-weight: 900;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  font-style: italic;
}

p {
  font-size: 1.4rem;
  margin: 0.7em 0;
}

body {
  /* display: flex;
  justify-content: center; */
  background-color: #0e0d0d;
  font-family: "Piazolla";
}

header {
  /* position: fixed; */
}

.display-none {
  display: none;
}

.visibility-hidden {
  visibility: hidden;
}

nav {
  position: fixed;
  box-sizing: border-box;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  gap: 3rem;
  background-color: #0e0d0d;
}

a {
  text-decoration: none;
  font-size: 2.5rem;
  font-family: "Piazolla";
}

a:hover:not(#patreon-link) {
  color: var(--hover-color);
}

.nav-text:hover {
  color: var(--hover-color);
}

.active-link {
  color: var(--hover-color);
}

#patreon-link {
  font-size: 1.4rem;
  color: #f55645;
  font-style: italic;
}

#patreon-link:hover {
  text-decoration: underline;
}

nav a {
  font-size: 1.4rem;
  display: flex;
}

.right-nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-right: 2rem;
}

.nav-icon {
  display: none;
}

#support-icon {
  width: 26.5px;
  height: 22.5px;
}

#archive-icon {
  width: 24px;
  height: 26px;
}

#about-icon {
  width: 10px;
  height: 27px;
}

#logo {
  font-family: "Pirata-One";
  font-size: 2rem;
}

.extra-space {
  margin-left: 0.5rem;
}

main {
  margin-top: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content {
  /* might not need overflow stopper */
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 55vw;
}

/* .content p:first-of-type {
  margin-top: 0.5rem;
} */

.content h2,
p {
  /* align-self: flex-start; */
  width: 100%;
}

img {
  align-self: center;
  width: 100%;
  height: auto;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 900;
  font-style: normal;
}

/* archive */
.link-list {
  margin-bottom: 2rem;
  list-style: inside;
}

.link-list a {
  font-size: 1.4rem;
}

/* .link-list a:hover {
  color: var(--hover-color);
} */

.top-ch-select {
  display: flex;
  gap: 3rem;
}

.ch-header {
  font-style: italic;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ch-footer {
  margin: 2rem;
}

.ch-footer ul {
  display: flex;
  align-items: center;
  gap: 3rem;
  line-height: 1rem;
}

#chapter-select {
  /* font-family: "Piazolla";
  font-weight: 500; */
  padding: 0.5rem;
  background-color: #0e0d0d;
}

/* About page */
.page-body-container {
  /* width: 60%; */
  /* margin-top: 8rem; */
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 60vw;
  margin: 8rem auto 0;
}

#author {
  margin-top: 1rem;
}

#author-content {
  margin-top: 1rem;
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

#author-content a {
  font-size: 1.4rem;
  text-decoration: underline;
}

#author img {
  border-radius: 2px;
  width: 250px;
  height: auto;
  /* flex-shrink: 0; */
}

.text-container > :first-child {
  margin: 0;
}

footer {
}

footer p {
  text-align: center;
  font-size: 1rem;
}

@media (max-width: 1440px) {
}

@media (max-width: 1024px) {
  .content {
    width: 60vw;
  }
  #author-content {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav-text {
    display: none;
  }
  .nav-icon {
    display: inline;
  }
  .content {
    width: 80vw;
  }
  html {
    font-size: 80%;
  }
  .ch-header {
    flex-direction: column;
    gap: 1rem;
    align-items: start;
  }
  .top-ch-select {
    gap: 2rem;
    line-height: 1rem;
    order: 1;
  }
  .ch-title {
    order: 2;
  }
  .ch-footer ul {
    gap: 2rem;
  }
  .page-body-container {
    width: 80vw;
  }
  #author img {
    width: 200px;
  }
}
