/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
  box-sizing: border-box;
}

/*
  2. Remove default margin
*/
* {
  margin: 0;
}

/*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
  5. Improve media defaults
*/
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/*
  6. Remove built-in form typography styles
*/
input, button, textarea, select {
  font: inherit;
}

/*
  7. Avoid text overflows
*/
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/*
  8. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

:root {
  --toggle-size: 3rem;
  --icon-size: 2.5rem;
}

@media screen and (min-width: 80rem) {
  :root {
    --toggle-size: 2rem;
    --icon-size: 1.5rem;
  }
}
#themeToggle {
  width: var(--toggle-size);
  height: var(--toggle-size);
  right: 1rem;
  top: 1rem;
  position: absolute;
}

#themeToggle:hover {
  cursor: pointer;
}

.moon {
  background-color: transparent;
  box-shadow: -6px 1px 0 3px #275e8e;
  border-left: 3px solid #27476D;
  border-radius: 50%;
  width: var(--icon-size);
  height: var(--icon-size);
  margin-left: 8px;
  margin-top: 0px;
  transition: 1s;
}

.sun {
  background-color: #fdd462;
  box-shadow: 2px 0px 0px 1px #D19C29;
  border-radius: 50%;
  width: var(--icon-size);
  height: var(--icon-size);
  transition: 1s;
}

:root {
  --text-color: black;
  --link-color: #604226;
  --bgcolor: #a99779;
}

.night {
  --text-color: #aca054;
  --link-color: #beb773;
  --bgcolor: #121e2d;
}

@font-face {
  font-family: "Benne";
  src: url("/assets/font/Benne-Regular.otf");
}
@font-face {
  font-family: "Baskervville";
  src: url("/assets/font/Baskervville-Regular.otf");
  font-style: normal;
}
@font-face {
  font-family: "Baskervville";
  src: url("/assets/font/Baskervville-Italic.otf");
  font-style: italic;
}
@font-face {
  font-family: "Permian Serif";
  src: url("/assets/font/PermianSerifTypeface.otf");
  font-style: normal;
}
@font-face {
  font-family: "Permian Serif";
  src: url("/assets/font/PermianSerifTypeface-Bold.otf");
  font-style: bold;
}
@font-face {
  font-family: "Permian Serif";
  src: url("/assets/font/PermianSerifTypeface-Italic.otf");
  font-style: italic;
}
:root {
  font-size: 18px;
}

@media screen and (min-width: 80em) {
  :root {
    font-size: 22px;
  }
}
html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bgcolor);
  font-family: "Baskervville";
}

html, body {
  margin: 0;
  padding: 0;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

body {
  height: 100%;
  color: var(--text-color);
}

.logo {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

header {
  font-family: "Benne", serif;
}

h1.sitename {
  font-size: 2rem;
}

@media screen and (max-width: 80rem) {
  #main .posts .post-link {
    padding: 1.5rem !important;
  }
  #main .posts .post-link .poem-title {
    font-size: 1.5rem;
  }
  #main .posts .post-link .poem-date {
    font-size: 1rem;
  }
}
header.header-with-logo, section#main, img.logo {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 80rem) {
  header.header-with-logo, section#main {
    max-width: 80%;
  }
  .poem {
    max-width: 60%;
  }
}
#main .align-right {
  text-align: right;
}
#main .posts .post-link {
  padding: 0.5rem;
}
#main .posts .poem-title {
  font-size: 1.1rem;
  font-weight: 1000;
  display: block;
}
#main .posts .poem-date {
  font-size: 0.75rem;
}
#main .poem-date, #main .series, #main .type {
  font-family: "Permian Serif";
  font-style: italic;
}
#main .poem-date .series-name, #main .poem-date .type-name, #main .series .series-name, #main .series .type-name, #main .type .series-name, #main .type .type-name {
  font-weight: bold;
}
#main .poem .poem-date, #main .poem .series, #main .poem .type {
  font-size: 0.9rem;
}
#main .poem .poem-text {
  white-space: pre-line;
}
#main .poem .notes {
  font-style: italic;
}
#main .poem {
  margin-left: auto;
  margin-right: auto;
}

hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

blockquote {
  max-width: 20em;
  margin-left: auto;
  margin-right: auto;
  border-left: 2px solid #604226;
  font-style: italic;
}

ul {
  max-width: 20em;
  margin-left: auto;
  margin-right: auto;
}

ul li, ol li {
  list-style-position: inside;
}

/*# sourceMappingURL=styles.css.map */