/*----- fonts -----*/

@font-face {
  font-family: 'Montserrat';
  src:
    url(../_fonts/Montserrat.ttf),
    url(../_fonts/Montserrat.woff2);
}

@font-face {
  font-family: 'Cinzel Decorative';
  src:
    url(../_fonts/CinzelDecorative.ttf),
    url(../_fonts/CinzelDecorative.woff2);
}

/*----- end fonts -----*/


/*----- */









/*----------------------*/
/*----- FANFICTION -----*/
/*----------------------*/


/*----- fanfiction -----*/
.worktext {
  position: relative;
}

.intro {
  display: flex;
  flex-wrap: wrap;
  flex-flow: column;
}

.quickjump {
  background-color: rgba(245, 245, 245, 0.5);
  width: fit-content;
  padding: 10px;
  margin: 15px 0 0 15px;
  
  border: outset 2px #e5c366;
  box-shadow: #333 0 0 5px;
  border-radius: 0px;
}

.quickjump h3 {
  font-family: 'Cinzel Decorative';
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.quickjump ul {
  list-style-type: none;
  padding: 0;
}

.quickjump ul li {
  margin-top: 5px;
}

.quickjump ul li::before {
  content: '◈ ';
  font-size: 0.75rem;
  vertical-align: middle;
}

.quickjump ul li a {
  text-decoration: none;
  font-style: italic;
  font-size: 0.9rem;
  color: #141198;
}

.fic-disclaimer p {
  max-width: 700px;
  text-align: justify;
  margin: 0 auto 15px;
}

.fic-disclaimer p:last-child {
  margin-bottom: 0;
}

h1 {
  margin: 25px auto;

  text-align: center;
  font-family: 'Cinzel Decorative';
  font-size: 2rem;

  text-decoration: underline dotted 1px;
  text-underline-offset: 7px;
}

h2 {
  font-family: 'Cinzel Decorative';
  font-variant-caps: small-caps;
  font-size: 1.5rem;

  margin: 45px 0 25px;
}

h3 {
  font-family: 'Cinzel Decorative';
  font-size: 1.2rem;
  margin-bottom: 5px;
}


.longfic p, .longfic p * {
  text-align: justify;
  margin-bottom: 1em;
  font-size: 1rem;
  line-height: 1.5em;
  color: #333;
}

.longfic > p:last-of-type {      /* meh */
  margin-bottom: 50px;
}

.ao3redirect p {
  padding: 0 0 25px 75px;
  font-size: .8rem;
  font-style: italic;
  color: #555;
}

.ao3redirect a {      /* for the fics */
  color: #141198;
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: underline dotted 1px #141198;
}

/*-----end fanfiction -----*/

/*----- navigation buttons -----*/

.levelup {
  display: flex;
  width: fit-content;
}

.levelup a {
  margin-left: 0;
  padding: 10px;
  width: 20px;
  aspect-ratio: 1 / 1;
  text-align: center;
  text-decoration: none;
  border-radius: 100%;

  background-color: whitesmoke;
  box-shadow: inset 0 0 10px #e5c366;
}

.levelup a:hover {
  font-weight: bold;
}


.slidertop {
  width: 0;
  height: calc(100% - 80vh);
  position: absolute;
  top: 0;
  right: 65px;      /* eyeball-aligned on inner right of .worktext */
  margin-top: 80vh; /* for hiding until scrolled a certain amount */
  display: flex;
}

.backtotop {
  position: sticky;
  bottom: 20px;       /* space between bottom of div and screen frame for sticky */

  margin: auto 0 0 auto;
}

.arrowup {
  padding: 10px;
  font-size: .9rem;
  font-weight: bold;
  color: #141198;
  text-decoration: none;
  border: ridge rgba(229, 195, 102, 0.75) 3px;
  border-radius: 3px;
  background-color: rgba(245, 245, 245, 0.75);
}

.arrowup span {
  vertical-align: super;
  padding-right: 3px;
}

/*-----end navigation buttons -----*/







/*----------------------*/
/*----- MEDIA RECS -----*/
/*----------------------*/


/*----- media entries -----*/

.media-category {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.media-entry {
  display: flex;
  gap: 10px;

  height: 250px;
}

.media-entry__cover {
  height: 250px;
  width: 140px;

  display: flex;
  flex-flow: column;
}

.media-entry__cover img {
  height: 200px;
  width: 140px;
  object-fit: fit;
  box-shadow: -5px 10px 15px #333;
}

.media-entry__progress {
  margin: auto;

  color: #333;
  font-weight: bold;
  font-size: 1rem;
  font-variant-caps: small-caps;
  font-style: italic;
}

p.media-entry__progress .progress-read {
  color: #0e7e07;
}

p.media-entry__progress .progress-reading {
  color: #141198;
}

p.media-entry__progress .progress-onhold {
  color: #900;
}

/* technically not necessary since it would be the default */
/*p.media-entry__progress.progress-toread {
  color: auto;
}*/


.media-entry__info {
  width: 100%;

  height: inherit;
  display: flex;
  flex-flow: column;
  overflow: auto;
  scrollbar-width: none;
  gap: 15px;
}

details.entry-info {
  width: 100%;
  overflow: auto;
  scrollbar-width: none;
}

.entry-info summary {
  font-variant: small-caps;
  font-size: 1rem;
  margin-bottom: 10px;
}

.entry-info summary span, .entry-info summary a {
  font-weight: bold;
  font-style: italic;
  color: #141198;
  padding-left: 5px;    /* Separates from toggle arrow */
}
.entry-info summary a {
  text-decoration: none;
}

.entry-info__summary, .entry-info__summary p {
  font-size: 0.8rem;
  text-align: justify;
  hyphens: auto;
}

.entry-info__summary--subtitle {
  font-weight: bold;
  font-style: italic;
  font-variant-caps: small-caps;
  font-size: .7rem;
  text-align: center;
}

.entry-metadata__tags {    /* pretty much the same as .metadata-stats*/
  list-style-type: none;
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.entry-metadata__tags li {
  display: flex;      /* so the padding doesn't go over the div's limits */
}

.entry-metadata__tags li a {
  padding: 5px 8px;
  font-variant-caps: small-caps;
  text-decoration: none;
  font-size: 0.6rem;
  color: #333;
  border-radius: 5px;
  box-shadow: inset #141198 0 0 5px;
}

.entry-metadata__tags li a:hover {
  background-color: rgb(20, 17, 152, 0.5);
  color: white;
  text-shadow: 0 0 3px white;
}

p.mature {
  padding: 5px 8px;
  font-variant-caps: small-caps;
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: bold;
  color: #900;
  border-radius: 5px;
  box-shadow: inset #900 0 0 5px;
}


.publisher, .format {      /*COMICS PAGE*/
  padding: 5px 8px;
  font-variant-caps: small-caps;
  text-decoration: none;
  font-size: 0.6rem;
  color: #333;
  border-radius: 5px;
  box-shadow: inset #661A1A 0 0 5px;
}

.character-focus {      /*COMICS PAGE*/
  padding: 5px 8px;
  font-variant-caps: small-caps;
  text-decoration: none;
  font-size: 0.6rem;
  color: #333;
  border-radius: 5px;
  box-shadow: inset #333 0 0 5px;
}

.entry.fic + .entry.fic {
  margin-top: 15px;
}

.entry summary {
  font-variant: small-caps;
  font-size: 1.1rem;
}

.entry summary a {
  font-weight: bold;
  text-decoration: none;
  color: #141198;
  text-underline-offset: 3px;
  padding-left: 5px;    /* Separates from toggle arrow */
}

.entry summary a:hover {
  text-decoration: underline dotted 1px rgba(229, 195, 102, 0.75);
  color: rgba(229, 195, 102, 1);
}

.fic.entry div.ficsummary {
  margin: 10px auto;
}

.ficsummary p.summary {
  text-align: justify;
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.fic.entry div:first-of-type p.workseries {
  text-align: center;
  font-size: 0.8rem;
}

.fic.entry div:first-of-type p.workseries .ficseriestitle { /* full path just in case */
  font-weight: bold;
  font-style: italic;
  font-size: inherit;
  text-decoration: none;
  color: #141198;
}

.fic.entry div:first-of-type p.workseries:has(> a:empty) {  /* for stand-alone works */
  display: none;
}

.metadata {
  width: fit-content;
  max-width: 650px;
  margin: auto;
  margin-bottom: 50px;
}

.metadata-stats {
  list-style: none;
  padding: 20px 0; /* make sure there's 0 padding on the left to cancel the bullet points*/
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* shouldn't be necessary but keep it just in case */
}

.metadata-stats li {
  padding: 0 10px 0 7px;
  font-size: .7rem;
  font-style: italic;
  font-variant-caps: small-caps;
  border-right: solid 0.5px #aaa;
}

.metadata-stats li:first-child {
  padding-left: 0;
}

.metadata-stats li:last-of-type {
  border-right: none;
  padding-right: 0;
}

.ficstatus {
  font-weight: bold;
}

.metadata-tags {    /* pretty much the same as .metadata-stats*/
  list-style-type: none;
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}


.metadata-tags li {
  display: flex;      /* so the padding doesn't overextend the div's limits */
}

.metadata-tags li a, .metadata-tags li p {
  padding: 8px 10px;
  font-variant-caps: small-caps;
  text-decoration: none;
  font-size: 0.7rem;
  color: #333;
  border-radius: 5px;
  box-shadow: inset #141198 0 0 5px;
}

.metadata-tags li p {
  box-shadow: inset #661A1A 0 0 5px;
}

.metadata-tags li p.mature {
  box-shadow: inset #900 0 0 5px;
  color: #900;
  font-weight: bold;
}

.metadata-tags li p.relationship {
  box-shadow: inset #333 0 0 5px;
}

.metadata-tags li a:hover {
  background-color: rgb(20, 17, 152, 0.5);
  color: white;
  text-shadow: 0 0 3px white;
}

.metadata-tags li p:hover {
  background-color: #ffffff00;
  color: auto;
}

/*-----end media entries -----*/




