.team-desc {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4vw;
    width: 100%;
}

.team-desc img {
    width: auto;
    height: 300px;
}

@media(max-width: 1200px) {

    .team-desc {
        flex-wrap: wrap;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .team-desc img {
        height: auto;
        width: 100%;
    }
}


.team-wrapper {
    display: flex;
    flex-direction: row;
    gap: 1vw;
    flex-wrap: wrap;
}

.team-title {
    margin-top: 40px;
    margin-bottom: 20px;
}

.team-title h1 {
    text-decoration: underline;
    text-decoration-thickness: 8px;
    margin: 0;
}

.team-card {
    min-width: 100px;
    width: 200px;
    height: 240px;
    padding: 1em;
    padding-bottom: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
    background-color: var(--gray-800);
    border: 2px solid #2f2f2f;
    text-align: center;
}

.team-wrapper.compact > .team-card {
    word-wrap: break-word;
    height: auto;
    text-align: left;
    align-items: flex-start;
    display: inline-flex;
}

.team-wrapper.compact > .team-card h3 {
    font-size: 1rem;
    margin: 0;
}

.team-wrapper.compact > .team-card p {
    font-size: 0.8rem;
}

.team-card img:first-child {
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}

.team-card h3 {
    font-size: 1.15rem;
    margin: 4px;
}

.team-card p {
    font-size: 0.8rem;
}

.team-card .socials {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.team-card .socials a {
    display: inline-block;
    padding: 0.2rem;
}

.team-card .socials a img {
    display: block;
    filter: invert(80%);
    width: 24px;
    height: auto;
    transition: filter 100ms ease-in-out;
}

.team-card .socials a:hover img {
    filter: invert(100%);
}

@media(max-width: 930px) {

    .team {
        text-align: center;
    }

    .team-wrapper {
        justify-content: center;
    }

    .team-title h1 {
        font-size: 2rem;
        text-decoration-thickness: 4px;
    }

}

@media(max-width: 486px) {

    .team-card {
        width: 100%;
        height: fit-content;
    }

}

p.looking {
    color: var(--yellow-200);
}