/* --- About Me Page Specific Styles (about/style.css) --- */

/* === IMPORT COMMON STYLES FROM MAIN SITE (Variables & Body BG) === */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&family=Silkscreen&display=swap');

:root {
    /* Copied from your main style.css for consistency */
    --bg-main: #e6f0ff;
    --bg-container: #dbeaff;
    --bg-box: #ffffff;
    --bg-box-header: #cce0ff;
    --bg-highlight-soft: #e0ecff;
    --border-main: #a8c8e8;
    --border-accent: #5c93d0;
    --border-dotted: #90b8d8;
    --text-main: #334e68;
    --text-headings: #24588a;
    --text-links: #1a73e8;
    --text-accent: #007bff;
    --text-decoration-star: #1a73e8;
    --font-pixel-title: 'Press Start 2P', 'Silkscreen', cursive;
    --font-pixel-text: 'VT323', monospace;
    --font-ui: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    /* Using the checkerboard background from main site */
    background-color: #ffffff;
    background-image:
        linear-gradient(45deg, var(--bg-main) 25%, transparent 25%, transparent 75%, var(--bg-main) 75%, var(--bg-main)),
        linear-gradient(45deg, var(--bg-main) 25%, transparent 25%, transparent 75%, var(--bg-main) 75%, var(--bg-main));
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    animation: moveCheckerboard 3s linear infinite;

    font-family: var(--font-ui); /* Default to a clean UI font for this page */
    color: var(--text-main);
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

@keyframes moveCheckerboard {
  0% { background-position: 0 0, 15px 15px; }
  100% { background-position: 30px 30px, 45px 45px; }
}
/* === END OF COMMON STYLES === */


/* --- Johny & Jonathan XP Window Styles (Copied and ID-updated) --- */
#window-johny, #window-jonathan {
    position: fixed;
    top: 40%;
    transform: translateY(-50%);
    z-index: 5; /* Ensure they are above general page content */
    max-height: 75vh;
    /* width: 300px; /* This is set inline in HTML, can be moved here */
}
#window-johny { left: 220px; }
#window-jonathan { right: 220px; }

#window-johny .title-bar, #window-jonathan .title-bar {
    height: 28px;
    padding-top: 3px;
    padding-bottom: 3px;
    align-items: center;
}
#window-johny .title-bar-text, #window-jonathan .title-bar-text {
    line-height: normal;
    font-size: 12px;
}
#window-johny .title-bar-controls button, #window-jonathan .title-bar-controls button {
    margin-left: 3px;
}

.character-image-xp { /* Styles for the image inside the XP window */
    display: block;
    max-width: 100%;
    max-height: calc(70vh - 60px); /* (Viewport height - approx title bar/padding) */
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 1480px) { /* Hide windows on smaller screens */
    #window-johny, #window-jonathan {
        display: none;
    }
}
/* --- End of XP Window Styles --- */


/* --- Basic Styles for About Page Content --- */
.about-page-container {
    max-width: 800px; /* Max width for the content area */
    margin: 30px auto; /* Centering the content container, with space from top/bottom */
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white background */
    border: 1px solid var(--border-main);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed var(--border-accent);
}

.about-header h1 {
    font-family: var(--font-pixel-title);
    color: var(--text-headings);
    font-size: 2.2em;
    margin: 0;
}

.about-section {
    margin-bottom: 25px;
}

.about-section h2 {
    font-family: var(--font-pixel-title);
    color: var(--text-headings);
    font-size: 1.5em;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-dotted);
    padding-bottom: 5px;
}

.about-content ul {
    list-style: disc;
    padding-left: 20px;
}

.about-content li {
    margin-bottom: 8px;
}

.about-content a {
    color: var(--text-links);
    text-decoration: none;
}
.about-content a:hover {
    text-decoration: underline;
    color: var(--text-accent);
}

.about-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid var(--border-dotted);
}

.back-button-main {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--text-accent);
    color: white;
    font-family: var(--font-pixel-title);
    font-size: 0.9em;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid var(--border-accent);
    transition: background-color 0.2s ease;
}
.back-button-main:hover {
    background-color: var(--text-links);
}