/**Typeo CSS Start**/
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,500;0,700;0,800;1,300;1,400;1,500;1,600;1,700&display=swap');
* {
box-sizing: border-box;
}
body {
margin: 0px;
}
/**Typeo CSS End**/
img {
max-width: 100%;
}
.team-scn *, .team-scn {
--base-fm: 'Rubik', sans-serif;
--container-w: 1260px;
--base-size: 24px;
--theme-clr: #ff9400;
--title: 40px;
--base-clr: #999999;
--white-clr: #ffffff;
--black-clr: #000000;
--bg-clr: #5b7695;
}
.container {
max-width: var(--container-w);
width: 100%;
padding: 0 15px;
margin: auto;
}
.team-scn {
background-color: var(--bg-clr);
text-align: left;
font-family: var(--base-fm);
padding: 60px 0px;
font-size: var(--base-size);
}
.team-scn h2 {
margin: 0 0px 20px 0px;
font-size: var(--title);
font-family: var(--base-fm);
color: var(--white-clr);
position: relative;
}
.desc {
max-width: 900px;
width: 100%;
color: var(--white-clr);
font-size: calc(var(--base-size) - 4px);
font-family: var(--base-fm);
line-height: 1.5;
padding-bottom: 20px;
}
.team-list {
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
align-items: center;
min-height: 310px;
font-family: var(--base-fm);
width: 100%;
}
.profile-card {
display: flex;
flex-flow: row wrap;
background-color: var(--theme-clr);
flex: 0 0 50%;
align-items: center;
color: var(--white-clr);
position: relative;
}
.profile-card .img {
overflow: hidden;
position: relative;
width: 50%;
}
.profile-card .img img {
object-fit: cover;
height: 100%;
width: 100%;
display: block;
}
.profile-card .caption {
padding: 10px;
text-align: center;
position: relative;
width: 50%;
display: flex;
flex-flow: row wrap;
justify-content: center;
}
.profile-card .caption:after {
right: 100%;
top: 50%;
border: solid transparent;
content: "";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(136, 183, 213, 0);
border-right-color: var(--theme-clr);
border-width: 20px;
margin-top: -20px;
}
@media(min-width:768px) {
.profile-card:nth-child(4n+3) .caption {
order: 1;
}
.profile-card:nth-child(4n+3) .img {
order: 2;
}
.profile-card:nth-child(4n+3) .caption:after {
right: -40px;
transform: rotate(180deg);
}
.profile-card:nth-child(4n+4) .caption {
order: 1;
}
.profile-card:nth-child(4n+4) .img {
order: 2;
}
.profile-card:nth-child(4n+4) .caption:after {
right: -40px;
transform: rotate(180deg);
}
}
.profile-card .tm-name {
font-weight: 500;
font-size: var(--base-size);
display: inline-block;
width: 100%;
}
.profile-card .designation {
color: var(--white-clr);
margin: 10px 0 0px 0;
display: inline-block;
width: 100%;
font-size: calc(var(--base-size) - 8px);
}
.social-links {
display: flex;
flex-flow: row wrap;
justify-content: center;
text-align: center;
padding-top: 20px;
}
.profile-card:hover .social-links {
bottom: 10px;
}
.social-links a {
width: 32px;
margin: 0px 4px;
height: 32px;
transition: 0.5s all;
padding: 8px;
border: var(--white-clr) 1px solid;
border-radius: 100%;
display: flex;
flex-flow: row wrap;
align-items: center;
}
.social-links a img {
border: none;
box-shadow: none;
width: 100%;
border-radius: 0px;
filter: brightness(0) invert(1);
}
.social-links a:hover {
background-color: var(--white-clr);
}
.social-links a:hover img {
filter: none;
}
@media(max-width:992px) {
.team-scn {
padding: 30px 0px;
}
.team-scn h2 {
font-size: calc(var(--title) - 10px);
margin-bottom: 10px;
}
.desc {
font-size: calc(var(--base-size) - 6px);
}
.profile-card .tm-name {
font-size: calc(var(--base-size) - 4px);
}
.profile-card .designation {
font-size: calc(var(--base-size) - 10px);
}
}
@media(max-width:767px) {
.profile-card {
flex: 0 0 100%;
}
.profile-card:nth-child(2n+2) .caption {
order: 1;
}
.profile-card:nth-child(2n+2) .img {
order: 2;
}
.profile-card:nth-child(2n+2) .caption:after {
right: -20px;
transform: rotate(180deg);
}
.profile-card .caption:after {
border-width: 10px;
margin-top: -10px;
}
}