@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Geist+Mono:wght@100..900&display=swap");
@font-face {
  font-family: "William Text Pro";
  src: url("/assets/css/WilliamTextPro-Italic.woff2") format("woff2"), url("/assets/css/WilliamTextPro-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "William Text Pro";
  src: url("/assets/css/WilliamTextPro-Regular.woff2") format("woff2"), url("/assets/css/WilliamTextPro-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #fff;
  --gray: #E8E6EB;
  --text: #48453F;
  --p-1:#3d66df;
  --p-2:#A7C4C7;
  --p-3:#D1ED49;
  --p-4:#EBAFE2;
  --p-5:#F36600;
  --p-6:#F685B0;
  --p-7:#FCACE1;
  --p-8:#FDC4D3;
  --main: var(--p-1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "William Text Pro", serif;
  font-size: 0.85rem;
  letter-spacing: 0.15px;
  line-height: 150%;
  color: var(--main);
}

* {
  scrollbar-color: var(--main) #fff;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 8px;
  background: #fff;
}

*::-webkit-scrollbar-thumb {
  background: var(--main);
  border-radius: 8px;
}

#container {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
#container #intro {
  width: 100%;
  text-align: center;
  padding: 2rem 0;
}
#container #intro h1 {
  margin: 0;
}
#container #intro pre {
  margin: 0 auto;
}
#container #page {
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  height: auto;
}
#container #page .content-half {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}
#container #page #sidebar {
  position: sticky;
  top: 20vh;
  left: 0;
  width: max(240px, 20vw);
  height: 100%;
}
#container #page #sidebar pre {
  overflow: hidden;
  margin-left: -50px;
  font-size: 0.8rem;
  font-family: "Geist Mono", serif;
  line-height: 100%;
}
#container #page #sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#container #page #sidebar a {
  text-decoration: none;
  font-size: 0.8rem;
}
#container #page #sidebar [big] {
  background: var(--main);
  color: #fff;
  text-decoration: none;
}
#container #page #sidebar a::before {
  content: "  ";
}
#container #page #sidebar [current]::before {
  content: "● ";
}
#container #page #content {
  height: auto;
  flex-grow: 1;
  width: calc(100% - max(240px, 20vw));
  padding-bottom: min(10vh, 100px);
}
#container #page #content p:first-of-type {
  margin-top: 0;
}

.chapters {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  background: linear-gradient(to bottom, #fff, transparent);
  z-index: 5;
}
.chapters a {
  text-decoration: none;
  font-size: 1.5rem;
  pointer-events: auto;
}
.chapters a:hover {
  color: #fff;
}

[c="1"] {
  background: var(--p-1);
}

[c="2"] {
  background: var(--p-2);
}

[c="3"] {
  background: var(--p-3);
}

[c="4"] {
  background: var(--p-4);
}

[c="5"] {
  background: var(--p-5);
}

[c="6"] {
  background: var(--p-6);
}

[c="7"] {
  background: var(--p-7);
}

[c="8"] {
  background: var(--p-8);
}

[c=soon] {
  background: gray;
  opacity: 0.5;
  cursor: wait;
}

h1 {
  font-weight: normal;
  text-align: center;
  font-size: 6rem;
  font-weight: normal;
  margin: 1rem auto;
}

h2 {
  text-align: center;
  font-weight: normal;
  font-size: 2.5rem;
  line-height: 120%;
}

h3 {
  text-align: center;
}

p {
  max-width: 80%;
  margin: 1.5rem auto;
  margin-bottom: 0.5rem;
}

blockquote {
  padding: 2rem;
  border: 1px solid var(--main);
  border-radius: 32px;
  text-align: center;
}

img {
  max-width: 100%;
  object-fit: contain;
}

.image {
  margin: 0 auto;
  display: block;
}

a {
  color: inherit;
}

mark {
  background: var(--main);
}

ol, ul {
  max-width: 600px;
  width: 80%;
  margin: 0 auto;
}
ol li, ul li {
  margin: 1rem 0;
}

hr {
  display: block;
  border: none;
  margin: min(3rem, 40px) 0;
}

textarea {
  display: inline-block;
  padding: 1rem;
  font-size: 0.7rem;
  width: 100%;
  min-height: 80px;
  overflow: hidden;
  background: var(--main);
  color: var(--main-text);
  font-family: "Geist Mono", serif;
  border-spacing: 12px;
  border-radius: 16px;
}

.boxes {
  display: flex;
  flex-wrap: wrap;
}

.box {
  position: relative;
  width: 100%;
  display: flex;
}
.box .open-in-new-tab {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  background: #fff;
  padding: 0.5rem;
  color: inherit;
  pointer-events: auto;
}
.box .example {
  border: 1px solid var(--main);
  border-radius: 32px;
  padding: 0.5rem 1rem;
  height: auto;
  width: auto;
  margin-bottom: 1rem;
  display: inline-block;
}
.box iframe {
  width: 100%;
  height: 100%;
  border: 1px solid var(--main);
  border-radius: 32px;
}

.box-2 {
  width: 50%;
  padding-bottom: 3rem;
  text-align: left;
}
.box-2 h2, .box-2 h3 {
  text-align: left;
}
.box-2 p {
  margin: 0;
}
.box-2 > textarea {
  margin-top: 3rem;
  width: 70%;
}
.box-2 > textarea.full {
  margin-top: 0rem;
  width: 80%;
}

.box-3 {
  width: 33%;
}

@media only screen and (max-width: 768px) {
  .chapters {
    padding: 0.5rem;
  }
  .chapters a {
    font-size: 1rem;
  }
  #container #page {
    flex-direction: column;
  }
  #container #page .content-half {
    width: 100%;
    padding: 0.5rem;
  }
  #container #page #content {
    width: 100%;
  }
  #container #page #sidebar {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    flex-wrap: wrap;
  }
  #container #page #sidebar nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap !important;
  }
  #container #page #sidebar nav a {
    width: auto;
    display: inline !important;
  }
  .boxes {
    flex-wrap: wrap;
  }
  .boxes .box-3 {
    width: 100%;
    text-align: center;
  }
  .hide-mobile {
    display: none;
  }
}

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