/* terminos.css */

/* Hoja dedicada a la pagina de terminos y condiciones */

/* Estilos para el header */
.header {
    background-color: #000000; 
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgb(255, 255, 255); 
    transition: background-color 0.3s ease, padding 0.3s ease;
  
}


.navbar ul {
    display: flex;
    justify-content: flex-start; 
    padding-left: 0; 
}

.navbar li {
    margin-right: 20px; 
}

.iniciox {
    margin-left: 0; 
}



/* Contenedor principal de header en una sola fila */
.menu-container {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* estilos de navegacion */
.navbar ul {
    display: flex;
    list-style: none;
    gap: 20px;
}


.navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: white;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
    width: 100%;
}

.iniciox{

    justify-content: left;
}
/* Reset de márgenes y paddings específicos para esta página */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    padding: 40px 20px; /* Espaciado alrededor del contenido */
}

/* Contenedor del contenido */
.terminos-contenido {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Título Principal */
.terminos-contenido h1 {
    font-size: 2.5em;
    color: #0d29a6;
    text-align: center;
    margin-bottom: 30px;
}

/* Párrafos Iniciales */
.terminos-contenido p:first-of-type {
    font-size: 1.1em;
    margin-bottom: 10px;
    text-align: center;
}

/* Última Actualización */
.terminos-contenido p:nth-of-type(2) {
    font-size: 1em;
    margin-bottom: 20px;
    text-align: center;
    color: #555;
}

/* Listas Ordenadas */
.terminos-contenido ol {
    margin-left: 40px;
    margin-bottom: 20px;
}

.terminos-contenido ol li {
    margin-bottom: 15px;
    font-size: 1em;
    color: #555;
    text-align: justify;
}

/* Enlaces dentro de la lista */
.terminos-contenido ol li a {
    color: #0d29a6;
    text-decoration: none;
}

.terminos-contenido ol li a:hover {
    text-decoration: underline;
}

/* Responsividad */
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    .terminos-contenido {
        padding: 15px;
    }

    .terminos-contenido h1 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .terminos-contenido p:first-of-type {
        font-size: 1em;
    }

    .terminos-contenido p:nth-of-type(2) {
        font-size: 0.95em;
    }

    .terminos-contenido ol li {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .terminos-contenido h1 {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .terminos-contenido p:first-of-type {
        font-size: 0.95em;
    }

    .terminos-contenido p:nth-of-type(2) {
        font-size: 0.9em;
    }

    .terminos-contenido ol li {
        font-size: 0.9em;
    }
}

