/* Global reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Links (style.css overwrites styles.css here) */
a {
    text-decoration: none;
    color: #000; /* From style.css */
    font-weight: bold;
    font-size: 1.1rem;
}

/* Apply background image to the entire body to cover left and right sides */
body {
    font-family: 'Arial', sans-serif;
    background-color: #966b39; /* Page background color */
    color: #000; 
    text-align: center;
    padding: 0;
    margin: 0;
    background-image: url('/margin.png'); /* Side margin image */
    background-repeat: repeat-y; /* Repeat vertically */
    background-position: left top, right top; /* Align to the left and right edges */
    background-size: 50px 100%; /* Adjust size: 50px wide for the side margin, full height */
    background-attachment: fixed; /* Keep background fixed while scrolling */
    min-height: 100vh; /* Ensure the background covers at least the full viewport height */
}

/* For content styling */
header {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    min-height: 300px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 10px;
}

header .logo {
    position: relative;
    width: 240px; /* Logo size */
    height: auto;
    margin-bottom: 20px; /* Space between logo and title */
}

header .logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/sky2.jpg'); /* Second image behind the logo */
    background-size: cover; /* Cover entire header */
    z-index: -1;
}

/* Main content */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

/* Bio section (style.css overwrites styles.css here) */
.bio {
    max-width: 800px;
    background-color: #5f3017; /* From style.css */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.bio h2 {
    font-size: 1.8rem;
    color: #000; /* From style.css */
}

.bio p {
    font-size: 1.1rem;
    color: #000; /* From style.css */
    line-height: 1.6;
    
}

/* Pixel Art Section */
.image-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.pixel-art {
    width: 120px; /* Size of your pixel art */
    height: 120px;
}

.post p {
 overflow-wrap: break-word;
    margin-right: 200px;
    margin-left: 200px; 
}

/* Footer (style.css overwrites styles.css here) */
footer {
    margin-top: 40px;
}

footer a {
    text-decoration: none;
    color: #000; /* From style.css */
    font-weight: bold;
    font-size: 1.1rem;
}

footer a:hover {
    text-decoration: underline;
}
