/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    padding: 0;
}

.container {
    width: 100%;
    margin: 0 auto;
}

.modalHeader h3 {
  font-family: "Hurricane", cursive;
  font-weight: 500;
  font-size: 55px;
}

.image-container {
    position: relative;
    background-image: url('/img/1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 30px;
}

.overlay-image {
    position: absolute;
    height: auto;
}

#modalCode h5 {
    background: rgba(212, 212, 212, 0.459);
    color: black;
    padding: 30px 0;
    font-size: 4rem;
    width:100%;
    text-align: center;
}

@media screen and (min-width: 768px) {
    #modalCode .modal-content {
        display: none;
    }
}

.image-1 {
    top: 5%;
    left: 5%;
}

.image-2 {
    bottom: 20%;
    left: 5%;
}

.image-3 {
    bottom: -5%;
    left: 5%;
}

.two-container {
    position: relative;
    width: 100%;
    min-height: 250px; /* Altura mínima */
    background-image: url('/img/2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
}

.addTwo {
    min-height: 350px;
    
}

.allsec, .allimg, .allsecs, .allimgs, .allsecss, .allimgss {
    display: flex;
    align-items: center; 
    justify-content: center; 
    box-sizing: border-box;
}

.allsec {
    flex: 2;
}

.allimg {
    flex: 1;
    margin-left: -20px;
    flex-direction: column;
}

.allsec img {
    max-width: 100%; 
    max-height: 100%;
}

.allimg img {
    object-fit: contain;
}

.allsecs {
    flex: 1;
    flex-direction: column;
    z-index: 10;
}

.allimgs {
    flex: 2.5;
}

.allsecs img {
    margin-left: 150px;
    min-width: 20%;
    max-width: 130%;
}

.allimgs img {
    object-fit: contain;
    margin-left: 20px;
    max-width: 100%;
}

.three-container {
    padding: 15px 0;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.four-container {
    position: relative;
    width: 100%;
    min-height: 700px; /* Altura mínima */
    background-image: url('/img/4.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
}

#contador-container {
    color: white;
    margin: 585px 0 0 80px;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.separador {
    padding: 0 2px;
}

.contador-fila {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.contador-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    justify-content: center;
}

.contador-numero {
    font-size: 50px;
    font-weight: 400;
    color: white;
    text-align: center;
  font-family: "Abril Fatface", serif;
    font-style: normal;
}

.contador-etiqueta {
    font-size: 5px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    margin-top: -10px;
}

.separador-invisible {
    width: 5px;
    margin: 0 1px;
}

.five-container {
    padding: 20px 0;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.six-container {
    position: relative;
    width: 100%;
    min-height: 650px; /* Altura mínima */
    max-height: 650px;
    background-image: url('/img/8.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.seven-container {
    position: relative;
    width: 100%;
    min-height: 400px; /* Altura mínima */
    background-image: url('/img/2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
}

.allsecss {
    flex: 2;
}

.allimgss {
    flex: 1;
    flex-direction: column;
}

.allsecss img {
    max-width: 75%; 
    max-height: 75%;
    margin-left: -50px;
}

.allimgss img {
    margin-left: -140px;
}

/* Estilos para el modal */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('/img/modalBoda.webp') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
  font-family: "Montserrat", sans-serif;
}

.modal-content {
    background: rgba(245, 231, 213, 0.689);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    margin-top: 200px;
}

.modalHeader h4 {
    font-size: 3em;
    margin-bottom: 15px;
    color: #0e0e0e;
    font-family: "Hurricane", cursive;
    font-weight: 500;
    padding: 0 20px;
    line-height: 40px;
}

#tituloGracias {
    font-size: 2em;
    margin-bottom: 15px;
    color: #0e0e0e;
    font-family: "Hurricane", cursive;
    font-weight: 500;
}

.modalBody,
.modalInput,
.modalFooter {
    margin: 10px 0;
}

.modalBodys {
    padding: 10px 0;
    display: flex;
    height: auto;
    justify-content: center;
    align-items: center;
  font-family: "Montserrat", sans-serif;
}

.modalBodys .select {
    flex: 1;
}

.modalBodys .label {
    flex: 2;
  font-family: "Montserrat", sans-serif;
}

.modalBoton {
    margin: 15px 0;
}

.modalBody p,
.modalFooter p {
    color: #2b2b2b;
    font-size: 1.1em;
}

.modalBodyAdd {
    margin-bottom: -7px;
}

.modalBodyAdd span {
    color: #494949;
    font-size: 13px;
}

.modalInput input {
    width: 80%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1em;
}

.modalBoton button {
    padding: 10px 20px;
    border: none;
    background-color: #c69c6d;
    color: white;
    border-radius: 10px;
    font-size: 1em;
    cursor: pointer;
}

.modalBoton button:hover {
    background-color: #a77d4a;
}

.error-text {
    color: red;
    font-size: 0.9em;
}

input[type="checkbox"]:checked {
  accent-color: #c69c6d;
}

select {
  color: #c69c6d;
}

select option {
  background-color: #c69c6d;
}

body.modal-open {
  overflow: hidden;
}

#mainContent {
  display: none;
}

.modal-confirmacion {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  font-family: "Montserrat", sans-serif;
}

.modal-confirmacion .modal-content {
    padding: 2rem;
    border-radius: 1rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    background: rgba(245, 231, 213, 0.689);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.hidden {
  display: none !important;
}

.modalBody .label {
    margin-bottom: 10px;
}

.modalBody .label label {
    font-size: 1em;
    color: #333;
    display: block;
  font-family: "Montserrat", sans-serif;
}

.modalBodys .select select {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1em;
    background-color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

select.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 2s ease-out, transform 2s ease-out;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-sections {
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.fade-sections.visible {
  opacity: 1;
}

/* Responsive para móviles */
@media (max-width: 600px) {
    
    
    #modalCode h5 {
        display: none;
    }
    
    .contador-numero {
        font-size: 26px;
    }
    .separador {
        font-size: 20px;
        padding: 0;
    }
    .contador-item {
        min-width: 60px;
    }
}
/* Media Queries para responsividad */

@media (min-width: 992px) {
    .container {
        width: 60%;
    }
    
    .overlay-image {
        max-width: 35%;
    }
}

@media (max-width: 750px) {
    .image-container {
        min-height: 850px;
    }
    
    .image-1 {
        top: 5%;
        left: 10%;
        max-width: 75%;
    }

    .image-2 {
        bottom: 17%;
        left: 8%;
        max-width: 85%;
    }

    .image-3 {
        bottom: -2%;
        left: 8%;
        max-width: 80%;
    }

    .allsec {
        padding: 10px 0;
    }
    
    .image-4 {
        min-width: 90%;
        margin-left: 4%;
        filter: brightness(60%) contrast(180%);
    }

    .image-5 {
        top: 10%;
        margin-left: -32%;
        max-width: 80%;
    }
    
    .image-6 {
        top: 35%;
        margin-left: -25%;
        max-width: 80%;
    }
    
    .image-7 {
        top: 73%;
        margin-left: 0;
        max-width: 80%;
    }
    
    .image-8 {
        max-width: 60%;
    }
    
    .image-9 {
        top: -2%;
        left: 15%;
        max-width: 70%;
    }

    .image-10 {
        top: 12%;
        left: 15%;
        max-width: 70%;
    }

    .image-11 {
        top: 69%;
        max-width: 99%;
    }

    .image-12 {
        max-width: 75%;
    }
    
    .image-13 {
        padding: 8px 0 20px 0;
        max-width: 80%;
    }
    
    .image-14 {
        max-width: 70%;
    }

    .image-16 {
        margin-top: 20px;
    }

    .image-17 {
        filter: brightness(70%) contrast(180%);
    }
    
    .image-18 {
        max-width: 60%;
    }
    
    .image-19 {
        max-width: 80%;
    }
    
    .image-20 {
        max-width: 80%;
        margin-top: 0;
    }
    
    .image-21 {
        max-width: 60%;
    }
    
    .image-22 {
        max-width: 73%;
    }
    
    .image-23 {
        max-width: 28%;
    }
    
    .image-24 {
        max-width: 30%;
        filter: brightness(70%) contrast(150%);
    }
    
    .image-25 {
        top: 29%;
        max-width: 50%;
    }
    
    .image-26 {
        top: 43%;
        max-width: 50%;
    }
    
    .image-27 {
        top: 60%;
        max-width: 50%;
    }
      
}

#reproductor-musica {
    margin: 640px 0 40px -140px;
    justify-content: center;
    align-items: center;
}

#boton-musica {
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 8px;
}

.material-icons {
    font-size: 68px;
    color: #ffffff;
    transition: all 0.3s ease;
    top: 0;
    left: 0;
}

#boton-musica:hover .material-icons {
    color: #ffffff;
    transform: scale(1.05);
}

#icono-play {
    display: block;
}

#icono-pause {
    display: none;
}

.pausado #icono-play {
    display: block;
}

.pausado #icono-pause {
    display: none;
}

