/* General Page Style */
body {
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #006600, #ffffff);
  font-family: Arial, sans-serif;
  overflow: hidden;
}

/* Card */
.card {
  background: #fff;
  width: 340px;
  height: 480px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  animation: float 3s ease-in-out infinite;
}

/* Floating Effect */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Flag */
.flag {
  width: 100%;
  height: 150px;
  background: linear-gradient(to right, #006600 50%, white 50%);
  position: relative;
  border-radius: 15px;
  margin-bottom: 20px;
}

.moon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 45px;
  left: 70%;
  box-shadow: -15px 0 0 0 #006600;
}

/* Text Styles */
h1 {
  font-size: 1.6rem;
  color: #006600;
  margin: 15px 0;
  animation: fadeIn 2s ease forwards;
}

h2 {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 10px;
  animation: fadeIn 3s ease forwards;
}

.birthday {
  font-size: 1.4rem;
  color: #006600;
  font-weight: bold;
  animation: pop 2s ease-in-out infinite;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pop Animation */
@keyframes pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}