@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/jetbrains-mono/JetBrainsMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/jetbrains-mono/JetBrainsMono-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: block;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: transparent;
    border-radius: 0;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 0;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color, #FF0055);
    transition: all 0.3s ease;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--main-color, #FF0055);
    border-radius: 0;
}

html {
    scrollbar-width: auto;
    scrollbar-color: var(--main-color, #FF0055) transparent;
    overscroll-behavior-x: contain;
}

html, body, .content-container, .column {
    overflow-y: overlay !important;
}

@supports not (overflow: overlay) {
    html, body, .content-container, .column {
        overflow-y: auto !important;
    }
}

body {
    color: #eee;
    background-color: #1A1A1A;
    font-family: 'JetBrains Mono', monospace;
    font-weight: normal;
    font-size: 18px;
    overscroll-behavior-x: contain;
}

h1 {
    font-family: 'din', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-color, #eee);
}

h2 {
    font-family: 'din', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--text-color, #eee);
}

h3 {
    font-family: 'din', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 2rem;
}


span, div, li, a, button, input, textarea, select, label {
    font-family: 'JetBrains Mono', monospace;
}

p {
    font-family: 'din', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-color, #eee);
}

a {
    color: var(--main-color);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

.card {
    animation: fadeIn 0.5s ease-out forwards;
}

.column:nth-child(1) .card { animation-delay: 0.1s; }
.column:nth-child(2) .card { animation-delay: 0.2s; }
.column:nth-child(3) .card { animation-delay: 0.3s; }
.column:nth-child(4) .card { animation-delay: 0.4s; }
.column:nth-child(5) .card { animation-delay: 0.5s; }

.visible {
    display: block;
}

.hidden {
    display: none;
}

canvas {
    display: block;
}

@media (max-width: 768px) {
    body {
        font-size: 14.4px;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    p {
        font-size: 1.04rem;
    }
}

.nav-indicators {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    border-radius: 2px;
}

.nav-dot {
    width: 6px;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    transition: width 0.3s ease, height 0.3s ease, border-radius 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.nav-dot::before {
    content: "";
    position: absolute;
    top: -5px; 
    bottom: -5px;
    left: -3px;
    right: -3px;
    background-color: transparent;
    cursor: pointer;
}

.nav-dot.active {
    width: 20px;
    height: 8px;
    background-color: var(--main-color);
    border: none;
}

.nav-dot:hover {
    transform: scale(1.5);
    border-radius: 2px;
}
.nav-dot:focus-visible {
    outline: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

hr.divider {
    width: 50%;
    border: none;
    height: 1px;
    background-color: var(--main-color);
    margin: 2rem auto;
}

hr.divider.narrow {
    width: 30%;
}

hr.divider.wide {
    width: 80%;
}

@media print {
    .column {
        overflow: visible;
        height: auto;
    }
    #content-container {
        position: static;
        display: block;
        transform: none;
    }
    .card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
