body {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 90vh; */
    font-family: sans-serif;
    font-weight: 400;
    background-color: #EBECEF;
    color: #333333;
}

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

a {
    color: #58586F;
}

/* Add arrow icon to external links */
a[href^="http"]::after,
a[href^="https://"]::after {
    content: " ↗";
    font-size: 0.8em;
    margin-left: 0.2em;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    text-decoration: none !important;
    display: inline-block;
    text-decoration-line: none;
    -webkit-text-decoration-line: none;
}

a[href^="http"]:hover::after,
a[href^="https://"]:hover::after {
    opacity: 1;
}

p {
    line-height: 150%;
}

nav {
    display: flex;
    gap: 10px;
}

nav p {
    margin: 0;
    line-height: 100%;
}

ul {
    margin-left: 1rem;
    padding: 0;
}

li * {
    margin-top: 3px;
    margin-bottom: 3px;
}

#content {
    justify-self: left;
    width: 60vw;
}

.position-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.time-frame {
    text-align: right;
}

.position-details+p {
    margin-top: 0;
}

h1 header {
    font-weight: 500;
}

h6 {
    font-weight: 300;
}

.project {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.project .content-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.project .text-content {
    flex: 1;
}

.project .text-content p {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Image container for supporting multiple images */
.project .images-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 20%;
    flex-shrink: 0;
}

/* Single image styling */
.project .image-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.project .image-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.project .image-item .caption {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
    text-align: center;
    line-height: 1.3;
}

/* Fallback for single images without container */
.project img:not(.image-item img) {
    max-width: 30%;
    height: auto;
    flex-shrink: 0;
}