.about-founder {
    display: flex;
    /* flex-direction: row; */
    /* align-items: center; */
    color: #fff;
    width: 100%;
    gap: 40px;
}

p {
    color: #fefefe;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
}

h2 {
    font-weight: bold;
}

img {
    width: 100%;
}

.about-founder-image {
    width: 50%;
}

.about-founder-info {
    max-width: 50%;
}

.about-founder h2 {
    color: #e1efff;
}

.teamgrid {
    gap: 5px;
    display: flex;
}

.team-member h3 {

    min-height: 50px;
}

.team-member {
    width: 33%;
}

.team-member img {
    height: 400px;
    box-sizing: content-box;
    object-fit: cover;
}

.other-team .title-container {

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.other-team .title-container hr {
    width: 100%;
    margin: 0;
    margin-bottom: 20px;
}

.other-team h2 {
    color: #70a8b7;
}

section {
    padding: 20px 0;
}

article {
    display: flex;
    flex-direction: column;
}

.article-list-container>article {
    display: none;
}

.article-list-container>article.active {
    display: flex;
}

#pagination-controls {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-btn {
    border: 1px solid #ddd;
    color: #ffffff;
    padding: 10px 20px;
    margin: 0 4px;
    cursor: pointer;
    font-size: 16pt;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.page-btn:hover {
    background-color: #ddd;
}

/* 5. Style the currently active page button */
.page-btn.active {
    background-color: #ef3551;
    color: white;
    border-color: #ef3551;
}


@media only screen and (max-width:760px) {
    .about-founder {
        flex-direction: column;
        align-items: center;
    }

    .about-founder-info {
        max-width: 90%;
        order: 2;
    }

    .about-founder-image {
        width: 90%;
        order: 1;
    }

    .team-member img {
        /* height: 270px; */
    }

    .team-member {
        width: 90%;
    }

    .teamgrid {
        flex-direction: column;
        align-items: center;
    }

    .title {
        margin: 0;
    }

    .title-container {
        margin-top: 20px;
    }

    .other-team .title-container {
        align-items: center;
    }

    .other-team h2 {
        align-self: flex-end;
        font-size: 12pt;
        margin: 0 0 0 auto;
    }

    .other-team .title-container .title {
        align-self: flex-start;
        margin: 0;
    }

}