#team-section {
    margin: 2% 0 2% 0;
}

.team-section .container {
    /* background-color: rgba(35, 81, 220, 0.705); */
    max-width: 100%;
    padding: 0 0 5% 0;
}

.team-section .heading-wrapper {
    text-align: center;
    margin-bottom: 7%;
}

.team-section .heading-wrapper .team-heading {
    font-size: 2.5rem;
    font-weight: 700;
}

.team-section .blue-container {
    background-color: rgba(35, 81, 220, 0.705);
    max-width: 100%;
    padding-bottom: 10%;

}

.team-section .card {
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
}

.team-section .card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-section .card-deck {
    width: 63%;
    margin-top: -14%;
}

.team-section .card-img-top {
    margin-top: 8%;
    margin-left: auto;
    margin-right: auto;
    width: 79%;
}

.team-section .card-body {
    text-align: center;
}

.team-section .card-title {
    font-weight: 700;
}

.team-section .sub-title {
    font-weight: 640;
    color: rgba(35, 81, 220, 0.705);
}

.team-section .card-text {
    padding-bottom: 1%;
}

.team-section .team-button {
    background-color: rgba(35, 81, 220, 0.705);
    padding: 3% 6%;
    color: white;
    font-weight: 500;
    border-radius: 53px;
    border: 0;
}

.team-section .team-button:hover {
    background-color: rgba(35, 81, 220, 0.824);
}

.team-section a {
    text-decoration: none;
    color: white;
}

@media only screen and (min-width: 992px) and (max-width: 1400px) {
    
    .team-section .card-deck {
        width: 77%;
    }

}

@media only screen and (min-width: 576px) and (max-width: 991px) {
    
    .team-section .card-deck {
        width: 100%;
        margin-top: -14%;
    }

}

@media only screen and (max-width: 575px) {

    #team-section {
        margin: 2% 0 8% 0;
    }

    .team-section .heading-wrapper {
        margin-bottom: 14%;
    }

    .team-section .heading-wrapper .team-heading {
        font-size: 2rem;
        font-weight: 700;
    }

    .team-section .card-deck .card {
        margin-bottom: 10%;
    }

    .team-section .card-wrapper {
        margin: 0 7%
    }

    .team-section .card-deck {
        width: 100%;
        margin-top: -35%;
    }

    .team-section .blue-container {
        padding-bottom: 26%;
    }
}