@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
}

body{
    width: 100vw;
    background-color: #efefef;
    font-family: "Poppins", sans-serif;
}

.container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #555;
    padding: 50px;
    margin: 10px;
}

.logo{
    background-color: #2196f3;
    color: #fff;
    padding: 3px 16px;
    border-radius: 4px;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.container>p{
    width: 60%;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    color: #555;
    margin-bottom: 30px;
}

.hr{
    border-bottom: 3px dashed #2196f3;
    width: 80%;
    margin-bottom: 30px;
}

.container>h4{
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

/*--------------------Team Section-------------------------*/

.team{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.team>.title{
    background-color: #2196f3;
    color: #fff;
    padding: 3px 16px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
}

/*-------------------Profile Card-------------------------*/

.profile-box{
    width: 240px;
    height: 240px;
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: 0 10px 10px 10px rgba(115, 193, 225, 0.1);
    position: relative;
    transition: 0.5s;
}

.profile-box>img{
    width: 100px;
    height: 100px;
    position: absolute;
    object-fit: cover;
    top: 20px;
    right: 20px;
    border-radius: 4px;
    transition: .5s;
}

.profile-box>h4{
    margin-top: 25px;
    margin-bottom: 5px;
    color: #2196f3;
}

.profile-box>small{
    color: #555;
}

.social-box{
    background-color: #2196f3;
    margin: 36px auto 20px;
    text-align: center;
    border-radius: 3px;
}

.social-box>.fa-brands{
    margin: 5px;
    color: #fff;
    cursor: pointer;
}

.profile-box>p{
    text-align: center;
    font-size: 14px;
    line-height: 18px;
    color: #555;
}

.team-row{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 85%;
    gap: 30px;
}

/*------------------Hover Effects----------------------*/

.profile-box>img:hover{
    width: 240px;
    height: 240px;
}

.profile-box:hover{
    background-color: #2196f3;
}
.profile-box:hover>h4{
    color: #fff;
}

.profile-box:hover>p{
    color: #efefef;
}

.profile-box:hover>small{
    color: #efefef;
}

.profile-box:hover>.social-box{
    background-color: #fff;
}

.profile-box:hover>.social-box>.fa-brands{
    color: #2196f3;
}

/*------------------------Media Queries----------------------*/


@media screen and (max-width: 800px){
    .logo{
        font-size: 24px;
    }
    .container>p{
        width: 80%;
        font-size: 14px;
    }
    .container>h4{
        font-size: 12px;
        margin-bottom: 20px;
    }
    .profile-box{
        width: 200px;
        height: 200px;
        margin-bottom: 25px;
        padding: 15px;  
    }

    .profile-box>img{
        width: 90px;
        height: 90px;
        top: 15px;
        right: 15px;
    }

    .profile-box>h4{
        margin-top: 20px;
        font-size: 18px;
    }
    .profile-box>small{
        font-size: 13px;
    }

    .social-box{
        margin: 25px auto 10px;
    }
    .social-box>.fa-brands{
        margin: 4px;
        font-size: 14px;
    }

    .profile-box>p{
        font-size: 12px;
        line-height: 14px;
    }

    .team-row{
        width: 100%;
        gap: 20px;
    }

    .profile-box>img:hover{
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 540px){
    .logo{
        font-size: 20px;
    }
    .container>p{
        width: 80%;
        font-size: 12px;
    }
    .container>h4{
        font-size: 18px;
        margin-bottom: 20px;
    }
    .profile-box{
        width: 180px;
        height: 180px;
        margin-bottom: 20px;
        padding: 10px;  
    }

    .profile-box>img{
        width: 80px;
        height: 80px;
        top: 10px;
        right: 10px;
    }

    .profile-box>h4{
        margin-top: 20px;
        font-size: 14px;
    }
    .profile-box>small{
        font-size: 11px;
    }

    .social-box{
        margin: 16px auto 5px;
    }
    .social-box>.fa-brands{
        margin: 3px;
        font-size: 12px;
    }

    .profile-box>p{
        font-size: 10px;
        line-height: 14px;
    }

    .team-row{
        width: 100%;
        gap: 15px;
    }

    .profile-box>img:hover{
        width: 180px;
        height: 180px;
    }
}

@media screen and (max-width: 480px){
    .logo{
        font-size: 18px;
    }
    .container>p{
        width: 80%;
        font-size: 10px;
    }
    .container>h4{
        font-size: 16px;
        margin-bottom: 18px;
    }
    .profile-box{
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
        padding: 10px;  
    }
    .profile-box>h4{
        margin-top: 0px;
        margin-bottom: 3px;
    }

    .profile-box>img{
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
    .profile-box>h4{
        margin-bottom: 1px;
    }
    .profile-box>small{
        font-size: 9px;
    }

    .social-box{
        margin: 1px auto 2px;
    }
    .social-box>.fa-brands{
        margin: 3px;
        font-size: 10px;
    }

    .profile-box>p{
        font-size: 9px;
        line-height: 9px;
    }

    .team-row{
        width: 100%;
        gap: 25px;
    }

    .profile-box>img:hover{
        width: 120px;
        height: 120px;
    }
}