/* yorugith.github.io - Global Stylesheet */

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scrollbar-color: #cc0000 #000000;
}

/* ===== Scrollbar (Webkit) ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #cc0000;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff0000;
}

body {
    background-color: #000000;
    color: #cc0000;
    font-family: 'Courier New', Consolas, 'Lucida Console', monospace;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== Color ===== */
.green-text {
    color: #00cc00;
}

.red-text {
    color: #cc0000;
}

/* ===== Links ===== */
a {
    color: #cc0000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: #cc0000;
}

/* External links get green highlight */
a.external,
a[href^="http"],
a[href^="mailto"] {
    color: #00cc00;
}

a.external:visited,
a[href^="http"]:visited,
a[href^="mailto"]:visited {
    color: #00cc00;
}

/* ===== Lists ===== */
ul {
    color: #00cc00;
    padding-left: 2rem;
}

ul li::marker {
  color: #cc0000;
}

/* ===== Header / Navigation ===== */
header {
    border-bottom: 1px solid #cc0000;
    padding: 1rem 2rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav .site-name {
    color: #cc0000;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
}

nav a {
    color: #cc0000;
    font-size: 0.95rem;
}

nav a:hover {
    color: #00cc00;
    text-decoration: none;
}

nav a.active {
    color: #00cc00;
    text-decoration: none;
}

/* ===== Main Content ===== */
main {
    flex: 1;
    padding: 2rem;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* ===== Footer ===== */
footer {
    /* border-top: 1px solid #cc0000; */
    padding: 1rem 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #cc0000;
}

/* ===== About ===== */
.avatar {
    width: 120px;
    height: 120px;
    /* border: 2px solid #cc0000; */
}

/* ===== Container ===== */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.container h1 {
    font-size: 1.8rem;
}

.container .article-text {
    max-width: 600px;
    text-align: left;
}

/* ===== Page Headings ===== */
h1, h2, h3 {
    color: #cc0000;
    margin-bottom: 0.5rem;
}

h1 { font-size: 1.6rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }


/* ===== Responsive - Mobile ===== */
@media (max-width: 600px) {
    header {
        padding: 0.75rem 1rem;
    }

    nav {
        gap: 0.75rem;
        justify-content: center;
    }

    nav .site-name {
        width: 100%;
        text-align: center;
        margin-right: 0;
    }

    main {
        padding: 1.5rem 1rem;
    }

    .about .avatar {
        width: 100px;
        height: 100px;
    }

    .about h1 {
        font-size: 1.4rem;
    }

    footer {
        padding: 0.75rem 1rem;
    }
}
