section.team-section {
    position: relative;
}

section.team-section .line-1 {
    right: 65px !important;
}

section.team-section .line-2 {
    right: 73px !important;
}

section.team-section .line-3 {
    right: 65px !important;
}

.team {
    position: relative;
}

.team .image {
    position: relative;
}

.team .image img {
    width: 100%;
    border-radius: 25px;
	margin-top: 70px;
}

.team .image:before {
    content: "";
    position: absolute;
    bottom: -70px;
    right: 0;
    width: 100%;
    height: 75px;
    border-radius: 0px 0px 208px 208px;
    background: #242222;
    transition: all 500ms ease;
}

.team .image:after {
    content: "";
    position: absolute;
    bottom: -70px;
    right: 0;
    width: 100%;
    height: 0;
    border-radius: 0px 0px 208px 208px;
    background: #d71820;
    transition: all 500ms ease;
    transform: scale(0);
    transform-origin: bottom;
}

.team .content {
    position: absolute;
    bottom: -58px;
    left: 10px;
    right: 10px;
    text-align: center;
}

.team h3 {
    font-size: 25px;
    font-weight: 600;
    color: var(--white-color);
}

.team h5 {
    font-size: 20px;
    font-weight: 300;
    color: #d71820;
}

.team .social-icons {
    position: absolute;
    bottom: 115px;
    right: 0;
    left: 0;
}

.team .social-icons i {
    font-size: 20px;
    background: var(--white-color);
    border-radius: 50%;
    height: 56px;
    width: 56px;
    line-height: 56px;
}

.team:hover .image:after {
    transform: scale(1,1);
    height: 65px;
}

.team:hover h5 {
    color: var(--white-color);
}

.team ul.share-links {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    transform: scale(0,0);
    transform-origin: bottom;
    transition: all 500ms ease;
}

.team .share-btn i {
    cursor: pointer;
    color: var(--white-color);
    background: #d71820;
    transition: all 500ms ease;
}

.team:hover .share-btn i {
    color: var(--secondary-color);
    background: var(--white-color);
}

.team .social-icons:hover .share-links {
    transform: scale(1);
}

.team ul.share-links li i {
    font-size: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    color: var(--white-color);
    height: 56px;
    width: 56px;
    line-height: 56px;
    transition: all 500ms ease;
}

.team ul.share-links li:hover i {
    color: var(--secondary-color);
    background: var(--white-color);
}

.team ul.share-links li {
    margin-top: 5px;
}