/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: white;
    background-color: black;
}

/* Navigation */
nav {
    background-color: black;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: whitesmoke;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: red;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
/* Lazy spacing */
.hidden-text {
    display: none;
    white-space: pre-line;
}
/* code larger */

code {
    font-size: 1.3em; /* Slightly larger */
}
code2{
    font-size: 0.9em; /*slightly smaller */
}

/* Hero section */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    color: #666;
}

/* Featured posts */
.featured {
    margin: 4rem 0;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post-card {
    background: rgb(18, 18, 18);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.post-card h3 {
    margin-bottom: 1rem;
}

/* Blog posts */
.blog-post {
    background: rgb(18, 18, 18);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}
/* Blog image */
.blog-image {
    width: 100%; 
    max-width: 100%; 
    height: auto; 
    border-radius: 8px; 
}
/* spoiler similar to discord */
.spoiler {
    background-color: black; 
    color: black; 
    padding: 2px 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.5s ease;
}
/* reveals spoiler */
.spoiler.revealed {
    color: white; 
    background-color: transparent; 
}


.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Social links */
.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.social-card {
    background: black;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: black;
    margin-top: 4rem;
}

/* Utility classes */
.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: red;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}
h6{
    font-weight: normal;
    color: rgb(44, 43, 43);
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}