/** @format */

.who-imgs img {
    border-radius: 25px;
    width: 40%;
    object-fit: cover;
    height: 15em;
}

.green {
    color: var(--green);
}

.who-desc p {
    font-size: 12px;
}

/* Our Core Values Section*/
.values {
    margin: 5rem;
    display: none;
}

.value-container {
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    gap: 1.5rem;
}

.value {
    background-color: var(--pastel-green);
    border-radius: 25px;
    padding: 2rem 2rem 4rem;
    justify-content: center;
}

.value h5 {
    font-size: 17px;
    text-transform: uppercase;
}

.value p {
    font-size: 15px;
    color: var(--black);
}

.value i {
    align-items: center;
    display: flex;
    width: 2.5rem;
    color: white;
    justify-content: center;
    height: 2.5rem;
    border-radius: 20%;
    padding: 1rem;
    background-color: var(--green);
    margin-bottom: 1rem;
}

.value img {
    width: 2rem;
    height: 2rem;
    border-radius: 5px;
    background-color: var(--green);
    margin-bottom: 1rem;
}

.team {
    text-align: left;
    margin: 5rem 5rem 0rem 5rem;
    justify-content: center;
    align-items: center;
}

.team-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.member {
    justify-content: start;
    display: flex;
    height: 100%;
    align-items: start;
    flex-direction: column;
}

.member img {
    width: 100%;
    border-radius: 25px;
    background-color: blue;
}

.member h5 {
    margin-top: 10px;
    font-size: 20px;
}

.member p {
    font-size: 15px;
}

.title {
    margin-bottom: 1rem;
    font-size: 18px;
    font-weight: bold;
}

.bottom-p {
    margin-top: 1rem;
}

.desc-text p {
    font-size: 15px;
}

@media (max-width: 1100px) {
    .who-imgs img {
        width: 50%;
        margin: 0.5rem;
    }
}

@media (max-width: 850px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .who-imgs img {
        width: 100%;
        height: 20rem;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: repeat(1, 1fr);
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 500px) {
    .team {
        padding: 2rem;
        align-items: center;
        margin: 0rem;
    }

    .values {
        margin: 0rem;
        padding: 2rem;
    }
}

@media (max-width: 630px) {
    .value-container {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .value {
        width: 100%;
    }
}

@media (prefers-color-scheme: light) {
    .member p {
        color: var(--black);
    }
}

@media (prefers-color-scheme: dark) {
    h2 {
        color: white;
    }

    .member h5 {
        color: white;
    }

    .member p {
        color: white;
    }
}
