@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap");

:root {
  --pink-color: #f2726a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  background: linear-gradient(45deg, #00853e, #50c878);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: gradientBG 6s infinite alternate;
}

@keyframes gradientBG {
  0% { background: linear-gradient(45deg, #00853e, #50c878); }
  100% { background: linear-gradient(45deg, #50c878, #00853e); }
}

.card {
  width: 300px;
  height: 400px;
  border-radius: 10px;
  text-align: center;
  background-color: #242628;
  overflow: hidden;
  margin: 0 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.card__img {
  width: 120px;
  height: 120px;
  overflow: hidden;
  transition: 0.25s;
  margin: 0 auto;
  transform: translateY(25px);
  border-radius: 50%;
  border: 4px solid var(--pink-color);
  cursor: pointer;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.3s ease;
}

.card__img:hover img {
  filter: brightness(1.2);
}

h2 {
  color: white;
  margin-top: 40px;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid white;
  display: inline-block;
  animation: typing 3s steps(15, end), blinkCursor 0.8s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blinkCursor {
  50% { border-color: transparent; }
}

p {
  color: var(--pink-color);
}

.card__social {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-top: 20px;
}

.card__social a {
  text-decoration: none;
  color: white;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.card__social a:hover {
  color: var(--pink-color);
  transform: scale(1.3);
  animation: wobble 0.5s ease-in-out;
  text-shadow: 0px 0px 10px rgba(255, 105, 135, 0.8);
}

@keyframes wobble {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

button {
  margin-top: 20px;
  outline: none;
  border: none;
  color: white;
  background-color: transparent;
  border: 1px solid var(--pink-color);
  padding: 10px 20px;
  border-radius: inherit;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 4px 10px rgba(255, 105, 135, 0.3);
  position: relative;
  overflow: hidden;
}

button:hover {
  background-color: var(--pink-color);
  animation: pulse 0.5s infinite alternate;
}

@keyframes pulse {
  0% { box-shadow: 0px 4px 10px rgba(255, 105, 135, 0.3); }
  100% { box-shadow: 0px 6px 15px rgba(255, 105, 135, 0.6); }
}

button:active {
  transform: scale(0.9);
  box-shadow: none;
  animation: ripple 0.4s ease-out;
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}