@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800;900&display=swap');
</style>

/* Reglas generales */

body{
    background-color: white;
    font-family: 'Nunito',sans-serif;
    text-align: center;
    min-height: 100vh;
    /*Las siguientes declaraciones sirven para que footer quede abajo*/
    /*caja flexible*/
    display: flex;
    /* dirección de los elementos */
    flex-direction: column;
    /* organización de los elementos según el eje principal (vertical de la propiedad anterior) */
    justify-content: space-between;    
}

body {
    font-family: 'nunito', sans-serif;
    text-align: center;
}


h1, h2, h3{
    font-weight: 800;
    font-size: 1.5em;
}

ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
}

img{
    width: 100%;
    height: auto;
}

.mapaa {
    max-width: 100%;
    height: auto;
    
}

.mapab {
    max-width: 100%;
    height: auto;
}


/* 1° parte de css para celulares, mobile first */

header .dgpc {
    width: 30%;
    height: auto;
}

header .botonera {
    text-align: center;   
}


nav ul {
    margin-top: 1em;
    background-color: cadetblue;
    border-radius: 0.8em;
    list-style: none;
    padding: 0.5em;
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-around;
    
}

nav ul li a {
    text-decoration: none;
    color: white;
    
}

main {
    background-color: gainsboro;
    /* crece para llenar la caja contenedora */
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

/* botón selecionado */

article#tema h1, h2, h3{
    line-height: 2em;
    padding: 0.1em;
    background-color: cadetblue;
    border-radius: 50em;
    font-size: 1.5em;
    color:black;    
}

article#tema ul li{
    color: dimgray;
    font-size: 1em;
} 

.logouba {
    width: 70%;
    height: auto;
    padding: 0.7em;
    margin: 0 0 0 3.5em;
    
}

.logodgpc {
    width: 30%;
    height: auto;
    padding: 0.7em;
    margin: 0 0 0 9em;
    
}

footer {
    background-color: #d0d0d0;
    padding: 0.7em;
    margin: 2em 0 0 0;
}

footer p{
    color: black;
    font-size: 0.9em;
}