:root {
    --theme-color: #89cff0;
    --alt-theme-color: #b77ded;
}

html, body {
    overflow-x: hidden;
}

html {
    cursor: url('/cursor.png'), auto;
}

a, img, button {
    cursor: url('/pointer.png'), pointer;
}

body {
    font-family: "Shantell Sans", sans-serif;
    background-color: black;
    color: white;
    text-align: center;
    line-height: 1.5;
    animation: fadein 0.6s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
    }
}

main {
    margin: 25px auto;
    padding: 0 1rem;
    max-width: 1000px;
}

@media (max-width: 768px) {
    main {
        padding: 0 0.75rem;
    }
}

h1, h2, h3, h4, h5, h6 {
    padding: 10px 0;
    font-weight: 800;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: anywhere;
}

h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
}

h3 {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
}

a {
    color: var(--theme-color);
    text-decoration: none;
}

a:hover {
    color: var(--alt-theme-color);
    text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--alt-theme-color);
    outline-offset: 2px;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    display: inline-block;
    margin: 0 0.5rem;
}

footer {
    position: relative;
    padding: 20px;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--theme-color);
    border-radius: 20px;
}

@font-face {
    font-display: swap;
    font-family: "Shantell Sans";
    font-weight: 400;
    src: url("/fonts/shantell-sans-v9-latin-regular.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "Shantell Sans";
    font-weight: 800;
    src: url("/fonts/shantell-sans-v9-latin-800.woff2") format("woff2");
}

.about {
    padding: 10px 1rem 60px;
}

.video-container {
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
    padding-bottom: 25px;
    display: flex;
    justify-content: center;
}

.video-container lite-youtube {
    width: 100%;
    max-width: 800px;
}

@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
        padding: 0 0.5rem 20px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.text {
    font-size: clamp(1rem, 4vw, 1.5rem);
    line-height: 1.6;
}

.text.hidden {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

.text.visible {
    opacity: 1;
    visibility: visible;
    animation: fadein 0.3s ease-out forwards;
}

.text p,
.text h1 {
    opacity: 0;
    animation: fadein 0.3s forwards ease-out;
    padding: 1rem;
}

.text a {
    text-decoration: underline;
    color: inherit;
}

.text a:hover {
    text-decoration: none;
}

::selection {
    background: #fff;
    color: #000;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glow {
    filter: url(#backlight);
}

/* Firefox fallback */
@-moz-document url-prefix() {
    .glow {
        filter: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .glow {
        filter: none;
    }
}