body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Set a negative z-index to position the pseudo-element behind the content */
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(65,180,211,0.3)); /* Light gradient background */
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details.wip-section {
    text-align: left; /* Center-align the details tag */
}

details.wip-section summary {
    display: flex;
    justify-content: space-between;
    align-items: left; /* Center-align items vertically */
    cursor: pointer; /* Add pointer cursor to indicate it's clickable */
}

details.wip-section summary h2, h3 {
    margin: 0; /* Reset margin to ensure no extra space */
    flex-grow: 1; /* Allow the text to take available space */
}

details.wip-section[open] summary::after {
    content: '▼'; /* Use a down-pointing arrow character when expanded */
    /* transform: rotate(180deg); Rotate the arrow for expanded state */
}

details.wip-section summary::after {
    content: '▶'; /* Use a right-pointing arrow character */
}

main {
    margin: 20px;
    margin-top:40px;
    margin-bottom:40px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #f8f8f8;
    position: relative; /* Ensure the main section stays on top of the fixed background */
    z-index: 1; /* Set a higher z-index to ensure the main section stays on top */
}

footer {
    margin-top: 10px;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    text-align: center;
    /* width: 100%; */
}

h1, h2, h3, h4 {
    color: #072850;
}

h4 {
    margin-bottom: 5px;
}

.logo-title-container {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 100px;
    max-height: 60px;
    margin-right: 10px;
}

.title {
    font-size: 1.5em;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
    line-height: 1.2em;  
}

.nav-links a {
    text-decoration: none;
    color: rgb(65,180,211);
    font-weight: bold;
}

.menu-button {
    display: none; /* Initially hide the menu button */
    background: transparent; /* Set the background to transparent */
    border: none;
    color: #fff; /* Set the font color for the button */
    font-size: 1.5em; /* Adjust font size as needed */
    cursor: pointer;
}

.three-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}

.col-3 {
    flex-basis: calc(33.33% - 20px);
    box-sizing: border-box; /* Include padding and border in the total width/height */
    margin: 10px;
    text-align: center;
    display: flex;
    flex-direction: column; /* Stack child elements vertically */
    height: 100%; /* Set a fixed height for consistent vertical alignment */
}

.col-3 .content {
    max-width: 300px;
    margin: 0 auto;
    text-align: left;
    flex-grow: 1; /* Allow the content to expand to fill the available space */
}

.column {
    text-align: center;
    flex-grow: 1;
}

#about {
    display: flex;
    flex-direction: row;
    /* align-items: flex-start; */
    padding: 20px;
    margin: 20px 0;
    background-color: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
}

#about img.clipart {
    margin-right: 20px;
    /* align-self: flex-end; Align the image to the bottom of the flex container */
}

#about .content {
    display: flex;
    flex-direction: column;
    align-self: flex-end;
}

#about h1, #about p {
    margin: 10px 0;
}

img.clipart {
    max-width: 100%;
    max-height: 120px; /* Set a maximum height for all images */
    height:120px;
    border-radius: 20px;
    margin-bottom: 10px;
    
}

.wip-section {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

#skills-experience {
    padding: 40px;
    margin: 20px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    header {
        padding: 10px;
    }

    .logo img {
        max-width: 80px;
        max-height: 50px;
    }

    .title {
        font-size: 1.2em;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-end;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #333;
        display: none;
        z-index: 99;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        margin: 10px;
    }
    .nav-links li {
        margin-right: 20px;
        line-height: 1.2em;  
    }

    .menu-button {
        display: block;
    }

    .column {
        flex-basis: calc(100% - 20px);
    }

    .col-3 {
        flex-basis: calc(100% - 20px);
    }

    #about {
        flex-direction: column; /* Stack elements vertically for smaller screens */
    }

    #about img.clipart {
        margin-right: 0px;
        /* align-self: flex-end; Align the image to the bottom of the flex container */
    }

    img.clipart {
        margin-right: 0; /* Remove margin for better spacing */
        align-self: center; /* Reset alignment to default */
        max-width:100%;
        max-height:200px;
        height:200px;
    }
}