@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,600,700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
}

.team {
    padding: 10rem 0;
    background-color: #fff;
}

.heading {
    text-transform: uppercase;
    font-size: 3.5rem;
    letter-spacing: 3px;
    margin-right: -3px;
    margin-bottom: 5rem;
    text-align: center;
    /* color: #333; */

}

.card-wrapper {
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: column;
}

.card {
    width: 32rem;
    background-color: #d7d4ed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    box-shadow: .5rem .5rem 3rem rgba(0, 0, 0, 0.2);
}

.card .card-img {
    width: 100%;
    height: 26rem;
    object-fit: cover;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}

.profile-img {
    width: 15rem;
    height: 15rem;
    object-fit: cover;
    border-radius: 50%;
    margin-top: -11rem;
    z-index: 1;
    border: 1rem solid #d7d4ed;
}

.card h1 {
    font-size: 2.5rem;
    /* color: #333; */
    margin: 1.5rem 0;
}

.job-title {
    color: #777;
    font-size: 1.5rem;
    font-weight: 300;
}

.about {
    font-size: 1.5rem;
    margin: 1.5rem;
    text-align: center;
}

.btnc {
    color: #fff;
    background: linear-gradient(to left, #eb648c, #9149b9);
    font-size: 1.4rem;
}



.btnc:hover {
    background: linear-gradient(to right, #eb648c, #9149b9);
}


.card .btnc {
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    margin: 1rem 0;
    text-transform: uppercase;
    color: #eee;
    font-size: 1.4rem;
    transition: all .5s;
}


.card:hover {
    transform: scale(1.05)
}

.card .btnc:hover {
    transform: translateX(-2px);
    box-shadow: .5rem .5rem 2rem rgba(0, 0, 0, .2);
    cursor: pointer;
}

.card .btnc:active {
    transform: translatey(0);
    box-shadow: none;
}

.social-media {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    padding: 2rem 0;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.team .card-wrapper .card a {
    color: #fff;
}

.social-media i {
    font-size: 3rem;
    transition: color .5s;
    color: rgba(49, 24, 131, 0.9);
}





.social-media i:hover {
    transform: rotateY(360deg);
}

.fa-facebook-square:hover,
.fa-twitter-square:hover,
.fa-instagram:hover,
.fa-google-plus-square:hover {
    color: #45e19f;
    cursor: pointer;
}

/*test*/
/*our services - how to make a gradient border*/

.card-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    grid-gap: 2.0rem;
}

.card-services {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.our-services-icon {
    width: 100px;
    height: 100px;
    background-color: #fff;
    position: relative;
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 100%;
}

/*how to make a gradient border*/
.our-services-icon::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -4px;
    border-radius: inherit;
    background: linear-gradient(to bottom, #eb648c, #9149b9);
}

.our-services-icon i {
    font-size: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(to bottom, #eb648c, #9149b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.our-services-description h5 {
    font-size: 16px;
    text-align: center;
    margin-top: 5px;
    padding-right: 10px;
}

.our-services-description p {
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
}

/*end services*/
/*end test*/

@media screen and (min-width: 700px) {
    .card-wrapper {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
    }

    .card {
        margin: 2rem;
    }

    /* .card-services-grid {
        display: flex;
        flex-wrap: nowrap;

    } */

}

/* START Modal Effect CSS */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    display: none;
    animation: modal-open .5s;
}


.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background: rgba(6, 12, 33, .88);
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 24px;
    border-radius: 4px;
    z-index: 9000;
}

.modal-header {
    font-weight: 500;
    padding: 10px 0;
    font-size: 26px;
    color: #1bf2ea;
}

.modal-header .modal-close {
    position: absolute;
    top: 2px;
    right: 1px;
    font-size: 25px;
    color: #1bf2ea;
    border: 0;
    outline: 0;
    padding: 5px 8px;
    border-radius: 50%;
    cursor: pointer;
}

.modal-body {
    color: #1bf2ea;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
}

.modal-body ul {
    list-style-type: none;
}

.modal-body li {
    display: inline-block;
    padding-right: 6px;
}

.modal-body p {
    text-align: justify;
    color: #1bf2ea;
}

.modal-body,
.projectInfo {
    list-style-type: none;
    line-height: 1.8em;
    color: #1bf2ea;
    font-size: 20px;
    text-align: center;
}


@keyframes modal-open {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

@media screen and (max-width: 600px) {

    .modal-content {
        width: 100%;
    }

}

/* END Modal Effect CSS */