* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    height: 100%;
    width: 100%;
    font-family: 'montserrat', sans-serif;
}

img {
    width: 100%;
}

.section-team {
    padding: 5rem 0;
}

.heading-secondary {
    font-size: 50px;
    text-align: center;
    margin-top: -100px;
    margin-bottom: 100px;
    color: #00182c;
    position: relative;
    font-family: PlayfairDisplay;
}

.heading-secondary::after {
    content: "";
    width: 80px;
    height: 7px;
    background-color: #1FCAA2;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}

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


.my-card {
    width: 80%;
    max-width: 300px;    
    text-align: center;
    background: rgb(31,202,162);
background: linear-gradient(0deg, rgba(31,202,162,1) 40%, rgba(34,34,31,1) 100%, rgba(197,142,0,1) 100%);
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.753);
    margin: 10px;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    z-index: 10;
    justify-content: center;
    
}

.my-card .bg-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 0% 100%);
    /* -webkit-clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%); */

    position: relative;
}

.my-card .profile-img {
    width:  170px;
    height: 200px;
    object-fit: cover;
border-radius: 10px;
    margin-top: -120px;
    z-index: 1;
    /* position: absolute; */
    /* top: 20%; */
    border: 4px solid #1FCAA2;
}

#row2{
    padding-top:30px;
}

.my-card h1 {
    color: #00182c;
    font-size: 25px;
    margin-bottom: 5px;
    font-family: Libre Baskerville;
}

.my-card h4 {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: hsla(207, 100%, 9%, 0.466);
    margin-bottom: 20px;
    font-family: Play;
}

.my-card .about-info {
    padding: 0 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.my-card .social-list {
    display: flex;
    margin: 20px 0;
    list-style: none;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    height: 20px;
}

.my-card .social-list .social-link {
    font-size: 25px;
    text-decoration: none;
    color: #00182c;
    transition: .3s;
}
.my-card .social-list .social-link:hover {
    color: #00182c;
    font-size: 40px;
}


@media screen and (min-width: 500px) {
    .card-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
    }
}