@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,500;1,900&display=swap');
*{
    font-family: 'Poppins',cursive;
}
body{
    color: azure;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: black;
}
.greetings{
    font-size: 6rem;
    font-weight: 900;
}
.greetings > span{
    animation: glow 2.5s ease-in-out infinite;
}
@keyframes glow{
    0%, 100%{
        color: #fff;
        text-shadow: 0 0 12px #39c6d6, 0 0 50px #39c6d6, 0 0 100px #39c6d6;
    }
    10%, 90%{
        color: #111;
        text-shadow: none;
    }
}
.greetings > span:nth-child(2){
    animation-delay: .2s ;
}
.greetings > span:nth-child(3){
    animation-delay: .4s ;
}
.greetings > span:nth-child(4){
    animation-delay: .6s;
}
.greetings > span:nth-child(5){
    animation-delay: .8s;
}

.description{
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.button a{
    text-decoration: none;
    font-size: 1rem;
    color: #111;
}

@media screen and (max-width:574px){
    .greetings{
        display: block;
        font-size: 3rem;
        font-weight: 500;
        text-align: center;
    }
    .description{
        font-size: 1rem;
    }
    
    .button a{
        font-size: .5rem;
    }
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #f06;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #c05;
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to top, #ffe1e1, #ffd3ec);
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  text-align: center;
}

h1 {
  color: #d6336c;
  font-size: 2.5rem;
  margin: 10px;
}

.flower {
  width: 200px;
  height: 200px;
  position: relative;
  animation: bloom 2s ease-out forwards;
  transform: scale(0);
  margin: 20px auto;
}

@keyframes bloom {
  to {
    transform: scale(1);
  }
}

.petal {
  width: 100px;
  height: 100px;
  background: pink;
  position: absolute;
  border-radius: 50% 50% 0 0;
  transform-origin: bottom center;
}

.petal:nth-child(1) { transform: rotate(0deg) translateY(-50%); }
.petal:nth-child(2) { transform: rotate(72deg) translateY(-50%); }
.petal:nth-child(3) { transform: rotate(144deg) translateY(-50%); }
.petal:nth-child(4) { transform: rotate(216deg) translateY(-50%); }
.petal:nth-child(5) { transform: rotate(288deg) translateY(-50%); }

.center {
  width: 60px;
  height: 60px;
  background: gold;
  border-radius: 50%;
  position: absolute;
  top: 70px;
  left: 70px;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.btn {
  margin-top: 30px;
  padding: 12px 25px;
  background-color: #ff8fab;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1em;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

.btn:hover {
  background-color: #d6336c;
}

.letter {
  max-width: 90%;
  width: 400px;
  background: white;
  color: #444;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  margin-top: 30px;
  display: none;
  animation: fadeIn 1s forwards;
  line-height: 1.6;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

audio {
  display: none;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }

  .flower {
    width: 150px;
    height: 150px;
  }

  .petal {
    width: 75px;
    height: 75px;
  }

  .center {
    width: 45px;
    height: 45px;
    top: 55px;
    left: 55px;
  }
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to top, #ffe1e1, #ffd3ec);
  font-family: "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  text-align: center;
}

h1 {
  color: #d6336c;
  font-size: 2.5rem;
  margin: 10px;
}

.flower {
  width: 200px;
  height: 200px;
  position: relative;
  animation: bloom 2s ease-out forwards;
  transform: scale(0);
  margin: 20px auto;
}

@keyframes bloom {
  to {
    transform: scale(1);
  }
}



.petal:nth-child(1) {
  transform: rotate(0deg) translateY(-50%);
}
.petal:nth-child(2) {
  transform: rotate(72deg) translateY(-50%);
}
.petal:nth-child(3) {
  transform: rotate(144deg) translateY(-50%);
}
.petal:nth-child(4) {
  transform: rotate(216deg) translateY(-50%);
}
.petal:nth-child(5) {
  transform: rotate(288deg) translateY(-50%);
}

.center {
  width: 60px;
  height: 60px;
  background: gold;
  border-radius: 50%;
  position: absolute;
  top: 70px;
  left: 70px;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.btn {
  margin-top: 30px;
  padding: 12px 25px;
  background-color: #ff8fab;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1em;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
}

.btn:hover {
  background-color: #d6336c;
}

.letter {
  max-width: 90%;
  width: 400px;
  background: white;
  color: #444;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
  display: none;
  animation: fadeIn 1s forwards;
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

audio {
  display: none;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }

  .flower {
    width: 150px;
    height: 150px;
  }

  .petal {
    width: 75px;
    height: 75px;
  }

  .center {
    width: 45px;
    height: 45px;
    top: 55px;
    left: 55px;
  }
}
