@import url('./palette.css');

@font-face {
  font-family: 'Bangers';
  src: url('./assets/bangers.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Permanent Marker';
  src: url('./assets/marker.woff2') format('woff2');
  font-display: swap;
}

*, ::before, ::after {
  box-sizing: border-box;
  border: 0 solid var(--ink);
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-family: 'Permanent Marker', cursive;
}
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
button {
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  padding: 0;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.reference-back { display: inline-block; }

.absolute {
    position: absolute
}

.relative {
    position: relative
}

.-right-4 {
    right: -1rem
}

.-top-4 {
    top: -1rem
}

.bottom-0 {
    bottom: 0
}

.left-8 {
    left: 2rem
}

.top-0 {
    top: 0
}

.z-10 {
    z-index: 10
}

.mx-auto {
    margin-left: auto;
    margin-right: auto
}

.my-6 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem
}

.mb-12 {
    margin-bottom: 3rem
}

.mb-16 {
    margin-bottom: 4rem
}

.mb-2 {
    margin-bottom: .5rem
}

.mb-3 {
    margin-bottom: .75rem
}

.mb-4 {
    margin-bottom: 1rem
}

.mb-8 {
    margin-bottom: 2rem
}

.mt-4 {
    margin-top: 1rem
}

.block {
    display: block
}

.flex {
    display: flex
}

.grid {
    display: grid
}

.h-12 {
    height: 3rem
}

.h-20 {
    height: 5rem
}

.h-32 {
    height: 8rem
}

.h-4 {
    height: 1rem
}

.h-80 {
    height: 20rem
}

.h-full {
    height: 100%
}

.min-h-screen {
    min-height: 100vh
}

.w-1 {
    width: .25rem
}

.w-12 {
    width: 3rem
}

.w-20 {
    width: 5rem
}

.w-32 {
    width: 8rem
}

.w-4 {
    width: 1rem
}

.w-80 {
    width: 20rem
}

.w-full {
    width: 100%
}

.max-w-4xl {
    max-width: 56rem
}

.max-w-5xl {
    max-width: 64rem
}

.max-w-6xl {
    max-width: 72rem
}

.max-w-7xl {
    max-width: 80rem
}

.max-w-xl {
    max-width: 36rem
}

.flex-1 {
    flex: 1 1 0%
}

.flex-shrink-0 {
    flex-shrink: 0
}

.-rotate-1 { --rotation: -1deg; }
.-rotate-2 { --rotation: -2deg; }
.rotate-1 { --rotation: 1deg; }
.rotate-2 { --rotation: 2deg; }
.rotate-6 { --rotation: 6deg; }
.transform { transform: rotate(var(--rotation, 0deg)); }

.flex-col {
    flex-direction: column
}

.items-start {
    align-items: flex-start
}

.items-center {
    align-items: center
}

.justify-center {
    justify-content: center
}

.justify-between {
    justify-content: space-between
}

.gap-3 {
    gap: .75rem
}

.gap-4 {
    gap: 1rem
}

.gap-6 {
    gap: 1.5rem
}

.gap-8 {
    gap: 2rem
}

.space-y-8>:not([hidden])~:not([hidden]) {
    margin-top: 2rem
}

.overflow-hidden {
    overflow: hidden
}

.rounded-full {
    border-radius: 9999px
}

.border-4 {
    border-width: 4px
}

.border-8 {
    border-width: 8px
}

.border-y-4 {
    border-top-width: 4px;
    border-bottom-width: 4px
}

.border-b-2 {
    border-bottom-width: 2px
}

.border-b-4 {
    border-bottom-width: 4px
}

.border-l-4 {
    border-left-width: 4px
}

.border-t-4 {
    border-top-width: 4px
}

.border-black { border-color: var(--ink); }

.border-purple-400 { border-color: var(--accent); }

.bg-black { background-color: var(--ink); }

.bg-gray-100 { background-color: var(--panel); }

.bg-gray-200 { background-color: var(--page); }

.bg-gray-300 { background-color: var(--panel); }

.bg-purple-300 { background-color: var(--mint-wash); }

.bg-purple-400 { background-color: var(--panel-raised); }

.bg-purple-500 { background-color: var(--page); }

.bg-white { background-color: var(--panel-raised); }

.bg-yellow-300 { background-color: var(--mint); }

.object-cover {
    -o-object-fit: cover;
    object-fit: cover
}

.p-12 {
    padding: 3rem
}

.p-6 {
    padding: 1.5rem
}

.p-8 {
    padding: 2rem
}

.px-1 {
    padding-left: .25rem;
    padding-right: .25rem
}

.px-12 {
    padding-left: 3rem;
    padding-right: 3rem
}

.px-2 {
    padding-left: .5rem;
    padding-right: .5rem
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem
}

.py-1 {
    padding-top: .25rem;
    padding-bottom: .25rem
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem
}

.py-2 {
    padding-top: .5rem;
    padding-bottom: .5rem
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem
}

.pb-8 {
    padding-bottom: 2rem
}

.pl-4 {
    padding-left: 1rem
}

.text-center {
    text-align: center
}

.font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace
}

.font-sans {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji"
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem
}

.text-5xl {
    font-size: 3rem;
    line-height: 1
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem
}

.font-bold {
    font-weight: 700
}

.italic {
    font-style: italic
}

.leading-relaxed {
    line-height: 1.625
}

.tracking-wider {
    letter-spacing: .05em
}

.text-black { color: var(--text); }

.text-gray-700 { color: var(--muted); }

.text-purple-400 { color: var(--accent); }

.text-white { color: #fff; }

.underline {
    text-decoration-line: underline
}

.shadow-2xl { box-shadow: 0 25px 50px -12px var(--shadow); }
.transition { transition: background-color .15s, transform .15s; }
.heading-font { font-family: 'Bangers', cursive; letter-spacing: .05em; }
.hover\:scale-105:hover { transform: rotate(var(--rotation, 0deg)) scale(1.05); }
.hover\:bg-gray-100:hover { background-color: var(--mint-wash); }
.hover\:bg-gray-900:hover { background-color: var(--accent); }
.hover\:underline:hover {
    text-decoration-line: underline
}

@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
    .md\:text-7xl {
        font-size: 4.5rem;
        line-height: 1
    }
}

.bg-purple-300, .bg-yellow-300 { color: var(--ink); }
.bg-black.text-purple-400 { color: var(--mint); }
#path-to-glory .w-1.bg-black { background: var(--line); }
#path-to-glory .w-4.bg-purple-500 { background: var(--accent); }

@media (max-width: 670px) {
  header > .justify-between { flex-wrap: wrap; gap: .5rem 1rem; }
  header nav { flex-wrap: wrap; gap: .25rem 1rem; }
}
@media (max-width: 520px) {
  #hero .h-80 { width: min(20rem, 100%); height: auto; aspect-ratio: 1; }
  #hero .mt-4 > .px-12 { padding-inline: 1.25rem; }
  #hero .mt-4 { flex-wrap: wrap; justify-content: center; }
  #my-sources .-right-4 { right: -.4rem; }
  #path-to-glory .space-y-8 > .flex { gap: .75rem; }
  #path-to-glory .flex-1 { min-width: 0; padding: 1.25rem; }
  #path-to-glory .flex-1 > .flex { flex-wrap: wrap; gap: 1rem; }
  .shadow-2xl.p-12 { padding: 1.25rem; }
}

.contract-address { max-width: 100%; }
.contract-address code {
  display: block;
  margin-top: .25rem;
  color: var(--accent);
  font-size: 1rem;
  overflow-wrap: anywhere;
  user-select: all;
}
