*,
*::before,
*::after {
    box-sizing: border-box;
}


body, html {
    background-image: url('./images/white-background.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Oxanium', sans-serif;

}

body {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    height: 100%;
}

/* header section */

header {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 200px; /* Adjust width as needed */
    overflow-y: auto; /* Allows scrolling if content exceeds viewport height */
    
}


/* nav bar section */

nav {
    height: 100%; 
    background-color: #9D8189; /* Background color for the nav */
    display: flex;
    justify-content: center; /*horizontal*/
    align-items: center; /*vertical*/
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure it's above other content */
}


nav ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    list-style-type: none;
    /* padding: 0px; */
}


nav ul li {
    margin: 0 20px;
}


nav ul li a {
    text-decoration: none;
    padding: 15px 10px; /*changes spacing between the links */
    display: flex;
    color: whitesmoke;
}

#LinkedIn{
    height: 50px;
    width: auto;
}

#GitHub{
    height: 40px;
    width: auto;
    margin-left: 5px;
}

nav ul li a:hover {
    background-color: #7b6369;
    color: white;
}




/* main and introduction section */


main {
    margin-left: 200px; /* match width of header */
    padding: 20px;
    display: flex;
    flex-direction: column;
    width: calc(100% - 200px); /* Take remaining width after considering header */
    overflow-x: auto;
}

#builds-header {
    text-align: center;
    padding-top: 2rem;
}


.section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
   
}


#Portfolio-title, #WellFed-title {
    text-align: center;
}

.section-container img {
    max-width: 100%;
    max-height: auto;
    display: block;
}


.blurb {
    padding: 20px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}






/* For mobile phones */
@media (max-width: 480px) {
        
    body {
        flex-direction: column;
    }


    /* nav/header section */
    header {
        position: static;
        height: 300px;
        width: 100%;
    }

    nav ul {
        display: flex;
        flex-direction: row;
    }

    nav ul li {
        margin: 0 5px;
        padding-top: 25px;
    }
    
    nav ul li a {
        padding: 0px;
        font-size: 16px;
        margin: 0 3px;      
    }


    #LinkedIn{
        height: 25px;
        width: auto;
       
    }
    
    #GitHub{
        height: 20px;
        width: auto;
        margin-left: 3px;
        padding-right: 10px;
    }

    /* main */

    #main-container {
        flex-direction: column;
        width: 100%;
        padding: 3px; /* Ensure no padding on main */
        margin: 0; /* Ensure no margin on main */
        font-size: 14px;
        border: 1px solid red;
    }


    /* CSS of personalized main elements */


}