/*TEAM PAGE*/

.team-card {
    box-shadow: 5px 10px 18px #888888;
    border-radius: 30px;
    background-color: #ffffff;
    padding-bottom: 15px;
}
.team-card-img {
    width: 100%; 
    height: 250px;
    object-fit: cover;
    border-radius: 30px 30px 0 0;
    background-color: #d8eceb;
}
.team-container {
    margin: 20px 10%;
}
.team-svg-container {
    display:flex;
    flex-direction: row;
    align-items: center;
}
.team-card-SVGs {
    width: 25px; 
    padding-right: 10px;
}

/*PHONE*/
@media only screen and (max-width: 760px) {
    .team .hero-text {
        top: 250px;
        left: 10%;
        right: 10%;
    }
    .team-grid {
        display: block;
        margin: 80px 0;
    }
    .team-card {
        width: 80%;
        margin: 30px auto;
    }
}

/*TABLET*/
@media only screen and (min-width: 761px) and (max-width: 1200px) {
    .team .hero-text {
        top: 250px;
        left: 20%;
        right: 20%;
    }
    .team-grid-container {
        margin: 70px 0;
    }
    .team-grid {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        grid-template-rows: auto;
        justify-content: center;
        justify-items: center;
        padding-bottom: 20px;
        margin: 0 2%;
    }
    .team-card {
        width: 80%;
        margin: 30px auto;
    }
}
@media only screen and (min-width: 1201px) and (max-width: 1400px) {
    .team .hero-text {
        top: 350px;
        left: 20%;
        right: 20%;
    }
    .team-grid-container {
        margin: 70px 0;
    }
    .team-grid {
        display: grid;
        grid-template-columns: repeat(2, 50%);
        grid-template-rows: auto;
        justify-content: center;
        justify-items: center;
        padding-bottom: 20px;
        margin: 0 2%;
    }
    .team-card {
        width: 60%;
        margin: 30px auto;
    }
}

/*DESKTOP*/
@media only screen and (min-width: 1401px) {
    .team .hero-text {
        top: 350px;
        left: 20%;
        right: 20%;
    }
    .team-grid-container {
        margin: 100px 0;
    }
    .team-grid {
        display: grid;
        grid-template-columns: repeat(4, 20%);
        grid-template-rows: auto;
        justify-content: center;
        justify-items: center;
        padding-bottom: 50px;
    }
    .team-card {
        width: 80%;
        margin: 20px auto;
    }
}