.about-layout{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}
.team-list{
    font-size: 0.8em;
    position: relative;
}
.team-card{
    height: 10em;
    width: 100%;
    min-width: 20em;
    display: flex;
    gap: 1rem;
    align-items: center;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    margin: 1rem 0;
    background: var(--card-bg, #fff);
}
.profile-picture{
    width: 10em;
    height: 10em;
    object-fit: cover;
    border-radius: 2rem;
    flex: 0 0 10em;
    box-shadow: var(--shadow);
}
.team-details{
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    flex: 1 1 auto;
    padding-right: 0.25rem;
}
.team-details h2{
    margin: 0;
    font-weight: 700;
}
.team-details p{
    margin: 0;
    opacity: 0.8;
}
.social-icons{
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.social-icon{
    height: 1.6em;
    width: auto;
    display: inline-block;
    color: #000;
}

@media (min-width: 900px) {
    .team-column .team-list{
        position: sticky;
        top: 4rem;
    }
}

@media (max-width: 1500px) {
    .about-layout{
        grid-template-columns: 1fr;
    }
    .team-list{
        display: grid;
        grid-template-columns: repeat(2, minmax(12rem, 1fr));
        gap: 1rem;
        align-items: start;
    }
}

@media (max-width: 800px) {
    .team-list{
        grid-template-columns: 1fr;
    }
    .team-card{
        margin: 0;
    }
}
