#mainContainer {
    min-height: 100vh;
    overflow: auto;
}

#mainRow {
    display: flex;
    flex-wrap: wrap;
}

#left-pane {
    background-color: #169de4;
    padding-right: 0;
    padding-bottom: 100px;
}

#right-pane {
    margin-top: 50px;
    padding-left: 50px;
    padding-bottom: 100px;
}

#profile-image {
    display: block;
    width: 65%;
    max-width: 180px;
    margin-top: 60px;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
}

#line {
    border: 1px solid white;
    width: 40%;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

#profile-bio {
    font-family: Raleway, sans-serif;
    color: white;
    font-size: 15px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    margin-left: 10%;
    margin-right: 10%;
    text-align: justify;
}

.section {
    color: #169de4;
    font-family: Oswald, sans-serif;
    font-size: 22px;
    font-style: normal;
    font-variant: normal;
    font-weight: 320;
    margin-top: 20px;
    margin-bottom: 20px;
}

.date {
    color: grey;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-style: italic;
    white-space: nowrap;
}

.title {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 320;
}

.title-padded {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 320;
    padding-bottom: 15px;
}

.subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: grey;
    padding-bottom: 15px;
    font-style: italic;
}

.time {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: grey;
    font-style: italic;
}

.description {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: grey;
    padding-bottom: 15px;
    max-width: 85%;
    text-align: justify;
}

/* New classes for refactoring */

.profile-name {
    text-align: center;
    font-family: Oswald, sans-serif;
    font-size: 40px;
    font-style: normal;
    font-variant: normal;
    font-weight: 320;
    color: white;
    letter-spacing: 5px;
}

.section-header-white {
    text-align: center;
    font-family: Oswald, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-variant: normal;
    font-weight: 320;
    color: white;
    letter-spacing: 2px;
}

.link-header {
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-variant: normal;
    font-weight: 320;
    color: white;
    letter-spacing: 2px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.timeline-date {
    text-align: right;
}

.timeline-content {
    display: flex;
    flex-direction: column;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .timeline-date {
        text-align: left;
        font-weight: bold;
    }
}