.about {
    margin-top: 20px;
    max-width: 1200px;
    margin: 50px auto;
    display: flex;
    align-items: stretch; /* Ensures both items stretch to the same height */
    padding-top: 20px;
    gap: 50px;
}

@media (max-width: 1000px) {
    .about {
        flex-direction: column;
    }
}

.profile-image {
    flex: 1;
    margin-right: 20px;
}
.profile-image img {
    width: 100%;
    border-radius: 8px;
    height: 100%; /* Makes image fill the height of the container */
    object-fit: cover; /* Ensures the image scales proportionally */
    /* zoom on the middle of the picture */
    object-position: center;
    object-fit: cover;
    height: 100%;
}
.profile-content {
    flex: 2;
}
.aboutTitle {
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 10px;
}
.aboutListTitle {
    font-weight: bold;
    font-size: 20px;
    margin-top: 20px;
}
.aboutText {
    line-height: 1.6;
    padding-left: 10px;
}
.aboutList {
    padding-left: 20px;
}
.aboutList li {
    margin-left: 10px;
    margin-bottom: 8px;
}

@media screen and (max-width: 1000px) {
    .profile-image {
        margin-right: 0;
    }
}