/* team html file styling start */

#team-section1{
     display:flex;
    justify-content:center;
    align-items:center;
    position: relative;
    background-image: url(../images/hero-image5.jpg);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
}
#team-section1::before{
    content: '';
    position: absolute;
    background-color:rgba(0, 0, 255, 0.67);
    width: 100%;
    height: 100%;
}
#team-section1 p:first-child{
    font-size:6rem;
    font-weight:700;
    text-align: center;
}
.team-section2{
    background-color:  rgba(167, 0, 88, 0.13);
}
.main-team{
    display:flex;
    flex-direction: column;
    width: 80%;
    margin: auto;
    padding-top: 100px;
    padding-bottom: 100px;
}
.main-team .partner-btn {
    margin-bottom: 50px;
}
.team-card{
    display:flex;
    width: 100%;
    justify-content:center;
    margin-top: 30px;
    
}
.team-line{
    border-top: 2px solid #0000FF;
    margin: 30px 0;
}
#team-card2, #team-card5{
    flex-direction: row-reverse;
    
}
#team-card2 .team-image, #team-card5 .team-image{
    position: relative;
    margin-right: 0;
    margin-left: 50px;
}

.team-image{
    margin-right: 50px;
    display:flex;
    flex-direction:column;
    align-items:center;
    position: relative;
}
.team-image a{
    display:flex;
    align-items: center;
    justify-content:center;
    position: absolute;
    padding: 10px;
    width:40px ;
    background-color:#0000FF;
    z-index: 1000;
    top:290px;
    right: 0;

}

.team-image .team-name{
    margin-top: 10px;
    font-weight: 700;
    font-size: 18px !important;
    line-height: 21px;
    color: #0000FF;
    text-align:center;
}
.team-image .team-post{
    font-weight: 400;
    font-size: 13px !important;
    line-height: 22px;
    color: #FF0000;
}
.team-content{
    width:50%;
}
.team-content p{ 
    font-size: 15px;
    margin-top: 10px;
    font-weight: 400;
    line-height: 30px;
    color: #000000;
}
.team-content p:nth-child(2){
    margin-top: 30px;
}


/* max width 1050px styling start */
@media (max-width:1050px) {

    /* team html file styling start */
        .main-team{
            width: 90%;
        }
    /* team html file styling start */
}
/* max width 1050px styling end */

/* max width 900px styling start */
@media (max-width:900px) {

    /* team html file styling start */
    #team-section1 p:first-child{
        font-size:4.5rem;
    }
    .team-image #picture{
        width: 200px;
    }
    .team-image a{
        padding: 5px;
        width:30px ;
        top:174px;
    }
    #team-card1 a{
       margin-top: 1.4px;
    }
    .team-content{
        width:70%;
    }
    /* team html file styling end */
}
/* max width 900px styling end */

/* max width 625px styling start */
@media (max-width:625px) {
    #team-section1 p:first-child{
        font-size:3.2rem;
    }
    .team-card{
        flex-direction: column;
        align-items:center;
    }
    #team-card2, #team-card5{
        flex-direction: column;
    
    }
    #team-card2 .team-image, #team-card5 .team-image{
        margin-left: 0;
        align-items:center;
    }
    .team-image{
        align-items:center;
        margin-right: 0;
    }
    
    .team-image .team-name{
        font-size: 1rem !important;
    }
    .team-image .team-post{
        font-size: 0.8rem !important;
    }
    .team-content{
        margin: auto;
        width:90%;
        text-align: justify;
    }
    .team-content p{
        font-size: 0.9rem !important;
    }
}
/* max width 625px styling end */

/* max width 400px styling start */
@media (max-width:400px) {
     #team-section1 p:first-child{
        font-size:2.2rem;
    }
}
/* max width 400px styling  end */


/* team html file styling end */
