@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;500;700&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,900;1,500&family=Roboto:ital,wght@0,100;0,900;1,100;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    /* background:linear-gradient(135deg, #4ff0af, #4fa8f0); */
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
}
body::hover{
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -1;
    opacity: 0.1;
}

.content{
    display: flex;
}

.team{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6vh 0;
    flex-direction: column;
}
@keyframes myscale{
    100%{transform: scale(0.8,0.8)};
    }
.team h1{
    font-size: 45px;
    font-weight: 600;
    color: #000;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-family: Geneva, Tahoma, Verdana, sans-serif;

    animation: myscale;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}
.team h1::after{
    content:'';
    position:absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    font-weight: 150px;
    background-color: #eee;
    border-radius: 50%;
}
.card{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.box{
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #ff008cc2;
    margin: 0 20px;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
}
.box img{
    width:300px;
    height: 300px;
    vertical-align: bottom;
    transition: all 0.3s ease ;
    object-fit: cover;
    border-radius: 50%;
}
.info{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, #4ff0af, #4fa8f0);
    /* background-color: #ff008cc2; */
    display: flex;
    text-align: center;
    flex-direction: column;
    transform: scale(0);
    transition: all 0.3s ease;
    transform-origin: 0%;
    
}
.name{
    font-size:34px;
    padding-top:90px ;
    padding-bottom: 25px;
    font-weight:400;
    color: black;
    text-align: center;
    transform: scale(1);
    transform-origin: 0%;
    transition: all 0.3s ease;
}
    
.details{
    font-size:22px;
    color: #eee;
    font-weight: 400;
    margin-top:-10px;}
.social-links{
    display: flex;
    justify-content: center;
    transform: scale(0);
    transform-origin: 0;
    transition: all 0.3s ease;
}
.social-links a{
    width: 35px;
    height: 35px;
    background-color: #eee;
    margin: 10px 5px;
    color:#0059ff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.social-links a:hover{
    background-color: transparent;
    columns: #eee;
}
.box:hover .info{
    transform: scale(1);

}
.box:hover img{
    transform: scale(1.1);
}
.box:hover .name,
.box:hover .details,
.box:hover .social-links{
    transform: scale(1);
}
.box:hover .name{
    transition: all 0.3s ease 0.2s;
}
.box:hover .details{
    transition: all 0.3s ease 0.3s;
}
.box:hover .social-links{
    transition: all 0.3s ease 0.4s;
}

/* @media(max-width:1600){
    .team{
        flex-direction: row;
    }
} */

@media(max-width:500px){
    .team h1{
        font-size: 35px;
        font-weight: 600;
        margin-bottom: 21px;
        padding-bottom: 20px;
        margin-right: 10px;
        color:#0059ff;
    }
}
@media(max-width:500px){
    .team h1{
        font-size: 30px;
        font-weight: 900;
        margin-bottom: 21px;
        padding-bottom: 20px;
        margin-right: 10px;
        color:#000
    }
}