.team-banner{
    background: url('https://static.igem.wiki/teams/4810/wiki/background-banner.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    margin-top: 100px;
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    padding-left: 0%;
    padding-right: 0%;
}
.team-members-title{
    color: #c49507;
    text-align: center;
}
.teams-members-subtitle{
    text-align: center;
    color: white;
    font-size: 30px;
    padding-bottom: 40px;
}
/* Wave Animation */
.ocean {
    height: 100px;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-x: hidden;
}
.wave {
    background: url('https://static.igem.wiki/teams/4810/wiki/waves.svg');
    position: absolute;
    width: 200%;
    height: 100%;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
}
.wave:nth-of-type(2) {
    bottom: 0;
    animation: wave 18s linear reverse infinite;
    opacity: 0.5;
}
.wave:nth-of-type(3) {
    bottom: 0;
    animation: wave 20s -1s linear infinite;
    opacity: 0.5;
}
@keyframes wave {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(-50%);
    }
}
/* Wave Animation - End */
@media only screen and (max-width: 576px) {
    .card-img-top{
        width: 50%;
    }
    .team-banner{
        height: 23vh;
    }
    .team-banner .ocean {
        height: 30px;
    }
}
@media only screen and (min-width: 576px) {
    .card-img-top{
        width: 50%;
    }
    .team-banner{
        height: 40vh;
    }
}
@media only screen and (min-width: 768px) {
    .card-img-top{
        width: 60%;
    }
    .team-banner{
        height: 47vh;
    }
}
@media only screen and (min-width: 992px) {
    .card-img-top{
        width: 70%;
    }
    .team-banner{
        height: 55vh;
    }
}
@media only screen and (min-width: 1200px) {
    .card-img-top{
        width: 55%;
    }
    .team-banner{
        height: 66vh;
    }
}
@media only screen and (min-width: 1400px) {
    .card-img-top{
        width: 50%;
    }
    .team-banner{
        height: 80vh;
    }
}
.team-cards {
    padding-top: 50px;
    padding-bottom: 50px;
}

.card-container {
    padding-bottom: 40px;
}
.card-container:hover {
    padding-bottom: 40px;
}
.card {
    background-size: cover;
    border: 0;
    cursor: pointer;
    position: relative;
    padding: 0 !important;
    overflow: hidden;
    height: auto;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.card .card-img-top {
    margin: auto;
    object-fit: cover;
    display: block;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-style: none;
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
}

.image-container-card {
    padding-top: 20px;
}

.card .card-img-top:hover {
    transform: scale(1.05);
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.05);
    -o-transform: scale(1.1);
    -moz-transform: scale(1.1);
}

.card .card-title {
    text-align: center;
}

.card .card-text {
    text-align: center;
    background-color: rgba(6, 5, 11, 0.702);
    color: white;
}

/* -------------------------------End of Card--------------------- */
/* -------------------------------Start of Modal--------------------- */
.modal-header {
    border-bottom: 0;
}

.modal-footer {
    border-top: 0;
}
.team-member-title-responsibilities{
    text-align: center;
}
.member-name {
    color: #1c3b6d;
}

.member-title {
    color: #c49507;
}

.member-text {
    font-family: "Raleway";
    font-size: 21px;
    text-align: justify;
}
/* -----------------------Social Media Icons - Modal */
.social-icons {
    background-color: #ffffff;
    text-align: left;
}

.social-icons a {
    color: #ff0000;
    line-height: 30px;
    font-size: 30px;
    margin: 0 5px;
    text-decoration: none;
}

.social-icons a svg {
    line-height: 30px;
    font-size: 30px;
    -webkit-transition: all 0.3s ease-in;
    -webkit-transform: scale(1);
    -ms-transition: all 0.3s ease-in;
    -ms-transform: scale(1);
    -moz-transition: all 0.3s ease-in;
    -moz-transform: scale(1);
    transition: all 0.3s ease-in;
    transform: scale(1);
}

.social-icons a:hover svg {
    box-shadow: 0px 0px 150px #000000;
    z-index: 2;
    transition: all 0.3s ease-in;
    transform: scale(1.5);
    -webkit-transition: all 0.3s ease-in;
    -webkit-transform: scale(1.5);
    -ms-transition: all 0.3s ease-in;
    -ms-transform: scale(1.5);
    -moz-transition: all 0.3s ease-in;
    -moz-transform: scale(1.5);
    
}