.ova-our-team {
text-align: center;
}
.ova-our-team.template2:hover .social-icon, .ova-our-team.template2:hover .share-button {
transition: all 0.3s linear;
bottom: 0;
visibility: visible;
opacity: 1;
}
.ova-our-team.template2 .image img {
height: 350px;
border-radius: 0;
}
.ova-our-team.template2 .image:after {
content: none;
}
.ova-our-team.template2 .info {
display: flex;
flex-direction: column-reverse;
}
.ova-our-team.template2 .info .name {
font-size: 20px;
}
.ova-our-team.template2 .info .job {
font-size: 12px;
font-weight: 600;
color: var(--primary);
}
.ova-our-team.template2 .share-button {
transition: all 0.3s linear;
display: inline-flex;
justify-content: center;
align-items: center;
width: 68px;
height: 68px;
background-color: var(--primary);
position: absolute;
left: 0;
bottom: 10px;
opacity: 0;
visibility: hidden;
}
.ova-our-team.template2 .share-button i {
display: inline-flex;
color: #fff;
}
.ova-our-team.template2 .social-icon {
margin: 0;
gap: 0;
position: absolute;
left: 69px;
bottom: 10px;
opacity: 0;
visibility: hidden;
}
.ova-our-team.template2 .social-icon .icon {
background-color: #fff;
border-radius: 0;
width: 50px;
height: 50px;
}
.ova-our-team.template2 .social-icon .icon i {
font-size: 16px;
color: var(--text);
}
.ova-our-team.template2 .social-icon .icon svg {
width: 16px;
fill: var(--text);
}
.ova-our-team.template3:hover .info {
transition: all 0.3s linear;
background-color: var(--primary);
}
.ova-our-team.template3:hover .info .job {
color: var(--heading);
}
.ova-our-team.template3:hover .share-button {
transition: all 0.3s linear;
background-color: #fff;
}
.ova-our-team.template3:hover .share-button i {
transition: all 0.3s linear;
transform: rotate(90deg);
}
.ova-our-team.template3:hover .social-icon {
transition: all 0.3s linear;
opacity: 1;
visibility: visible;
bottom: calc(100% + 35px);
}
.ova-our-team.template3 .image {
margin-bottom: 0;
}
.ova-our-team.template3 .image img {
height: 310px;
border-radius: 0;
}
.ova-our-team.template3 .image:after {
content: none;
}
.ova-our-team.template3 .info {
transition: all 0.3s linear;
margin: -35px auto 0 auto;
padding: 30px 20px;
background-color: #fff;
width: calc(100% - 30px);
box-shadow: 0 4px 60px rgba(0, 0, 0, 0.06);
}
.ova-our-team.template3 .info:before {
content: "";
display: block;
position: absolute;
bottom: calc(100% - 0.5px);
right: 0;
left: 0;
width: 100%;
height: 30px;
background-color: inherit;
-webkit-clip-path: polygon(0 0, 0 100%, 100% 100%);
clip-path: polygon(0 0, 0 100%, 100% 100%);
border-radius: 0 0 15px 0;
}
.ova-our-team.template3 .info .name {
font-family: var(--primary-font);
font-size: 18px;
}
.ova-our-team.template3 .info .job {
transition: all 0.3s linear;
font-size: 16px;
text-transform: none;
}
.ova-our-team.template3 .share-button {
transition: all 0.3s linear;
display: inline-flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: var(--primary);
position: absolute;
bottom: calc(100% - 15px);
right: 10px;
}
.ova-our-team.template3 .share-button i {
transition: all 0.3s linear;
display: inline-flex;
font-size: 12px;
color: var(--heading);
}
.ova-our-team.template3 .social-icon {
position: absolute;
bottom: calc(100% + 15px);
right: 12px;
flex-direction: column;
opacity: 0;
visibility: hidden;
}
.ova-our-team.template3 .social-icon .icon {
width: 36px;
height: 36px;
background-color: rgba(0, 0, 0, 0.35);
}
.ova-our-team.template3 .social-icon .icon:hover {
transition: all 0.3s linear;
background-color: var(--primary);
}
.ova-our-team.template3 .social-icon .icon:hover i {
color: var(--heading);
}
.ova-our-team.template3 .social-icon .icon:hover svg {
fill: var(--heading);
}
.ova-our-team.template3 .social-icon .icon i {
color: #fff;
}
.ova-our-team.template3 .social-icon .icon svg {
fill: #fff;
}
.ova-our-team .image {
position: relative;
margin-bottom: 22px;
}
.ova-our-team .image:after {
position: absolute;
content: "";
top: -5px;
left: 50%;
transform: translateX(-50%);
width: calc(100% + 10px);
height: calc(100% - 50px);
border-radius: 10px;
background: linear-gradient(180deg, #FF3726, #0C142E);
z-index: -1;
}
.ova-our-team .image img {
display: block;
width: 100%;
height: 400px;
border-radius: 10px;
object-fit: cover;
}
@media (max-width: 1024px) {
.ova-our-team .image img {
height: 280px;
}
}
.ova-our-team .info {
position: relative;
}
.ova-our-team .info .name {
margin: 0;
font-size: 22px;
}
.ova-our-team .info .job {
margin: 0;
font-size: 14px;
text-transform: uppercase;
}
.ova-our-team .social-icon {
transition: all 0.3s linear;
margin: 15px 0 0 0;
padding: 0;
list-style: none;
display: inline-flex;
gap: 10px;
}
.ova-our-team .social-icon .icon {
transition: all 0.3s linear;
display: inline-flex;
justify-content: center;
align-items: center;
width: 42px;
height: 42px;
background-color: #ecf0f4;
border-radius: 50%;
}
.ova-our-team .social-icon .icon:hover {
transition: all 0.3s linear;
background-color: var(--primary);
}
.ova-our-team .social-icon .icon:hover i {
color: #fff;
}
.ova-our-team .social-icon .icon:hover svg {
fill: #fff;
}
.ova-our-team .social-icon .icon i {
display: inline-flex;
font-size: 14px;
color: var(--heading);
line-height: 1;
}
.ova-our-team .social-icon .icon svg {
display: inline-flex;
width: 14px;
fill: var(--heading);
line-height: 1;
}