body {
    background-color: #ffeef5;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #5c3373;
  }
  @font-face {
    font-family: 'ButterflyInside';
    src: url('../Fonts/Butterfly_Inside_20.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Hodgood';
    src: url('../Fonts/Hodgood.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'JosephSophia';
    src: url('../Fonts/Joseph Sophia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NiceBoho';
    src: url('../Fonts/Nice Boho.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Runner';
    src: url('../Fonts/Runner.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SundayBright';
    src: url('../Fonts/Sunday Bright.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
  header {
    background-color: #a167c9;
    color: white;
    padding: 10px 0;
    font-weight: bold;
  }
  .titulo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alinea “15 AÑOS” a la derecha de “RAQUEL” */
    margin: 0 auto;
    width: fit-content;
  }
  h1 {
    font-family: 'ButterflyInside', cursive;
    font-weight: normal;
    font-size: 125px;
    color: #6d4fa7;
    margin: 20px 0 0;
    letter-spacing: 3px;
  }
  .sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #ff4eb5;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    animation: sparkle-fly 1.2s ease-out forwards;
    box-shadow: 0 0 8px #ff82cc, 0 0 12px #ff4eb5;
  }
  
  @keyframes sparkle-fly {
    0% {
      opacity: 0;
      transform: translate(0, 0) scale(1);
    }
    30% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: translate(var(--dx), var(--dy)) scale(0.8);
    }
  }
  
  
  h2 {
    font-family: 'JosephSophia', cursive;
    font-size: 65px;
    color: #a167c9;
    margin: -25px 0 0 0;
    padding-right: 10px; /* opcional para separarlo visualmente del borde */
  }
  .bienvenida {
    margin: 0 auto;
    font-size: 16px;
    max-width: 600px;
  }
  h3 {
    font-family: 'NiceBoho', cursive;
    font-size: 75px;
    color: #a167c9;
    margin: 0;
    margin-bottom: 5px;
    letter-spacing: 1px;
    -webkit-text-stroke: 1px white; /* Borde blanco */
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.232); /* Suaviza el contorno */
  }
  p{
    margin: 0;
  }
  .tarjeta {
    background: linear-gradient(135deg, #e8cfff, #f8eaff);
    border-radius: 20px;
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .tarjeta img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
  }

  .input-container {
    margin: 10px 0;
  }

  input[type="text"] {
    padding: 10px;
    width: 80%;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
  }

  button {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
  }

  .boton-ver {
    background-color: #339aff;
    color: #fff;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 25px;
    margin-top: 20px;
    display: inline-block;
  }

  footer {
    margin-top: 40px;
    font-size: 14px;
    color: #888;
  }
  @media (max-width: 480px) {
    header {
      font-size: 12px;
      padding: 6px 0;
    }
  
    .titulo-container {
      align-items: center;
      text-align: center;
    }
  
    h1 {
      font-size: 72px;
      margin-top: 10px;
    }
  
    h2 {
      font-size: 24px;
      margin-top: -5px;
      padding-right: 0;
    }
  
    h3 {
      font-size: 44px;
      line-height: 1.2;
      margin-top: 10px;
      -webkit-text-stroke: 0.3px white;
    }
  
    .bienvenida p {
      font-size: 13px;
      padding: 0 10px;
    }
  
    .tarjeta {
      width: 95%;
      padding: 10px;
      border-radius: 15px;
    }
  
    .tarjeta img {
      border-radius: 12px;
    }
  
    .input-container {
      padding: 0 5px;
    }
  
    input[type="text"] {
      font-size: 14px;
      padding: 8px;
    }
    .sparkle {
      animation-duration: 0.8s !important;
    }
    
  
    button,
    .boton-ver {
      font-size: 16px;
      padding: 10px 20px;
      border-radius: 8px;
      margin-bottom: 60px;
    }
  
    footer {
      font-size: 11px;
      padding-bottom: 20px;
    }
  }
  