@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Sorts+Mill+Goudy:ital@0;1&display=swap");
@font-face {
  font-family: "Cooper";
  font-style: normal;
  src: url("../assets/Cooper-Black.woff2") format("woff2");
}
:root {
  --bg-color: #FBF7EA;
  --font-title: "Cooper", serif;
  --font-serif: "Sorts Mill Goudy", serif;
  --font-sansserif: "Jost", sans-serif;
  --font-color: #9B2E00;
  --font-size: 22px;
  --text-width: 35em;
  --text-font: var(--font-serif);
  --line-height: calc(var(--font-size) * 2);
  --docu-line-height: calc(var(--font-size) * 1.75);
  --custom-color: #CDCF15;
  --lines: linear-gradient(
    to top,
    var(--custom-color) 50%,
    rgba(255, 255, 255, 0) 50%
  );
  --quote-color: #f7efd4;
  --dark-mode-label: "DARK MODE";
  --light-mode-label: "LIGHT MODE";
  --typo-plus-label: "A+";
  --typo-moins-label: "A-";
  --sans-serif-label: " SANS-SERIF FONT";
  --serif-label: "SERIF FONT";
}

/* Dark-mode styles */
#dark-mode:checked,
#dark-mode:checked ~ .theme-container {
  --bg-color: #333;
  --font-color: #eee;
  --custom-color: #ef1a63;
  --lines: linear-gradient(
    to top,
    var(--custom-color) 50%,
    rgba(255, 255, 255, 0) 50%
  );
  --quote-color: #333642;
}

.dark-mode-label::before {
  content: var(--dark-mode-label);
}

.dark-mode-checkbox:checked ~ .theme-container .dark-mode-label::before {
  content: var(--light-mode-label);
}

/* Large font mode styles */
#typo-plus:checked,
#typo-plus:checked ~ .theme-container {
  --font-size: 30px;
  --line-height: 35px;
  --text-width: 60em;
}
#typo-plus:checked .site_title,
#typo-plus:checked ~ .theme-container .site_title {
  font-size: calc(var(--font-size) * 3);
  line-height: calc(var(--line-height) * 3);
}
#typo-plus:checked .site_functions,
#typo-plus:checked ~ .theme-container .site_functions {
  margin-top: 20px;
}

.typo-plus-label::before {
  content: var(--typo-plus-label);
}

.typo-plus-checkbox:checked ~ .theme-container .typo-plus-label::before {
  content: var(--typo-moins-label);
}

/* Typo-dys */
.typo-dys-label::before {
  content: var(--sans-serif-label);
  font-size: calc(var(--font-size) / 1.5);
  font-family: var(--font-sansserif);
}

.typo-dys-checkbox:checked ~ .theme-container .typo-dys-label::before {
  content: var(--serif-label);
  font-family: var(--font-serif);
}

#typo-dys:checked,
#typo-dys:checked ~ .theme-container {
  --text-font: var(--font-sansserif);
}

* {
  margin: 0;
  padding: 0;
}

.theme-container {
  background-color: var(--bg-color);
  color: var(--font-color);
  font-family: var(--text-font);
}

.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

html {
  height: 100%;
}

body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-size: var(--font-size);
  line-height: var(--line-height);
  background-color: var(--bg-color);
  color: var(--font-color);
}

.grow {
  flex-grow: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sansserif);
}

h1 {
  font-size: calc(var(--font-size) * 1.7);
}

h2 {
  font-size: calc(var(--font-size) * 1.3);
}

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

