@media(max-width: 768px){

.header-text {
    position: absolute;
    top: 60%; /* Bajado 3 renglones (ajuste del 50% al 65%) */
    left: 50%;
    transform: translate(-50%, -30%);
    padding: 10px;
    border-radius: 10px;
    width: 70%;
}

.main-text {
    font-family: "Qwitcher Grypen", serif;
    font-weight: 300;
    font-style: normal;
    font-size:2.5em;
    text-shadow: 0px 6px 7px #000; 
}


.sub-text1 {
    font-family: "Cinzel", serif;
    font-weight: 200;
    font-style: normal;
    font-size: .8em;
    text-shadow: 0px 6px 7px #000;
}
.sub-text img{
    width: 10%;
}

.parents {
    display: flex; 
    flex-direction: column;
    align-items: center;
    padding: 20px;
    color: white;
    text-align: center;
}

.parents h1 {
    font-family: "Cinzel", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5em;
    color: #5b5f50;
}

.parents h3 {
    font-family: "Rouge Script", serif;
    font-size: 1.5em;
    font-weight:300;
    color: #8e8344;
}

.parents h6{
    font-family: "Cinzel", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1em;
    color: #636a51;
    margin: 5px;
}

.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: 20px;
    border: 1px solid #afa55f;
    text-align: center;
    width: calc(90% - 10px); /* 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: #5b5f50;
    margin-top: 5%;
    display: flex; 
    flex-direction: column;
    align-items: center;
    padding: 20px;
    color: #5b5f50;
    text-align: center;
    height: calc(35vh - 20px); /* Ajusta la altura para dejar espacio al encabezado */
    text-align: center;
}

.container h1{
    font-family: "Cardo", serif;
    font-weight: 200;
    font-style: normal;
    font-size: 1rem;
}

.container h2{
    font-family: "Qwitcher Grypen", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 3em;
}

.countdown-wrapper {
    text-align: center; 
    padding: 20px; border-radius: 10px; 
}

.countdown-wrapper h1{
    font-family: "Cinzel", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1em;
    color: #5b5f50;
} 

.countdown-container { 
    display: flex; 
    justify-content: space-around; 
    width: 100%; 
    max-width: 1000px; 
}

.countdown-circle { 
    width: 65px;
    height: 65px;
    border-radius: 50%; 
    background-color: #afa55f; 
    color: white; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-family: "Rouge Script", serif;
    font-size: 1.5rem; 
    margin: 10px; 
}

.window .full-img{
    width: 80%;
}

.eventos {
    margin-top: 60px;
}

.columnas { 
        width: 100%; /* Cuando la pantalla es horizontal, ocupa la mitad del ancho */
    }

p { 
   font-family: "Rouge Script", serif;
   font-size: 2rem;
   color: #8e8344; 
}

p1 {
    font-family: "Rouge Script", serif;
    font-size: 1.8rem;
    color: #afa55f;
}

.columnas h6{
    font-family: "Cinzel", serif;
    font-weight: bolder;
    font-size: 1.2rem;
    color: #8f864c;
    margin: 10px 0px;
} 

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 */
}

.thumbnail { 
    width: 100%; 
    max-width: 200px; 
    margin-top: 10px; 
    border-radius: 5px; 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); 
}

.hospedaje h1 {
    font-family: "Cinzel", serif;
    font-size: 1.2em;
    color: #5b5f50;
    text-align: center;
}
}