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

body {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 300;
    color: #333;
    background-color: #F8F8F8;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px; /* Add space between elements */
}

header {
    text-align: center;
    background-color: #F0F0F5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

header p {
    margin-top: 10px; /* Add space between title and contact info */
    font-size: 1.1em;
    color: #777;
}

h1, h2, h3 {
    font-size: 2em; /* Standardize the font size across all headings */
    font-weight: 400;
    color: #111;
    margin-bottom: 10px;
}

p, li {
    font-size: 1.1em;
    color: #555;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 10px;
}

a {
    color: #0070c9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease-in;
}

a:hover {
    color: #0056a3;
}

main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Ensure all titles align at the same height */
    gap: 40px; /* Add space between sections */
}

section {
    flex: 2.5; /* Keep the project section wide */
}

/* Expanded 'About Me' Section */
.about-me-expanded {
    flex: 1.5;
    text-align: center;
    background-color: #F9FAFB;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    min-height: 400px; /* Set a minimum height to match the project/assignment sections */
}

footer p {
    font-size: 1.1em;
    color: #777;
}

/* Media Queries */
@media only screen and (min-width: 600px) {
    .container {
        flex-direction: row;
    }

    main {
        display: flex;
        flex: 2;
    }

    .about-me-expanded {
        flex: 1;
        min-height: auto; /* Remove min-height for smaller screens */
    }
}

@media only screen and (min-width: 800px) {
    h1 {
        font-size: 2em; /* Keep all heading sizes consistent */
    }

    h2, h3 {
        font-size: 2em;
    }
}
