/* General body styles */
body, html {
    margin: 0px;
    padding: 0px;
    font-family: Helvetica, Arial, sans-serif;
	font-weight: bold;
    font-size: 36px;
    line-height: normal;
    background: white;
    color: black;
}

* {
    cursor: default !important;
}

a, a:link, a:visited { /* Format links */
    color: black !important;
    text-decoration: none !important;
}


/* Container for the entire layout */
#container {
    display: flex;
    flex-wrap: wrap;
    overflow-x: hidden; /* Hide horizontal overflow */
}

#imageContainer img {
    width: 100%;
    height: auto;
    padding-bottom: 10px;
    padding-left: 0px;
}

#imageContainer {
    line-height: 0;
    margin-bottom: -10px;
}

/* Styling for the projects section */
#projects {
    width: 50%;
    margin: 0px;
    padding: 10px;
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scrollbar */
    position: fixed; /* Fix the position of the project list */
    top: -5px; /* Align the project list to the top of the viewport */
    bottom: auto;
}

#projects ul {
    list-style-type: none;
    margin: 0px;
    padding: 0;
}

#projects ul li {
    padding: 0;
    margin: 0;
}

#projects ul li a {
    text-decoration: none;
    color: black;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: space-between;
}

#projects ul li a span {
    margin-right: 0px;
}

#projects ul li a span:nth-child(1) {
    flex: 0 0 100px;
}

#projects ul li a span:nth-child(2) {
    flex: 1 1 auto;
    text-align: left;
}

#projects ul li a span:nth-child(3) {
    flex: 0 0 auto;
    margin-left: 0;
    margin-right: 10px;
    text-align: right;
}

#gallery {
    width: 50%;
    margin-bottom: 0px;
    margin-left: 50%;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
}

#description {
    position: fixed;
    margin-bottom: 5px;
    bottom: 2px;
    left: 10px;
    text-align: left;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 16px;
    z-index: 1000;
}

#infoDescription {
    width: 500px;
    position: fixed;
    margin-bottom: 5px;
    bottom: 2px;
    left: 10px;
    text-align: left;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 16px;
    z-index: 1000;
}

#bioText {
    width: 100%;
    margin-top: 10px;
    margin-left: auto;
    text-align: right;
    font-size: 16px;
}

@media (max-width: 1024px) {
    /* Responsive design adjustments */
    body, html {
        font-family: Helvetica, Arial, sans-serif;
        font-weight: bold;
    }

    #projects, #gallery {
        width: 100%;
        order: 0;
    }

    #gallery {
        order: 2;
        margin: 0;
    }

    #projects {
        font-size: 24px;
        top: 0px;
    }

    #projects ul {
        margin-right: 10px;
    }

    #projects ul li a span:nth-child(1) {
        flex: 0 0 60px;
    }

    #bioText {
        font-size: 12px;
	margin-top: 450px;
        width: 50%;
        margin-right: 0;
        text-align: right;
    }
}