
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
  }
  
  body{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f2f2;
    animation: fadeIn 0.8s ease-in-out;
  }
.upper{
  background-color: #4070f4;
  max-width:370px;
  text-align: center;
  width: 100%;
  height: 36%;
  margin-bottom: 20px;
  border-radius: 24px 24px 0 0;
}
  .profile-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 370px;
    width: 100%;
    background-color:#ffff;
    border-radius: 24px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: popIn 0.6s ease-in-out;
  }

  .image{
    position: relative;
    text-align: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #4070f4;
    padding: 3px;
    margin-bottom: -15px;
    left: 28%;
    animation: slideIn 0.7s ease-in-out;
  }

  .profile-img{
    width: 100%;
    text-align: center;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom:20px ;
    border: 2px solid #ffff;
  }

  .profile-card .text-data{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
  }

  .text-data .name{
    font-size: 24px;
    font-weight:600;
  }

  .text-data .job{
    font-size: 16px;
    font-weight:400;
  }

  .profile-card .media-buttons{
    display: flex;
    align-items: center;
    margin-top: 15px;
  }

  .media-buttons .link{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffff;
    font-size: 18px;
    height: 34px;
    width: 34px;
    border-radius:50%;
    margin: 0 8px;
    background-color:#4070f4 ;
    text-decoration: none;
  }

  .media-buttons .link:hover{
    transform: scale(1.09);
  }

  .profile-card .buttons{
    display: flex;
    align-items: center;
    margin-top: 25px;
  }

  .buttons .button{
    padding: 8px 24px;
    margin: 0 10px;
    border-radius: 24px;
    border: none;
    color: #ffff;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    background-color: #4070f4;
    transition: all 0.3s ease;
  }

  .buttons .button:hover{
    background-color: #0e4bf1;
    transform: scale(1.05);
  }

  .profile-card .analytics{
    display: flex;
    align-items:center;
    margin-top: 25px;
  }

  .analytics .data{
    display: flex;
    align-items:center;
    color: #333;
    padding: 0 20px;
    border-right: 2px solid #e7e7e7;
    margin-bottom: 20px;
  }

  .data i{
    font-size: 18px;
    margin-right: 5px;
  }
  .data:last-child{
    border-right: none;
  } 

  @keyframes slideIn{
    from{
      transform: translateY(-20px);
      opacity: 0;
    }
    to{
      transform: translateY(0px);
      opacity: 1;
    }
  }

  @keyframes fadeIn{
    from{
      opacity: 0;
    }
    to{
      opacity: 1;
    }
  }

  @keyframes popIn{
    from{
      transform: scale(0.7);
      opacity: 0;
    }
    to{
      transform: scale(1);
      opacity: 1;
    }
  }