/*
 * All global styles should go in this file. It is not processed by tailwind
 *
 * These either don't exist in tailwind, or were modified manually from the
 * tailwind output at some point
 */

.prose code {
  font-family: monospace;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
}

/*
 * Element defaults for text colour live in `@layer base` so that Tailwind's
 * `text-*` utilities (later `utilities` layer) can override them — e.g. the
 * light paragraph/link colours on the dark panels. Everything outside this
 * block stays unlayered on purpose and therefore beats utilities.
 */
@layer base {
  a {
    cursor: pointer;
    color: #6d28d9; /* purple-700 */
  }

  a:hover {
    color: #4c1d95; /* purple-900 */
    text-decoration: underline;
  }

  p {
    color: #52525b; /* gray-600 */
  }
}

.arrow-link {
  border-color: #6d28d9;
}

.arrow-link:hover {
  border-color: #4c1d95;
}

.arrow-link {
  border-bottom-width: 3px;
  line-height: 2.25rem;
  padding-bottom: 0.25rem;
}

.arrow-link:hover {
  text-decoration: none;
}

.arrow-link {
  font-family: Fira Code;
}

.arrow-link.light {
  --tw-border-opacity: 1;
  border-color: rgba(255, 255, 255, var(--tw-border-opacity));
}

.arrow-link.light:hover {
  --tw-border-opacity: 1;
  border-color: rgba(161, 161, 170, var(--tw-border-opacity));
}

.arrow-link.light {
  --tw-text-opacity: 1;
  color: rgba(255, 255, 255, var(--tw-text-opacity));
}

.arrow-link.light:hover {
  --tw-text-opacity: 1;
  color: rgba(161, 161, 170, var(--tw-text-opacity));
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Playfair Display, serif;
  font-weight: 400;
}

.prose {
  color: #3f3f46;
  max-width: 65ch;
}

.prose [class~="lead"] {
  color: #52525b;
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.prose a {
  color: #7e22ce;
  text-decoration: none;
  font-weight: regular;
}

.prose strong {
  color: #18181b;
  font-weight: 600;
}

.prose ol > li:before {
  content: counter(list-item, var(--list-counter-style, decimal)) ".";
  color: #71717a;
  left: 0;
}

.prose ul > li:before {
  background-color: #7e22ce;
}

.prose hr {
  border-color: #e4e4e7;
}

.prose blockquote {
  color: #18181b;
  border-left-color: #e4e4e7;
}

.prose h1 {
  color: #18181b;
}

.prose h2 {
  color: #18181b;
  font-weight: 400;
}

.prose h3,
.prose h4 {
  color: #18181b;
}

.prose figure figcaption {
  color: #71717a;
}

.prose a code {
  color: #18181b;
}

.prose pre {
  color: #e4e4e7;
  background-color: #27272a;
}

.prose pre code:after,
.prose pre code:before {
  content: none;
}

.prose thead {
  color: #18181b;
  border-bottom-color: #d4d4d8;
}

.prose p {
  color: #3f3f46;
}

.prose ol,
.prose ul {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose li {
  color: #3f3f46;
}

* {
  --tw-ring-inset: var(--tw-empty);
}
.youtube-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}
