@charset "utf-8";
/* CSS Document */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #FFF8E7; /* Light creamy beige, bright and welcoming */
    color: #4A2C2A; /* Warm dark brown for text, easy on eyes */
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    font-size: 1.2em;
}

h1, h2 {
    color: #D2691E; /* Warm orange from feathers, cheerful and bold */
    font-size: 2.5em;
}

p {
    font-size: 1.3em;
    color: #4A2C2A; /* Consistent text color */
}

.post { 
    border-bottom: 2px solid #FFD700; /* Golden yellow from "POMO" text, happy accent */
    padding: 20px 0; 
}

img {
    max-width: 100%; /* Ensures image never exceeds container width */
    height: auto; /* Maintains aspect ratio */
    border: 2px solid #DAA520; /* Goldenrod from color scheme */
    border-radius: 8px;
    display: block; /* Removes inline spacing issues */
    margin: 0 auto; /* Centers the image */
}

.image-container {
    width: 100%; /* Full width of parent */
    overflow: hidden; /* Handles any overflow from cropping */
}

/* Media queries for different screen sizes */
@media (max-width: 768px) { /* Tablets and smaller */
    img {
        max-height: 300px; /* Caps height on smaller screens */
        object-fit: cover; /* Crops if needed, preserves key content */
    }
}

@media (max-width: 480px) { /* Phones */
    img {
        max-height: 200px; /* Further reduces on small phones */
        margin-bottom: 15px; /* Adds space below for readability */
    }
}

button {
    background: #CD5C5C; /* Soft reddish accent from patterns, energetic */
    color: #FFF8E7; /* Matches background for contrast */
    padding: 15px 32px;
    font-size: 1.5em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 10px 0;
}

button:hover {
    background: #FF6F61; /* Slightly brighter red, lively hover effect */
}

#admin {
    background: #F5F5DC; /* Creamy beige, light and clean */
    padding: 20px;
    border: 2px solid #D2691E; /* Orange border, ties to headers */
    border-radius: 8px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 1.2em;
    border: 1px solid #DAA520; /* Goldenrod, consistent with image borders */
    border-radius: 4px;
    background-color: #FFF; /* White for readability */
    color: #4A2C2A;
}

@media (prefers-color-scheme: dark) {
    body {
        background: #F0E8D2; /* Lighter dark mode, avoids harsh contrast */
        color: #4A2C2A;
    }
    .post, #admin {
        background: #EDE4C7; /* Soft beige, maintains brightness */
    }
    button {
        background: #FF6F61; /* Brighter red for visibility */
    }
}
.banner {
    width: 100%;
    overflow: hidden; /* Handles any overflow */
    background-color: #FFF8E7; /* Matches body background for seamless integration */
    padding: 10px 0; /* Adds breathing room */
}

.banner-image {
    max-width: 100%; /* Scales down on smaller screens */
    height: auto; /* Maintains aspect ratio */
    display: block; /* Removes inline spacing */
    margin: 0 auto; /* Centers the image */
}

/* Media queries for responsiveness */
@media (max-width: 768px) { /* Tablets and smaller */
    .banner-image {
        max-height: 150px; /* Reduces height on tablets */
        object-fit: contain; /* Scales without cropping key details */
    }
}

@media (max-width: 480px) { /* Phones */
    .banner-image {
        max-height: 100px; /* Further reduces on phones */
    }
}