body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: url('img/fondo3.png') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden; /* Previene desbordamiento horizontal */
    justify-content: center;
    align-items: center;
}

header {
    width: 100%;
    overflow: hidden;

}

.header-image {
    width: 100%;  
    height: auto;
}

.header-content {
    position: relative;
    text-align: center;
    color: white;
}

.header-text {
    position: absolute;
    top: 75%; /* Bajado 3 renglones (ajuste del 50% al 65%) */
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    border-radius: 10px;
}

.main-text {
    font-family: "Qwitcher Grypen", serif;
    font-weight: 100;
    font-style: normal;
    font-size: 7em;
    text-shadow: 0px 6px 7px #000;
}

.sub-text {
    font-family: "mr-eaves-modern", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 3.5em;
    text-shadow: 0px 6px 7px #000;

}

.sub-text1 {
    font-family: "Cinzel", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    text-shadow: 0px 6px 7px #000;

}

.sub-text img{
    width: 30%;
}

.parents {
    display: flex; 
    flex-direction: column;
    align-items: center;
    padding: 30px;
    color: white;
    text-align: center;
}

.parents h1 {
    font-family: "Cinzel", serif;
    font-weight: 500;
    font-style: normal;
    font-size:2.54em;
    color: #afa55f;
}

.parents h2 {
    font-family: "Rouge Script", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2em;
    color: #afa55f;
}



.parents h3 {
    font-family: "Rouge Script", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2em;
    color: #afa55f;
}

.column {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 600px; /* Limita el ancho máximo para centrar las columnas */
    margin-bottom: 20px;
}

.row {
    background: rgba(255, 255, 255, 0.5); /* Fondo semitransparente */
    margin: 10px;
    padding: 20px;
    border-radius: 40px;
    border: 2px solid #afa55f;
    text-align: center;
    width: 100%; /* Ajusta el ancho de las filas con margen */
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7); /* Agrega sombra al cuadro */
}

.container {
    color: #afa55f;
    margin-top: 5%;
    display: flex; 
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    height: 95 %; /* Ajusta la altura para dejar espacio al encabezado */
}

.container h1{
    font-family: "Rouge Script", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3em;
}

.container h2{
    font-family: "Qwitcher Grypen", serif;
    font-weight: 100;
    font-style: normal;
    font-size: 7em;
}

.countdown-wrapper { 
    text-align: center; 
    padding: 20px; border-radius: 10px; 
}

.countdown-wrapper h1{
    font-family: "Qwitcher Grypen", serif;
    font-weight: 300;
    font-style: normal;
    font-size:5em;
    color: #afa55f;
} 

.countdown-container { 
    display: flex; 
    justify-content: space-around; 
    width: 80%; 
    max-width: 1000px; 
    margin: 0 auto; 
} 
    
.countdown-circle { 
    width: 50%; 
    height: 130px; 
    border-radius: 10%; 
    background-color: #afa55f; 
    color: white; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-family: "Rouge Script", serif;
    font-size: 2.5rem; 
    margin: 10px; 
}

.main{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}

.img-box{
    width: 300px; 
    margin: 10px;
    transition: all .5s;
    cursor: pointer;
}
.img-box img{
    width: 100%;
}

.img-box:hover{
    transform: scale(1.05);
}

.window{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.857);
    transition: all 0.8s;
    z-index: 3;
}
.window.open{
    opacity: 1;
    pointer-events: all;
}
.window img{
    width: 50%;
}
.window .full-img{
    width: 70%;
}

.eventos {
    margin-top: 100px;
    background: rgba(255, 255, 255, 0.5); /* Fondo semitransparente */ 
    display: flex; 
    flex-wrap: wrap; /* Permite que los elementos pasen a una nueva línea si es necesario */
    justify-content: center; 
    align-items: center;
    margin-left: auto; 
    margin-right: auto; 
    width: 80%; 
    padding: 20px; 
    border-radius: 10px;
    border-radius: 40px;
    border: 1px solid #afa55f; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7); 
}

.columnas { 
    width: 45%; /* En pantallas verticales, ocupa el 100% del ancho */
    text-align: center; 
    margin-bottom: 20px;
} 

p { 
   font-family: "Rouge Script", serif;
   font-size: 2.5rem;
   color: #afa55f; 
}

p1 {
    font-family: "Rouge Script", serif; 
    font-size: 2rem;
    color: #afa55f;
}

a {
    font-family: "Rouge Script", serif;
    font-weight: lighter;
    font-size: 1.5rem;
    text-decoration: none;
    color: #afa55f;
}

p, p1, h4, a { 
    margin: 5px 0; /* Reduce el espacio superior e inferior */
    padding: 0;     /* Elimina el relleno adicional */
    line-height: 1.2; /* Ajusta la altura de línea para un espaciado más compacto */
}

.columnas h4{
    font-family: "Rouge Script", serif;
    font-weight: lighter;
    font-size: 2rem;
    color: #afa55f;
}

.columnas h6{
    font-family: "Cinzel", serif;
    font-weight: bolder;
    font-size: 2rem;
    color: #8f864c;
    margin: 10px 0px;
} 

.thumbnail { 
    width: 100%; 
    max-width: 200px; 
    margin-top: 10px; 
    border-radius: 5px; 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); 
}

.hospedaje {
    justify-content: center;
    display: flex; 
    flex-direction: column;
    padding: 30px;
    color: white;
    align-items: center;
}

.hospedaje p1{
    font-family: "mr-eaves-modern", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 2em;
    color: #5b5f50;
    text-align: center;
}

.hospedaje h1 {
    font-family: "Cinzel Decorative", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 2em;
    color: #5b5f50;
    text-align: center;
}

.hospedaje h2 {
    font-family: "Cinzel Decorative", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1em;
    color: #5b5f50;
}

.hospedaje h3 {
    font-family: "Rouge Script", serif;
    font-weight: 200;
    font-size: 2em;
    color: #afa55f;
}

.hospedaje span{
    margin-top: 20px;
}

.hospedaje a, p{
    text-decoration: none;
    color: #5b5f50;
}

.column-event {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 600px; /* Limita el ancho máximo para centrar las columnas */
    margin-bottom: 20px;
    justify-content: center;
}

.row-event {
    background: rgba(255, 255, 255, 0.5); /* Fondo semitransparente */
    margin: 10px;
    padding: 20px;
    border-radius: 20px ;
    border: 1px solid #afa55f;
    text-align: center;
    width: 100%; /* Ajusta el ancho de las filas con margen */
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7); /* Agrega sombra al cuadro */
}

.row-whats {
    background: rgba(255, 255, 255, 0.5); /* Fondo semitransparente */
    margin: 10px;
    padding: 20px;
    border-top-left-radius: 40px;
    border-radius: 40px ;
    border: 1px solid #afa55f;
    text-align: center;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7); /* Agrega sombra al cuadro */
}

.row-whats:hover {
    background-color: rgba(249, 230, 210, 0.5);
}





