.team-member-container {
    background-color: #ffffff;
}

.team-member {
    width: 1120px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.title h1 {
    width: 100%;
    font-size: 2.5em;
    color: #16324F;
    padding-top: 20px;
}

.member {
    width: 31%;
    overflow: hidden;
    border: 5px solid #16324F;
    border-radius: 5%;
    padding: 10px;
}
.member h2 {
    color: #16324F;
    font-weight: bold;
    margin-bottom: 15px;
}
.position {
    color: black;
    font-weight: bold;
    margin-bottom: 15px;
}

.description{
    color: black;
    text-align: justify;
}

.description p {
    color: black;
}

.description ul, 
.description ol {
    margin-bottom: 1em;
    padding-left: 20px;
}

.description ul {
    list-style-type: disc;
}

.description li {
    margin-bottom: 0.3em;
}

.content-image{
    width: 100%;
    padding-top: 100%;
    position: relative;
    margin-bottom: 15px;
}

.profile-photo {
    border-radius: 50%;
    width: 100%;
    border: 5px solid #16324F;
    padding: 15%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.full {
    width: 100%;
}

.important {
    border-radius: 5%;
    position: relative;
    border: 5px solid #d69106;
}

.important .profile-photo {
    border: 0px;
}

.important::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background-color: #d69106;
    border-radius: 0 0 50% 50%;
    opacity: 0.84;
}

@media screen and (max-width: 1124px) {
    .team-member{
        width: 100%;
    }
    .member {
        width: 30%;
    }
}

@media screen and (max-width: 900px) {
    .team-member{
        width: 100%;
    }
    .member {
        width: 47%;
    }
    .team-member .important {
        order: -1;
    }
}

@media screen and  (max-width: 580px) {
    .team-member{
        width: 100%;
    }

    .member {
        width: 99%;
    }
    .important {
        order: 2;
    }
    .team-member .important {
        order: -1;
    }
}