:root {
    --theme-color-1: #0084ff;
    --theme-color-2: #1c53df;
    --bg-color: #fff;
    --white-shade-1: #fdfffd;
    --black-shade-2: #000;
    --white-rgba: rgba(53, 53, 53, 0.12)
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif
}

.team-section {
    padding: 5px 0 0
}

.con {
    max-width: 1170px;
    margin: auto
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0
}

.team-section .section-title {
    flex-basis: 100%;
    max-width: 100%;
    margin-bottom: 1rem
}

.team-section .section-title h1 {
    font-size: 40px;
    text-align: center;
    color: --black-shade-2;
    font-weight: 700
}

h1::after {
    content: '';
    background: #000;
    display: block;
    height: 3px;
    width: 200px;
    margin: 10px auto
}

.team-section .section-title p {
    font-size: 16px;
    text-align: center;
    margin: 30px;
    color: --black-shade-2
}

.container {
    position: relative;
    perspective: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem
}

.container:before {
    content: "";
    position: absolute;
    height: 180px;
    width: 180px;
    background: radial-gradient(var(--theme-color-1), var(--theme-color-2));
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.card {
    height: 380px;
    width: 350px;
    position: relative;
    margin: 1rem
}

.front,
.back {
    position: absolute;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 15px;
    background-color: var(--white-rgba);
    border: 2px solid var(--white-rgba);
    backdrop-filter: blur(8px);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: 500ms;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1)
}

.front {
    flex-direction: column;
    justify-content: center;
    gap: 50px
}

.front img {
    height: 140px;
    width: 140px;
    border-radius: 50%;
    border: 10px solid var(--white-rgba)
}

.details {
    text-align: center
}

h2 {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: .5px;
    color: var(--black-shade-2)
}

span {
    font-size: 14px;
    color: var(--white-shade-2)
}

.back {
    justify-content: space-around;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap
}

.icon {
    display: grid;
    place-items: center;
    height: 65px;
    width: 65px;
    margin: 1rem;
    background-color: var(--white-rgba);
    font-size: 25px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--theme-color-2)
}

.icon:hover {
    transform: translateY(-10px);
    background-color: var(--white-shade-1);
    color: var(--theme-color-1)
}

.card:hover .back {
    transform: rotateY(0deg)
}

.card:hover .front {
    transform: rotateY(-180deg)
}