@font-face {
    font-family: 'harry'; /* Nombre que usarás para referenciar la fuente */
    src: url('../font/harry.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/CormorantGaramond.ttf') format('truetype');
    font-weight: 100 900; /* Rango de pesos variables */
    font-style: normal;
}

body {
    margin: 0;
    background-color: #ccb99c;
    display: flex;
    justify-content: center;
    
}

h4 {
    font-family: "Cormorant";
    font-size: 42px;
    color: #7a4447;
    margin-bottom: 10px;
}

.container {
    width: 430px;
    background-image: url("../src/bg.jpg");
    background-repeat: repeat-y;
} 

.f-harry {
    font-family: 'harry';
}

#date-intro {
    display: inline-block;
    width: 100%;
    text-align: center;
    color: #7a4447;
    font-size: 35px;
}

#intro-text-box {
    display: inline-block;
    width: -webkit-fill-available;
    margin-top: -35px;
    padding: 0px 20px 20px 20px;
    
}
#intro-text-box p {
    text-align: center;
    color: #7a4447;
    font-size: 26px;
    font-family: "Cormorant";
}

#countdown-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #7a4447;
    font-size: 35px;
    margin-top: -20px;
}
#countdown-box > span {
    font-family: "Cormorant";
    font-size: 26px;
}

#countdown {
    display: flex;
    gap:35px;
    margin-top: 0px;
    background-color: #e7d6be59;
    padding: 15px;
    border-radius: 15px;
}

#countdown > span{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#countdown > span > span{
    font-size: 65px;
}

#wedding-plan {
    background-color: #e7d6be59;
    width: calc(90% - 30px);
    margin-left: 5%;
    padding: 40px 15px;
    border-radius: 15px;
    
    backdrop-filter: blur(2px); /* efecto cristalino opcional */
}

#footer {
    height: 200px;
}


#confirm-box {
    text-align: center;
    margin: 20px 20px;  
}

#confirm-box p {
    font-family: Cormorant;
    color: #7a4447;
    font-size: 21px;
    font-family: "Cormorant";
}
#confirm-box b {
    font-size: 28px;
}
/* Formulario */


.formulario {
    background: #e7d6be59;
    border-radius: 15px;
    max-width: 650px;
    margin: 3rem auto;
    padding: 15px;
    color: #1a1a1a;
    backdrop-filter: blur(2px); /* efecto cristalino opcional */
    margin: 20px;
    font-family: "Cormorant";
    color: #4e2628;
    padding-bottom: 30px;
  }
  .line {
    display: block;
    width: -webkit-fill-available;
    border-bottom: 1px solid #5c3d1b45;
    margin: 20px 0px 0px 0px;
  }
  .formulario p {
    font-size: 18px;
  }
  h1 {
    text-align: center;
    font-size: 2.8rem;
    color: #5c3d1b;
    margin-bottom: 1.5rem;
    
    font-family: "Cormorant";
  }
  
  label {
    display: block;
    font-size: 1.1rem;
  }
  
  input[type="text"],
  select,
  textarea {
    width: -webkit-fill-available;
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-top: 0.5rem;
    font-size: 1rem;
  }
  
  input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 0.4rem;
  }
  
  .btn {
    margin-top: 2rem;
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: #7f0909;
    color: white;
    font-size: 1.2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .btn:hover {
    background: #5e0707;
  }
  
  .hidden {
    display: none;
  }
  
  #asistencias > div {
    display: flex;
    align-items: center;
  }

  .checkbox-magica {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    cursor: pointer;
  }
  
  .checkbox-magica input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #5e0707;
    background: #fffdf6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
  }
  
  .checkbox-magica input[type="checkbox"]::after {
    content: "🪄";
    position: absolute;
    top: -6px;
    left: -13px;
    font-size: 24px;
    opacity: 0;
    transform: scale(0.5) rotate(-20deg);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  
  .checkbox-magica input[type="checkbox"]:checked::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  
  
  .checkbox-magica input[type="checkbox"]:checked {
    background: #fff3db;
    border-color: #d4af37;
    box-shadow: 0 0 5px #d4af37;
  }

  /* Emojis por clase */
  .emoji-varita input[type="checkbox"]:checked::after {
    content: '🪄';
  }
  
  .emoji-estrellas input[type="checkbox"]:checked::after {
    content: '✨';
    top: -3px;
    left: -2px;
    font-size: 14px;
  }
  
  .emoji-bus input[type="checkbox"]:checked::after {
    content: '🚌';
    top: -9px;
    left: -6px;
    font-size: 20px;
  }
  .emoji-escoba input[type="checkbox"]:checked::after {
    content: '✔️';
    top: -8px;
    left: -3px;
    font-size: 18px;
  }

  #checkboxAssist {
    FONT-SIZE: 19px;
  }
  
  
  /*  BOTON MUSICA */


  .music-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .music-button {
    background: #7a4447;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background 0.3s;
    z-index: 1000;
  }
  
  .music-button:hover {
    background: #7a4447;
  }
  
  .music-label {
    background: #7a4447;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 18px;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.4s ease;
  }
  
  .music-label.hidden {
    opacity: 0;
    pointer-events: none;
  }
  