/*styling based on bisha.neocities.org */


@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@400;700&display=swap');

/* GLOBAL */
body {
    background-color: black;
    color: white;
    font-family: "Spectral", Georgia, serif;
    line-height: 1.6;
    margin: 0;
    padding: 1em;
    text-align: justify; /* center text */
}

/* HEADINGS */
h1 { 
    color: purple; 
    text-decoration: underline; 
}
h2 { 
    color: green;
}
h3 { 
    color: orange; 
}

/* PARAGRAPHS */
p {
    max-width: 800px;
    margin: 0.7em auto 0.4em auto; /* center paragraph block */
}








/* Unvisited link */
a:link {
  color: #A8E6CF; /* pastel mint */
}

/* Visited link */
a:visited {
  color: #D6B3FF; /* pastel lavender */
}

/* Active (when clicked) */
a:active {
  color: #FFD6A5; /* pastel peach */
}
   






/* ========= LAYOUT ========= */
.row {
    display: flex;
    flex-wrap: wrap;   
    gap: 10px;
    margin-top: 10px;
    justify-content: center; /* center columns */
}

.sidemenu {
    flex: 1 1 200px;
    max-width: 250px;
    padding: 5px;
    text-align: center;
}

.column {
    flex: 3 1 500px;
    max-width: 800px;
    padding: 10px;
    margin: auto; /* center column */
}

/* Remove old float behavior */
.sidemenu, .column {
    float: none !important;
    position: static !important;
}

/* ========= NAVBAR ========= */
.navbar {
    display: flex;
    justify-content: center; /* center navbar items */
    align-items: center;
    gap: 30px;
    background-color: #111;
    padding: 0.8rem;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}

.navbar a:hover { color: #FFD700; }

/* ===========================================
   MOBILE FIX
=========================================== */
@media (max-width: 768px) {

    body {
        padding: 0.5em;
    }

    h1 { font-size: 34px !important; }
    h2 { font-size: 26px !important; }
    h3 { font-size: 22px !important; }

    .row {
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    .sidemenu,
    .column {
        max-width: 100%;
        padding: 5px;
        margin: 0 auto;
    }

    p {
        max-width: 100%;
        margin: 0.5em auto;
    }
}

/* Even tighter on very small screens */
@media (max-width: 480px) {

    body {
        padding: 0.3em;
    }

    h1 { font-size: 28px !important; }
    h2 { font-size: 22px !important; }
    h3 { font-size: 20px !important; }

    .sidemenu,
    .column {
        padding: 3px;
    }
}