/* ==============================================================
   Early 2000s‑style CSS – Blup’s “Shitfucking Eater” site
   ============================================================== */

/* ------------------------------------------------------------------
   Global reset + base styles
------------------------------------------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    background: #d8e6ff;          /* soft blue background – like Windows XP */
    color: #222;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: #0066cc;
}
a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------
   Navigation bar
------------------------------------------------------------------- */
.top-nav {
    background: linear-gradient(to bottom, #4c8cff 0%, #1d3eb7 100%);
    padding: 5px 10px;
    border-bottom: 2px solid #000;
}
.top-nav .btn {
    display: inline-block;
    margin-right: 12px;
    padding: 6px 14px;
    background: linear-gradient(to bottom, #e0e8ff 0%, #b7c5f1 100%);
    border: 2px outset #fff;          /* bevel effect */
    color: #000;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
}
.top-nav .btn:hover {
    background: linear-gradient(to bottom, #b7c5f1 0%, #e0e8ff 100%);
}

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------- */
header {
    background: #ffe680;            /* light yellow */
    padding: 20px;
    text-align: center;
    border-bottom: 3px double #000;
}
header h1 {
    margin: 0;
    font-size: 2.4rem;
    color: #d20000;
    text-shadow: 2px 2px 0 #fff;
}
header p {
    margin-top: 8px;
    font-style: italic;
}

/* ------------------------------------------------------------------
   Profile picture
------------------------------------------------------------------- */
#profile img {
    border: 5px solid #f90;        /* orange frame */
    box-shadow: 4px 4px 10px rgba(0,0,0,.3);
    display: block;
    margin: 15px auto;
}

/* ------------------------------------------------------------------
   Main content
------------------------------------------------------------------- */
#content {
    padding: 20px 40px;
    background: #fff;
    box-shadow: inset 0 0 10px rgba(0,0,0,.1);
    border-left: 4px groove #c3c3c3;
    border-right: 4px groove #c3c3c3;
}
#content h1,
#content h2 {
    color: #004080;
    margin-top: 1.8rem;
    text-shadow: 1px 1px 0 #fff;
}
#content h1 { font-size: 1.9rem; }
#content h2 { font-size: 1.5rem; }

article, section {
    margin-bottom: 1.6rem;
}

p {
    max-width: 600px;
}

/* ------------------------------------------------------------------
   Links section
------------------------------------------------------------------- */
#links {
    background: #f0e68c;           /* khaki */
    padding: 15px 25px;
    border-top: 2px solid #000;
}
#links h2 {
    margin-top: 0.8rem;
    color: #aa3300;
}
#links ul {
    list-style-type: square;
    margin-left: 20px;
}
#links li a {
    font-weight: bold;
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */
footer {
    background: #4c8cff;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-top: 2px solid #000;
}
footer p { margin: 0; }

/* ------------------------------------------------------------------
   Misc – drop‑shadows for images & text
------------------------------------------------------------------- */
img, h1, h2, p {
    filter: drop-shadow(3px 3px 3px rgba(0,0,0,.25));
}

/* ------------------------------------------------------------------
   Responsive tweak (optional but nice)
------------------------------------------------------------------- */
@media (max-width: 600px) {
    #content { padding: 10px; }
    header h1 { font-size: 1.6rem; }
}

/* --------------------------------------------------------------
   1️⃣  Make injected text wrap inside its container
-------------------------------------------------------------- */
#content * {
    /* Break long words or URLs that would otherwise overflow */
    word-wrap: break-word;          /* old‑school name, still works everywhere */
    overflow-wrap: break-word;      /* modern standard – same effect */

    /* Optional visual tweak: give everything a tiny drop‑shadow so it looks
       like those chunky “burn‑in” fonts from the early 2000s. */
    filter: drop-shadow(2px 2px 3px rgba(0,0,0,.15));
}

/* --------------------------------------------------------------
   2️⃣  Keep paragraphs readable on wide screens
-------------------------------------------------------------- */
#content p {
    max-width: 700px;               /* stop the text from stretching too far */
    margin-left: auto;
    margin-right: auto;
}
