@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Prociono&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Scrollbar */
    --theme-scrollbar-thumb-bg: #444;
    --theme-scrollbar-track-bg: #141414;

    /* Selection */
    --theme-selection-1-bg: #28353b;
    --theme-selection-2-text: #fff;

    --theme-buttons-1: #181818;
    --theme-buttons-2-text: #eeeeee;
    --theme-buttons-3-border: #384042;

    --theme-buttons-highlight-1: #ffffff;
    --theme-buttons-highlight-2-text: #000000;
    --theme-buttons-highlight-3-border: #eeeeee;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    border-radius: 0px;
}

::-webkit-scrollbar-track {
    background: var(--theme-scrollbar-track-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--theme-scrollbar-thumb-bg);
    border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--theme-border-3-default);
}

/* Selection */
::selection {
    background: var(--theme-selection-1-bg);
    color: var(--theme-selection-2-text);
}

body {
    font-family: 'Inter', 'Geist Mono', monospace;
    background: #000;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    padding: 8rem 0rem 2rem;
}

h1 {
    font-size: 28px;
    margin-bottom: 1rem;
    font-weight: 550;
    letter-spacing: -0.45px;
}

h2 {
    font-size: 21.5px;
    margin: 3rem 0 1rem;
    font-family: 'Geist Mono', monospace;
    color: #888;
}

p {
    font-family: 'Geist Mono', monospace;
}

main a {
    color: #b2aaff;
    line-height: 1.4;
    text-decoration: none;
    border-bottom: solid 1px #b2aaff;
}

/* Navbar */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    z-index: 1000;

    height: 50px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: -0.25px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Content */

.cta {
    display: inline-block;
    padding: 1rem 0.8rem;
    font-size: 12.5px;
    font-weight: 550;

    background: var(--theme-buttons-1);
    color: var(--theme-buttons-2-text);
    text-decoration: none;
    margin: 1rem 1rem 1rem 0;
    line-height: 0;
    border: 1.5px solid var(--theme-buttons-3-border);
    font-family: 'Geist Mono', monospace;
    transition: all 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta:hover {
    background-color: transparent;
}

.highlight {
    border: 1.5px solid var(--theme-buttons-highlight-3-border);
    background-color: var(--theme-buttons-highlight-1);
    color: var(--theme-buttons-highlight-2-text);
}

.highlight:hover {
    background: #000;
    color: #fff;
}

.application-icons-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.application-icons-header img {
    outline: solid 2.5px #424c52;
    width: 90px;
    height: auto;
    border-radius: 24px;
}

header h1 {
    text-align: center;
    font-size: 28px;
}

.tagline {
    margin-bottom: 0.8rem;
    color: #aaa;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 500;
}

.heading-buttons {
    text-align: center;
}

/* Section another header */
.another-header {
    margin: 3rem 0;
}

.application-section-image {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 15px;
}

.application-section-image img {
    width: 100%;
    max-width: 360px;
    height: auto;
}

#image-svg-another-heading {
    width: 100%;
    max-width: 495px;
    height: auto;
}

/* Main section */

main {
    max-width: 750px;
    margin: 0 auto;
    padding-top: 2.5rem;
}

main>h1:first-child {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

main>h2 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.25px;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    color: #fff;

    font-family: 'Inter', sans-serif;
}

main>p {
    margin-bottom: 0.8rem;
    color: #b3b3b3;
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 400;
}

main pre {
    background: #121212;
    border: 1px solid #282828;
    padding: 0.8rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

main pre code {
    font-family: 'Geist Mono', monospace;
    font-size: 0.9rem;
    color: #9ac3d6;
}

.code-block {
    position: relative;
    margin: 1.5rem 0;
}

.copy-button {
    position: absolute;
    top: 0.75rem;
    right: 0.4rem;
    background: transparent;
    border: 1px solid transparent;
    color: #aaa;
    padding: 0.8rem 0.8rem;
    font-size: 0.85rem;
    font-family: 'Geist Mono', monospace;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 0;
}

.copy-button:hover {
    background: #222;
    color: #fff;
    border-color: #555;
}

.copy-button:active {
    transform: scale(0.95);
}

main>footer {
    margin-top: 4rem;
    color: #b2b2b2;
    font-size: 0.875rem;
    border-top: 1px solid #1a1a1a;
    padding-top: 2rem;
}

main>footer a {
    color: #fff;
    text-decoration: none;
    border-bottom: none;
}

main>footer a:hover {
    color: #b2aaff;
}

html {
    scroll-behavior: smooth;
}

/* Fix for Locomotive Scroll with fixed navbar */
html.has-scroll-smooth {
    overflow: hidden;
}

html.has-scroll-dragging {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.has-scroll-smooth body {
    overflow: hidden;
}

.has-scroll-smooth [data-scroll-container] {
    min-height: 100vh;
}

[data-scroll-direction="horizontal"] [data-scroll-container] {
    height: 100vh;
    display: inline-block;
    white-space: nowrap;
}

[data-scroll-direction="horizontal"] [data-scroll-section] {
    display: inline-block;
    vertical-align: top;
    white-space: nowrap;
    height: 100%;
}

.c-scrollbar {
    position: absolute;
    right: 0;
    top: 0;
    width: 11px;
    height: 100%;
    transform-origin: center right;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0;
}

.c-scrollbar:hover {
    transform: scaleX(1.45);
}

.c-scrollbar:hover,
.has-scroll-scrolling .c-scrollbar,
.has-scroll-dragging .c-scrollbar {
    opacity: 1;
}

.c-scrollbar_thumb {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #444;
    opacity: 0.5;
    width: 4px;
    border-radius: 10px;
    margin: 2px;
    cursor: -webkit-grab;
    cursor: grab;
}

.has-scroll-dragging .c-scrollbar_thumb {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

@media (max-width: 1000px) {
    .container {
        padding: 8rem 1.5rem 2rem;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 18px;
        margin: 2rem 0 0.8rem;
    }

    main>h1:first-child {
        font-size: 2rem;
    }

    main>h2 {
        font-size: 1.25rem;
        margin-top: 3rem;
    }

    main>p {
        font-size: 0.85rem;
    }

    .nav-container {
        gap: 1rem;
        padding: 0 1rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .application-icons-header img {
        width: 70px;
        border-radius: 20px;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .cta {
        padding: 0.9rem 0.7rem;
        font-size: 11.5px;
        margin: 0.8rem 0.8rem 0.8rem 0;
    }

    #image-svg-another-heading {
        max-width: 00%;
    }

    main pre {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    main pre code {
        font-size: 0.8rem;
    }

    .copy-button {
        padding: 0.6rem 0.6rem;
        font-size: 0.75rem;
        top: 0.5rem;
        right: 0.3rem;
    }

    .application-section-image {
        gap: 0px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 7rem 1rem 1.5rem;
    }

    .navbar {
        display: none;
    }

    h1 {
        font-size: 22px;
    }

    .tagline {
        font-size: 3vw;
    }

    main>h1:first-child {
        font-size: 1.75rem;
    }
}