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

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

body {
  font-family: "Poppins", sans-serif;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #00050a;
}

.card {
  width: 360px;
  height: 262px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  padding-top: 25px;
  cursor: pointer;
  justify-content: space-between;
  padding-bottom: 15px;
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar {
  width: 100px;
  height: 100px;
  position: relative;
}

.user-online-indicator {
  width: 15px;
  height: 15px;
  background-color: #12cf31;
  position: absolute;
  bottom: 10px;
  right: 8px;
  border-radius: 50%;
  z-index: 4;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-name h1 {
  font-size: 28px;
  font-weight: 500;
}

.profile-role {
  color: #312d2d;
}

.card-footer {
  width: 85%;
  height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.social-buttons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-buttons button {
  width: 40px;
  height: 40px;
  border: 2px solid transparent;
  border-radius: 50%;
  font-size: 23px;
  margin: 0 20px;
  background-color: #f3f3f3;
  color: #000;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden; /* Ensure the animation doesn't exceed the button boundary */
}

.social-buttons button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid transparent;
  box-sizing: border-box;
  z-index: -1;
  transition: transform 0.4s ease;
}

.social-buttons button:hover::before {
  border-image: linear-gradient(45deg, #ff7eb3, #ff758c, #ffa456, #ffdc34);
  border-image-slice: 1;
  transform: scale(1.2); /* Slight pulse animation effect */
}

.social-buttons button:hover {
  background-color: #000;
  color: #fff;
  transform: scale(1.1);
}
