/* Import Retro Arcade Font */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* Global Styles */
body {
    font-family: 'Arial', sans-serif; /* Clean readable body font */
    background-color: #0f0f0f;
    color: #fff;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #ffcc00;
    transition: color 0.3s;
}

a:hover {
    color: #00ffff;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: #1a1a1a;
    box-shadow: 0 4px 8px rgba(0,0,0,0.7);
}

header img {
    height: 60px;
}

nav a {
    margin-left: 1.5rem;
    font-size: 0.9rem;
    font-weight: bold;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #00ffff;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #ff0080, #00ffff);
    color: #fff;
    text-shadow: 2px 2px #000;
}

.hero h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 3rem;
    background: linear-gradient(90deg, #ff00ff, #00ffff, #ffff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 8px #ff00ff, 0 0 12px #00ffff;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Blog/Post/Article & About Section */
.blog-post, .about {
    max-width: 900px;          /* Limits the width for readability */
    margin: 2rem auto;         /* Centers it horizontally with spacing on top/bottom */
    padding: 2rem 2.5rem;      /* Adds space inside the box, left/right */
    background-color: #1a1a1a;
    border-left: 5px solid #ff0080;
    border-radius: 8px;
    box-sizing: border-box;    /* Ensures padding doesn't break width */
}

.blog-post h2, .about h2 {
    font-family: 'Press Start 2P', cursive;
    color: #ffcc00;       /* Orange/yellow retro color */
    text-align: center;
    text-shadow: 1px 1px #000;
    margin-bottom: 2rem;
}

.blog-post p, .about p {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-post blockquote, .about blockquote {
    border-left: 3px solid #00ffff;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #00ffff;
    font-style: italic;
}

/* Optional Neon Title for Blogs (centered) */
.centered-title {
    font-family: 'Press Start 2P', cursive;
    color: #ffcc00;
    text-align: center;
    text-shadow: 1px 1px #000;
    margin-bottom: 2rem;
}

/* Comments Section */
.comments p {
    font-weight: bold;
    margin-top: 2rem;
    color: #ffcc00;
}

/* Buttons / Share Links */
.button, .share-buttons button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    margin-right: 0.5rem;
    margin-top: 1rem;
    background-color: #ff00ff;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.button:hover, .share-buttons button:hover {
    background-color: #00ffff;
    color: #000;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #111;
    font-size: 0.85rem;
    color: #777;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
    }

    nav a {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .blog-post, .about {
        padding: 1.5rem 1.5rem; /* keeps space inside on small screens */
        margin: 1rem;           /* prevents text from touching edges */
    }
}
