@font-face {
  font-family: "Inter";
  font-style: normal;
  src: url("/fonts/Inter.woff2");
  font-display: swap;
  font-weight: 1 999;
}

@font-face {
  font-family: "Sentient";
  font-style: normal;
  src: url("/fonts/Sentient.woff2");
  font-display: swap;
  font-weight: 1 999;
}

:root {
  --background: #fff;
  --text: #371f1f;
  --sans: "system-ui", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
  --theme: #a2c895; /* placeholder color */
  --light: #a2c895;
  --selection: #c5e6ba;
  --subtle: #777;
  --note: #fb78ff;
  --border: solid;
  --b-width: 1.5px;
  --aliasing: auto;
  --radius: 0px;
  --spacing: 1rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  position: relative;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 1rem;
  text-align: center;
  padding: 1rem 0.5rem 1rem 0.5rem;
}

.center {
  max-width: 58rem;
  display: inline-block;
  width: 100%;
  text-align: left;
}

main {
  width: 100%;
  text-align: left;
  position: relative;
}

.default {
  padding-top: 1.5rem;
}

body {
  background-color: var(--background);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
}

::selection {
  background-color: var(--selection); /* placeholder color */
}

.default-title {
  width: 60%;
  margin: 0 auto;
  padding-top: 2rem;
  text-align: left;
}

.default-title h2 {
  border-bottom: 0.6px solid var(--subtle);
  padding-bottom: 0.2rem;
  font-size: 2rem;
}

.default-content p {
  font-size: 0.95rem;
  line-height: 1.5rem;
  /* color: #777; */
}

.default-content {
  width: 60%;
  margin: 0 auto;
  text-align: left;
  margin-bottom: 4rem;
}

.default-content a:not(.highlights):not(.stuff-link):not(.media-link) {
  text-decoration: underline;
  text-decoration-color: var(--light);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
  transition: text-decoration 0.2s ease, background-color 0.2s ease;
}

.content-wrapper {
  max-width: 555px;
}

.media-wrapper {
  margin: 2rem 0 1.7rem;
}

.media-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 4px 12px;
  border: 0.8px solid var(--subtle);
  /* margin: 4px 4px 6px; */
}

.media-wrapper img {
  width: 100%;
  border: 0.8px solid var(--subtle);
  border-top: none;
}

.media-wrapper video {
  width: 100%;
  border: 0.8px solid var(--subtle);
  border-top: none;
}

.media-header p {
  margin-bottom: 0;
}

.media-header span {
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.9;
}

.media-link {
  display: flex;
  color: #333;
  align-items: baseline;
  gap: 8px;
  transition: 0.2s ease;
  font-size: 0.9rem;
  cursor: pointer;
}

.media-link:hover {
  opacity: 0.6;
}

