@font-face {
  font-family: "x14y24pxHeadUpDaisy";
  src: url("/font/x14y24pxHeadUpDaisy.woff2") format("woff2"),
    url("/font/x14y24pxHeadUpDaisy.woff") format("woff");
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #362f2d;
  font-family: "x14y24pxHeadUpDaisy", Arial, sans-serif;
}

.card {
  position: relative;
  width: 90%;
  max-width: 400px;
  padding-block: 1rem;
  padding-inline: 2rem;
  background-color: #483b35;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 3px solid rgba(255, 192, 203, 0.3);
}

.title {
  text-align: center;
  color: #ffb6c1;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: bold;
}

.profile-container {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  width: 96px;
  height: 96px;
  margin-left: auto;
  margin-right: auto;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* border: 3px solid rgba(255, 182, 193, 0.3); */
  border: 3px solid transparent;
  object-fit: cover;
}

/* hearts */
.floating-heart {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0;
  fill: crimson;
}

.profile-container:hover .floating-heart:nth-child(2) {
  animation: floatHeart1 2s ease-out infinite;
}

.profile-container:hover .floating-heart:nth-child(3) {
  animation: floatHeart2 2s ease-out 1s infinite;
}

/* heart(right) */
@keyframes floatHeart1 {
  0% {
    opacity: 0;
    transform: translate(40px, -50px);
  }
  20% {
    opacity: 1;
    transform: translate(40px, -60px);
  }
  80% {
    opacity: 0.5;
    transform: translate(40px, -80px);
  }
  100% {
    opacity: 0;
    transform: translate(40px, -90px);
  }
}

/* heart(left) */
@keyframes floatHeart2 {
  0% {
    opacity: 0;
    transform: translate(-50px, -50px);
  }
  20% {
    opacity: 1;
    transform: translate(-50px, -60px);
  }
  90% {
    opacity: 0;
    transform: translate(-50px, -80px);
  }
  100% {
    opacity: 0;
    transform: translate(-50px, -90px);
  }
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #5a4b44;
  color: #fff;
  text-decoration: none;
  border-radius: 0.75rem;
  border: 3px solid rgba(255, 192, 203, 0.2);
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: #6d392f;
  transform: scale(1.05);
}

.nav-link-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.nav-link-heart {
  color: #ffb6c1;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 16px;
  height: 16px;
}

.nav-link:hover .nav-link-heart {
  opacity: 1;
}

.timeline {
  padding-block: 1rem;
}

.footer {
  text-align: center;
  color: rgba(255, 182, 193, 0.6);
  font-size: 0.875rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 400px;
}

.copyright {
  letter-spacing: 0.05em;
}

.container {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  min-height: 100vh;
  align-items: center;  
}
