/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #8B4513; /* Woodsy Brown */
    color: #333333; /* Dark Gray */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
}

/* For RIGHT redwoods LEFT data */
body {
    background: 
        linear-gradient(to right, 
            transparent calc(50% - 1px),
            #000 calc(50% - 1px),
            #000 calc(50% + 1px),
            transparent calc(50% + 1px)),
        url('data-pietro-jeng.PNG') left top/50% 100% no-repeat,
        url('redwoods-tallPanel.PNG') right top/50% 100% no-repeat;
}
/* For mobile (in your media query) */
@media (max-width: 768px) {
    body::before {
        background: url('redwoods-tallPanel.PNG') repeat-y left top;
        background-size: contain;
    }
}

/* Main Container - 70% width, always centered */
.main-container {
    width: 70%;
    min-width: 300px; /* Prevents squeezing on mobile */
    margin: 0 auto;
    background-color: #F5F5DC; /* Cream */
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/* Header and Footer - Full width but visually connected */
header, footer {
    background-color: #008080; /* TEAL Green */
    color: white;
    padding: 1.5rem;
    text-align: center;
}

/* Content Area - Now part of the 70% container */
.content-section {
    padding: 2.5rem;
    text-align: center;
}

/* Project Containers - Centered with max width */
.project-container {
    background-color: #FFF8E7; /* Lighter Cream */
    padding: 1.8rem;
    margin: 0 auto 2rem;
    border-left: 4px solid #387C44;
    border-radius: 0 8px 8px 0;
    max-width: 90%;
    text-align: left; /* Content left-aligned within centered container */
}

/* Typography */
h1, h2, h3 {
    color: #025043; /* PINE Green */
    text-align: center;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #025043;
    padding-bottom: 0.5rem;
    display: inline-block; /* Makes border only as wide as text */
}

/* Buttons - Centered with animation */
.button-container {
    text-align: center;
    margin-top: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #387C44;
    color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn:hover {
    background-color: #008080;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        width: 90%; /* More screen real estate on mobile */
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .project-container {
        padding: 1.2rem;
        max-width: 95%;
    }
}