@font-face {
    font-family: 'Isomer Regular';
    src: url('../fonts/Isomer-Regular.woff2') format('woff2'),
        url('../fonts/Isomer-SemiCondensedBold.woff2') format('woff2'),
        url('../fonts/Isomer-SemiCondensedSemiBold.woff') format('woff'),
        url('../fonts/Isomer-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Isomer SemiCondensed SemiBold';
    src: url('../fonts/Isomer-SemiCondensedSemiBold.woff2') format('woff2'),
        url('../fonts/Isomer-SemiCondensedSemiBold.woff') format('woff');
}

html,
body {
    font-family: Isomer Regular, sans-serif;
    line-height: 1.5;
}

.team-title {
    padding: 3rem 5.625rem;
    margin-bottom: 40px;
    background-color: #eff1f2;
}

.team-title h2 {
    text-transform: uppercase;
    line-height: 1.2;
    color: #002b45;
    font-family: Isomer Semi Condensed Bold, sans-serif;
    font-weight: 600;
    font-style: normal;
    width: auto;
    margin-bottom: 1rem;
}

.team-content {
    max-width: 1300px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-people {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;
}

.team-people .picture {
    width: auto;
    height: 100%;
}

.team-people .picture img {
    width: 100%;
    height: 100%;
}

.team-people .profile {
    width: calc(100% - 300px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.team-people .profile .name {
    font-family: Isomer Semi Condensed Bold, sans-serif;
    font-weight: 600;
    font-size: 26px;
    color: #002b45;
    margin-bottom: 1rem;
}

.team-people .profile .name:hover {
    text-decoration: underline;
}

.team-people .profile .description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    font-family: "Isomer Regular", sans-serif;
    color: #31363c;
    line-height: 1.5;
    word-wrap: break-word;
    word-wrap: break-word;
}

.team-picture,.team-picture img{
    /* width: 100%; */
}

.team-picture{
    font-size: 0;
}

@media screen and (max-width: 768px) {
    .team-content {
        max-width: none;
        padding: 0 2px;
    }

    .team-people {
        height: auto;
        align-items: flex-start;
    }

    .team-people .profile {
        margin-left: 20px;
        width: 100%;
    }

    .team-title {
        padding: 20px 10px;
    }

    .team-people .picture {
        width: auto;
        height: auto;
    }

    .team-people .profile .name {
        font-size: 16px;
    }

    .team-people .profile .description {
        line-height: 1.2;
    }

    .team-people .profile .description {
        font-size: 14px;
    }
}