
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #131313;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 15px;
    display: flex;
    justify-content: flex-end;
    z-index: 3;
    height: 60px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.336) 0%, rgba(0,0,0,0) 100%);
}

@media (min-width: 768px) {
    .header {
        padding: 0 40px;
        height: 100px;
    }
}


.nav-menu {
    display: flex;
    gap: 15px;
    opacity: 0.8;
    align-items: center;
    padding: 15px 0;
}

@media (min-width: 768px) {
    .nav-menu {
        gap: 40px;
        padding: 40px 0;
    }
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8125rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-weight: 400;
}



@media (min-width: 768px) {
    .nav-menu a {
        font-size: 1rem;
    }
}

.nav-menu a:hover {
    opacity: 0.6;
    transform: translateY(-2px);
}


.article-container {
    max-width: 800px;
    margin: 100px auto 60px;
    padding: 0 15px;
    animation: fadeIn 0.8s ease-out;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .article-container {
        margin: 180px auto 120px;
        padding: 0 40px;
    }
}


.article-meta {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-website {
    font-family: cutive-mono, monospace;
    color: #bb0000;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .blog-website {
        font-size: 0.6rem;
    }
}

.article-meta p {
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .article-meta p {
        font-size:0.8rem;
    }
}

.article-title {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: Funnel Display, serif;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .article-title {
        font-size: clamp(2rem, 5vw, 3rem);
        margin-bottom: 15px;
    }
}

.article-info {
    display: flex;
    font-family: cutive-mono, monospace;
    gap: 8px;
    color: #a3a3a3;
    font-size: 0.65rem;
}

@media (min-width: 768px) {
    .article-info {
        font-size: 0.8rem;
        gap: 10px;
    }
}

.article-content {
    font-size: 0.9375rem;
    line-height: 1.8;
    word-spacing: 0.02rem;
    letter-spacing: 0.005rem;
}

@media (min-width: 768px) {
    .article-content {
        font-size: 1.2rem;
        line-height: 1.8;
    }
}

.article-content p {
    margin: 1.25rem 0;
    color: rgba(231, 231, 231, 0.9);
}

.article-content blockquote {
    font-family: "Poltawski Nowy", serif;
    font-style: italic;
    margin: 1.25rem 0;
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 12px;
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0);
}

@media (min-width: 768px) {
    .article-content p {
        margin: 1rem 0;
    }
}
.article-content h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 2.5rem 0 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .article-content h2 {
        font-size: clamp(1.5rem, 3vw, 1.75rem);
        margin: 3rem 0 1.5rem;
    }
}

.article-content h3 {
    font-size: 1.0625rem;
    font-weight: 500;
    color: rgb(241, 241, 241);
    margin: 2rem 0 1rem;
}

@media (min-width: 768px) {
    .article-content h3 {
        font-size: clamp(1.25rem, 2.5vw, 1.5rem);
        margin: 2.5rem 0 1.25rem;
    }
}

/* Lists */
.article-content ul,
.article-content ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

@media (min-width: 768px) {
    .article-content ul,
    .article-content ol {
        margin: 1.5rem 0;
        padding-left: 2rem;
    }
}

.article-content li {
    margin: 0.6rem 0;
    padding-left: 0.5rem;
    color: rgba(231, 231, 231, 0.9);
}

@media (min-width: 768px) {
    .article-content li {
        margin: 0.75rem 0;
    }
}


.article-content pre {
    margin: 1.25rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .article-content pre {
        margin: 1.5rem 0;
        padding: 1.5rem;
    }
}

.article-content code {
    font-family: 'Cutive Mono', monospace;
    font-size: 0.85em;
}

@media (min-width: 768px) {
    .article-content code {
        font-size: 0.9em;
    }
}


.article-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .article-content table {
        margin: 2rem 0;
        display: table;
    }
}

.article-content a {
    color: #9a84ff;
    text-decoration: none;
}

.article-content th,
.article-content td {
    padding: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    min-width: 120px;
}

@media (min-width: 768px) {
    .article-content th,
    .article-content td {
        padding: 0.75rem;
    }
}


.article-footer {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .article-footer {
        margin-top: 40px;
        padding-top: 40px;
    }
}

.back-home-link {
    font-family: Mulish, serif;
    color: #a3a3a3;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .back-home-link {
        font-size: 1rem;
    }
}

.back-home-link::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    position: relative;
    top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='12' x2='5' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 5 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");    background-repeat: no-repeat;
    background-size: 15px;
    transition: all 0.3s ease;
}

.back-home-link:hover {
    opacity: 0.8;
    transform: translateX(-4px);
}

.back-home-link:hover::after {
    transform: translateX(-4px);
}



