* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    background-color: #ecf2f7;
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

.card {
    margin: auto;
    display: flex;
    flex-direction: row;
    max-width: 70%;
    overflow: hidden;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.007);
}

.card .frst-card {
    width: 40%;
}

.card .frst-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}
.card .second-card{
    padding: 30px;
    width: 60%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 10px;
}
.card .second-card>p,
h5 {
    color: #a5a5a5;
}
.card .second-card h3{
    font-weight: bold;
    font-size: 30px;
}
.card .second-card p{
    font-size: 18px;
}
.avatr {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.avatr .avatr-left {
    display: flex;
    align-items: center;
}

.avatr .avatr-left .avatr-img img {
    margin-right: 10px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}
.avatr .avatr-left h4{
    font-size: 18px;
   
}
.avatr .avatr-left h5{
    font-size: 15px;
}
.avatr .avatr-right{
    position: relative;
}

.avatr-right .avatr-icon{
    color: rgba(0, 0, 0, 0.432);
    background-color: #ecf2f7;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}
.avatr-right .avatr-icon button{
    border: none;
}
.social-icons {
    visibility: hidden;
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: #48556a;
    color: rgba(255, 255, 255, 0.945);
    padding: 10px 30px;
    display: flex;
    gap: 10px;
    transition:.3s ease-in-out;
    margin-bottom: 5px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    -webkit-transition:.3s ease-in-out;
    -moz-transition:.3s ease-in-out;
    -ms-transition:.3s ease-in-out;
    -o-transition:.3s ease-in-out;
}

.social-icons span{
    text-align: center;
    justify-content: center;
    font-size: 15px;
    color: #a5a5a5;
}
@media (max-width: 1000px) and (min-width:450px) {
    .card {
        flex-direction: column;
        max-width: 95%;
        margin:0 40px ;
    }
    .card .frst-card,
    .card .second-card {
        width: 100%;
    }
    .second-card {
        padding: 12px;
    }
    .card .second-card h3{
        font-size: 15px;
    }
    .card .second-card p{
        font-size: 12px;
    }
    .avatr .avatr-left h4{
        font-size: 15px;
       
    }
    .avatr .avatr-left h5{
        font-size: 12px;
    }
    .social-icons{
        padding: 5px 15px;
        gap: 8px;
        font-size: 15px;
        text-align: center;
        align-items: center;
        margin: auto;
    }
    .social-icons span{
        font-size: 12px;
}
}