.a-nude {
  background-size: 0% 100%;
  transition: background-size 0.5s 0s;
}
.a-nude:hover {
  background: var(--lines);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

p, li {
  font-size: var(--font-size);
  margin-bottom: var(--line-height);
}

hr {
  margin-bottom: var(--line-height);
  border: 3px solid var(--custom-color);
}

tr {
  line-height: calc(var(--line-height) / 3);
}

blockquote {
  margin-right: 25px;
  margin-left: 25px;
  margin-bottom: var(--line-height);
  border-width: 2px;
  background: var(--quote-color);
  padding: 10px 10px 1px 20px;
  border-left-width: 5px;
  border-left-style: solid;
  border-left-color: var(--custom-color);
  quotes: "“" "”" "‘" "’";
}

q {
  quotes: "‘" "’" "“" "”";
}

code {
  background: var(--quote-color);
}

.footnotes::before {
  content: "---";
}

.footnotes li {
  counter-increment: my-counter;
  margin-bottom: var(--line-height);
}

.footnotes li::before {
  content: counter(my-counter) ". ";
  font-weight: bold;
}

.footnotes p {
  display: inline;
}

label {
  cursor: pointer;
  font-weight: bold;
  font-size: var(--font-size);
  background: var(--lines);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: background-size 0.5s 0s;
  margin-right: 20px;
  padding-bottom: 2px;
}

label:hover {
  background-size: 0% 100%;
}

/** HEADER **/
header {
  font-family: var(--font-title);
  text-transform: uppercase;
  margin: 30px;
  line-height: calc(var(--line-height) / 1.5);
}

.site_title {
  text-transform: uppercase;
  display: inline-block;
  font-size: calc(var(--font-size) * 2.5);
  padding-bottom: 5px;
  font-weight: bold;
  background: none;
}

.pages_links {
  display: inline-block;
  font-size: calc(var(--font-size) * 1.5);
  padding-right: 20px;
  font-weight: bold;
}

.pages_names {
  background: var(--lines);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: background-size 0.6s 0s;
  padding-bottom: 5px;
}
.pages_names:hover {
  background-size: 0% 100%;
}

.site_functions {
  margin-top: 10px;
}

/** MAIN **/
main {
  padding: 30px;
  min-height: 55%;
}
main a {
  background: var(--lines);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: background-size 0.6s 0s;
}
main a:hover {
  background-size: 0% 100%;
}

.line {
  height: 30px;
  border-bottom: 10px solid var(--custom-color);
  transform: rotate(2deg);
  position: relative;
  top: var(--line-height);
  margin-bottom: calc(var(--line-height) * 3);
}

/** HOME **/
.list_post_title,
.list_post_info {
  font-weight: normal;
}

.list_post_info {
  font-size: 22px;
}

/** PAGES **/
article {
  max-width: var(--text-width);
  margin: auto;
  margin-top: calc(var(--line-height) * 3);
  margin-bottom: calc(var(--line-height) * 3);
}

article h1, h2, h3, h4, h5, h6 {
  margin-bottom: var(--line-height);
}

article.document {
  margin-top: calc(var(--docu-line-height) * 3);
  margin-bottom: calc(var(--docu-line-height) * 3);
  line-height: var(--docu-line-height);
}

article.document h1, h2, h3, h4, h5, h6 {
  margin-bottom: var(--docu-line-height);
}

.page-typo-type {
  margin-bottom: var(--line-height);
  text-align: right;
}

.post_footer {
  text-align: right;
}

/** CUSTOM-PAGES **/
.custom-pages-title {
  margin-bottom: calc(var(--line-height) * 2);
}

.archives-table {
  width: 100%;
}

.archives-date {
  text-align: right;
}

.authors-list {
  text-align: center;
}

.author-archives {
  margin-top: var(--line-height);
}

.button-div {
  display: flex;
  flex-direction: row;
}

.submit-button {
  font-size: var(--font-size);
  background-color: var(--font-color);
  border: none;
  border-radius: 9999px;
  padding: 10px 15px;
  color: var(--bg-color);
  cursor: pointer;
}

.form-content {
  /* set text align to left if content needs to be left aligned */
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  /* centers content horizontally, set to flex-start to left align */
  align-items: center;
}
.form-content label {
  background: none;
}

.cs-title {
  margin: 0 0 2rem 0;
}

.cs-form {
  width: 100%;
  /* 24px - 48px top and bottom */
  /* 24px - 32px left and right */
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
  /* prevents flexbox from affecting height and width */
  box-sizing: border-box;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cs-label {
  /* 14px - 16px */
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.25rem;
}

.cs-input {
  font-size: 1rem;
  width: 100%;
  height: 3.5rem;
  padding: 0;
  padding-left: 1.5rem;
  color: var(--headerColor);
  background-color: #f7f7f7;
  border: none;
  /* prevents padding from adding to height and width */
  box-sizing: border-box;
}
.cs-input::placeholder {
  color: #7d799c;
  opacity: 0.6;
}
.cs-input {
  border-bottom: 2px solid var(--custom-color);
}

.cs-textarea {
  min-height: 7.5rem;
  padding-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-family: inherit;
  resize: vertical;
}

.cs-file {
  background: none;
}

.cs-button-solid {
  font-size: 1rem;
  /* 46px - 56px */
  line-height: clamp(2.875em, 5.5vw, 3.5em);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  margin: 0;
  color: #fff;
  border: none;
  min-width: 9.375rem;
  padding: 0 1.5rem;
  background-color: var(--font-color);
  border-radius: 0.25rem;
  display: inline-block;
  position: relative;
  z-index: 1;
  /* prevents padding from adding to the width */
  box-sizing: border-box;
  transition: color 0.3s;
}

.cs-submit {
  min-width: 17.6875rem;
  border-radius: 0;
}
.cs-submit:hover {
  cursor: pointer;
}

/** FOOTER **/
footer {
  font-size: calc(var(--font-size) / 2);
  text-align: center;
  width: 100%;
  background: var(--bg-color);
  font-family: var(--font-sansserif);
}

/* Variables for responsive layouts */
@media screen and (max-width: 801px) {
  :root {
    line-height: calc(var(--font-size) * 1.5);
  }
  .site_title {
    margin-bottom: calc(var(--line-height) * 0.5);
  }
  .site_title, .list_post_title {
    font-size: calc(var(--font-size) * 1.5);
  }
  .pages_links {
    font-size: var(--font-size);
  }
  label {
    font-size: calc(var(--font-size) * 0.8);
  }
  .typo-plus-label {
    display: none;
  }
  article {
    margin-top: var(--line-height);
    margin-bottom: var(--line-height);
  }
  .list_post_info {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 600px) {
  tr {
    line-height: var(--line-height);
  }
  .archives-date {
    display: none;
  }
  .authors-list {
    text-align: left;
  }
  .desktop-star {
    display: none;
  }
}

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