.top {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.top span {
  font-size: 0.9rem;
  line-height: 1.625rem;
  letter-spacing: -0.05em;
  color: var(--subtle);
  font-style: italic;
  font-family: "times new roman", serif;
}

/*
.top img {
  width: 15%;
  margin-top: -1.5rem;
}
.top img {
  filter: grayscale(100%);
}

.top img:hover {
  filter: sepia(100%) hue-rotate(300deg) saturate(200%) brightness(120%);
} */

h2 {
  font-size: 2rem;
  color: inherit;
  font-weight: 400;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  font-family: "times new roman", serif;
}

p {
  font-size: 1rem;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  line-height: 1.625rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.highlights {
  text-decoration: underline;
  text-decoration-color: var(--light);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.23rem;
  transition: all 0.2s ease;
}

.highlights:hover {
  text-decoration-color: var(--subtle);
  opacity: 0.8;
  transition: all 0.2s ease;
}

.back {
  width: fit-content;
}

.back:hover {
  opacity: 0.7;
}

.flex {
  display: flex;
  gap: 3rem;
  width: 100%;
  padding: 2rem 0;
}

.first-half {
  width: 55%;
}

.second-half {
  width: 45%;
  padding-top: calc(var(--spacing) * 1);
}

.section {
  border: var(--border) var(--b-width) var(--theme);
  width: 100%;
  position: relative;
  display: inline-block;
  margin-bottom: 2em;
  border-radius: var(--radius);
  box-shadow: 4px 4px 0px 0px var(--theme);
  transform: translateZ(0);
}

.section p {
  margin-bottom: calc(var(--spacing) * 0.7);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.5rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.section a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--light);
  transition: text-decoration 0.2s ease, background-color 0.2s ease;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.section a:hover {
  background-color: var(--selection);
  text-decoration-color: transparent;
  transition: text-decoration 0.2s ease, background-color 0.2s ease;
}

.section-title {
  position: absolute;
  top: -1em;
  right: 0.5em;
  background: var(--background);
  padding: 0.25em 0.5em;
  font-weight: 800;
  text-transform: uppercase;
}

.section-content {
  padding: var(--spacing);
  padding-top: calc(var(--spacing) * 1.2);
  font-size: 0.9em;
  line-height: 1.4em;
}

.flextoo {
  column-count: 2;
  gap: 2em;
  text-align: left;
  padding: 2rem 0;
}

.stuff {
  height: fit-content;
  display: inline-block;
  width: 100%;
  margin-bottom: calc(var(--spacing) * 2);
  padding-right: calc(var(--spacing) * 2);
}

/* .stuff a:hover {
  font-style: italic;
  text-shadow: 1.5px 1.5px 0px rgba(250, 2, 2, 0.3);
  text-decoration: transparent;
  border-bottom: 1px solid rgba(250, 2, 2, 0.3);
} */

.stuff-title {
  font-size: 1rem;
  position: relative;
  padding-bottom: 0.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.stuff-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 100%;
  border-bottom: 0.8px solid var(--subtle);
}

.flextoo p {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: -0.05em;
  margin-bottom: calc(var(--spacing) * 0.3);
  line-height: 1.525rem;
}

.stuff-link {
  text-decoration: underline;
  text-decoration-color: var(--subtle);
  text-underline-offset: 0.23rem;
  text-decoration-thickness: 0.5px;
  color: inherit;
  -webkit-text-decoration-color: var(--subtle);
}

.stuff-description {
  font-size: 0.9rem !important;
  color: var(--subtle);
  padding-bottom: calc(var(--spacing) * 0.5);
}

.stuff:first-child {
  border-right: 0.6px solid var(--subtle);
  margin-bottom: calc(var(--spacing) * 3);
}

.error {
  text-align: center;
  padding-top: 1rem;
}

.img-404 {
  max-width: 30%;
  display: block;
  margin: 0 auto;
  padding-top: 1rem;
  border: 1px solid #777;
}

.mentions {
  width: 90%;
  font-size: 0.75rem;
  color: var(--subtle);
  padding-top: 0.5rem;
  display: block;
}
@media (max-width: 960px) {
  body {
    padding: 1rem 1.5rem 1rem 1.5rem;
  }

  /* main {
    text-align: center;
  } */

  .flex {
    max-width: 56rem;
    text-align: left;
    display: inline-flex;
  }

  .flextoo {
    max-width: 56rem;
    display: inline-block;
  }

  .img-404 {
    max-width: 32%;
  }
}

@media screen and (max-width: 768px) {
  .second-half,
  .first-half {
    width: 100%;
  }
  .img-404 {
    max-width: 35%;
  }

  .default-title {
    width: 70%;
  }
  .default-content {
    width: 70%;
  }
}

@media (max-width: 600px) {
  .flex {
    display: inline-block;
  }

  .first-half {
    margin-bottom: 2rem;
  }

  .flextoo {
    column-count: 1;
  }

  .stuff:first-child {
    border-right: none;
    margin-bottom: 2rem;
  }

  .title {
    padding-top: 2rem;
  }

  .error {
    padding-top: 2rem;
  }

  .img-404 {
    max-width: 60%;
  }

  .default-title {
    width: 90%;
  }
  .default-content {
    width: 90%;
  }
}

.placeholder-image {
  max-width: 95%;
  padding-top: 1rem;
  border: 0.8px solid #777;
  filter: grayscale(100%);
}

.placeholder-image:hover {
  filter: grayscale(0%);
}
