/* Reinicia los márgenes, rellenos y define el modelo de caja */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estiliza el título principal */
.titulo h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: italic;
    font-size: 2.2em;
}

/* Línea decorativa debajo del título */
.borde-titulo {
    width: 100%;
    height: 2px;
    background-color: black;
    margin: 1% 0;
}

/* Contenedor general del contenido */
.contenido {
    display: flex;
    width: 90%;
    flex-direction: column;
    margin: 0 5%;
}

/* Sección principal con imagen y texto */
.contenido-principal {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}

/* Imágenes dentro de la sección principal */
.contenido-principal img {
    width: 48%;
    height: 37vh;
}

/* Estilo para el texto dentro del contenido principal */
.texto {
    display: flex;
    width: 50%;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
    margin-top: 2%;
}

/* Contenedor de texto y botón */
.texto-boton {
    display: flex;
    height: 70%;
    justify-content: space-around;
    flex-direction: column;
    font-size: 1em;
}

/* Efectos de interacción en enlaces dentro del contenedor de texto */
.texto-boton a:hover {
    color: white;
    background-color: orange;
}

.texto-boton a:visited {
    color: rgb(194, 144, 194);
}

/* Botón dentro del contenido principal */
.boton1 {
    display: flex;
    justify-content: center;
    width: 30%;
    margin-left: 70%;
    background-color: rgb(201, 195, 195);
    color: white;
    border-radius: 20px;
    padding: 1%;
    text-decoration: none;
    text-align: center; /* Asegura que el texto quede centrado */
}

/* Sección secundaria con imagen y texto en orden inverso */
.contenido-secundario {
    display: flex;
    width: 100%;
    flex-direction: row-reverse;
    justify-content: space-between;
}

/* Imágenes dentro de la sección secundaria */
.contenido-secundario img {
    width: 48%;
    height: 37vh;
}

/* Botón dentro del contenido secundario */
.boton2 {
    display: flex;
    justify-content: center;
    width: 30%;
    margin-right: 70%;
    background-color: rgb(201, 195, 195);
    color: white;
    border-radius: 20px;
    padding: 1%;
    text-decoration: none;
    text-align: center; /* Asegura que el texto quede centrado */
}
