body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

#loading-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  flex-direction: column;
 transition: opacity 1s ease;
}
#loading-screen.fade-out {
  opacity: 0; 
}

#loading-screen img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
  content: url("inside-out.jpg");
}

@media only screen and (max-width: 768px) {
  #loading-screen img {
    content: url("inside-outmvl.jpg");
  }
  #menu{
    width: 95%;
  }
}
#loading-screen.fade-out {
  background-color: #fff; 
  opacity: 0; 
}
.overlay-text {
  font-size: 8.5em;
  font-family: 'Inside Out', sans-serif;
  color: white;
  text-align: center;
  font-weight: bold;
  z-index: 3;
  position: relative;
  top: -300px;
  margin: 0;
  text-shadow: 
    0 0 5px #d9e6fa,
    0 0 20px #d9e6fa,
    0 0 30px #d9e6fa,
    0 0 40px #d9e6fa;
}
@media only screen and (max-width: 768px) {
  .overlay-text {
    font-size: 6em;
    top: -42%;
    text-shadow: 
    0 0 5px #d9e6fa,
    0 0 20px #d9e6fa,
    0 0 30px #d9e6fa,
    0 0 40px #d9e6fa;
  }
}
#main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh; 
  transform: translateY(100%); 
  animation: slideIn 1s forwards; 
}

@keyframes slideIn {
  0% {
    transform: translateY(100%); 
  }
  100% {
    transform: translateY(0); 
  }
}

/* Carga invi */
#main-content.show {
  display: flex;
  animation: none; 
}

.invitation-card {
  background-image: url('fondo1.jpg');
   background-size: contain;
  background-attachment: fixed; 
  background-repeat: no-repeat;
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.titulo {
  font-size: 2.5em;
  font-family: 'Inside Out', sans-serif;
  color: #333;
}

.invitation-details {
  font-size: 1.2em;
  margin: 20px 0;
  color: #000000;
}

#enter-button {
  display: flex;
  flex-direction: column; 
  align-items: center;
  background-color: white;
  border: 3px solid #FFD700;
  color: black;
  font-size: 20px;
  padding: 10px 20px;
  margin: 20px auto; 
  cursor: pointer;
  border-radius: 15px; 
  transition: all 0.3s ease;
  font-family: 'Inside Out', sans-serif;

}

#enter-button i {
  font-size: 70px;
  margin-top: 5px; 
  transition: transform 0.3s ease; 
  animation: blink 1.5s infinite; 
}

#enter-button:hover i {
  transform: scale(1.2); 
}

/* Botones del menú */
.menu-button {
  padding: 10px 20px;
  font-size: 1.2em;
  background-color: #FFD700;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  border-radius: 5px;
  width: 100%;
}

.menu-button:hover {
  background-color: #FFB700;
}

/* Partes menu */
.section {
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
  width: 90vw; 
  max-width: 600px; 
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-left: auto;
  margin-right: auto; 
}

form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-bottom: 14px;
  font-size: 1.1em;
  margin-right: 10px;
}

form input {
  padding: 8px;
  margin-bottom: 15px;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 70%; 
  box-sizing: border-box; 
}

form button {
  padding: 10px 20px;
  font-size: 1.2em;
  background-color: #FFD700;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  border-radius: 5px;
}

form button:hover {
  background-color: #FFB700;
}

/* canciones */
#nombrecancion{
  margin-right: 16px;
}
.song-input {
  display: flex;
  align-items: center; 
  margin-bottom: 10px;
}

.song-input input {
  margin-left: 10px; 
  flex-grow: 1; 
}

/* Estilo del icono */
.add-song-icon {
  cursor: pointer;
  font-size: 20px;
  color: #FFD700;
  margin-left: 10px; 
  border: 2px solid #FFD700; 
  border-radius: 5px; 
  padding: 5px; 
  margin-bottom: 16px;
}

.add-song-icon:hover {
  color: #FFB700;
}

.song-container {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.song-container label {
  font-size: 1.2em;
  margin-right: 16px; 
}

.song-container input {
  width: 60%; 
  padding: 8px;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-right: 10px;
  box-sizing: border-box;
}

.nombres {
  font-size: 3.5em;
  font-family: 'Inside Out', sans-serif;
}
/* Animación de parpadeo */
@keyframes blink {
  0% {
    opacity: 1; 
  }
  50% {
    opacity: 0; 
  }
  100% {
    opacity: 1; 
  }
}
/* Mapa */
.mapouter {
  position: relative;
  text-align: right;
  height: 100%; 
  width: 100%; 
}

/* Ajustes para el iframe */
.gmap_canvas iframe {
  width: 100%; 
  height: 100%; 
  border: 0; 
}

.titulosection{
  font-family: 'Inside Out', sans-serif;
   text-align: center;
  }
.finca{
  height: 100%;
  width: 100%;
  object-fit: cover;
  }
  /* Iconos contacto */
.icon {
  width: 20px; 
  margin-right: 10px; 
  vertical-align: middle; 
}

.whatsapp-icon {
  color: green; 
  text-decoration: none; 
  font-size: 1.2em; 
}

.whatsapp-icon:hover {
  color: darkgreen; 
}

.call-icon {
  color: #000; 
  text-decoration: none; 
  font-size: 1.2em; 
}

.call-icon:hover {
  color: #007bff; 
}
/* Estilos específicos para el formulario de confirmación */
.confirmation-form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.confirmation-form .form-group {
  margin-bottom: 15px;
}

.confirmation-form label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.confirmation-form input[type="text"],
.confirmation-form input[type="radio"],
.confirmation-form select,
.confirmation-form textarea {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.confirmation-form input[type="radio"] {
  width: auto;
  margin-right: 10px;
}

.confirmation-form .additional-fields {
  margin-top: 20px;
}

.confirmation-form .submit-button {
  padding: 12px 20px;
  background-color: #FFD700;
  font-size: 1.2em; 
  color: black;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.confirmation-form .submit-button:hover {
  background-color: #FFB700;
}

.confirmation-form input[type="radio"]:checked + label,
.confirmation-form input[type="radio"]:checked + input[type="radio"] + label {
  font-weight: bold;
}
#fotoinvi{
  width: 100%;
   clip-path: circle(50%);
}  
button[data-section="playlist"] {
      background-color: #f67221;
}
button[data-section="playlist"]:hover {
      background-color: #59290C;
}
button[data-section="localizacion"] {
      background-color: #39b5ff;
}
button[data-section="localizacion"]:hover {
      background-color: #194F70;
}
button[data-section="contacto"] {
      background-color: #f95ebe;
}
button[data-section="contacto"]:hover {
      background-color: #813162;
}
#AdultNames, #ChildNames5, #ChildNames4 {
  margin-top: 2%;
}