/* El atributo class va precedido por un punto. (.) */
/*  Un selector id va precedido por un caracter numeral (#) */
 	
.centradoXY {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	}	      

.centrado {
 	    text-align:center;
 	}

/* Inicio MODO RESPONSIVE */

.container {
  width:100%;
  height: 100%;
  margin:0px auto;
  font-family:"Arial";
  font-size:1em;
  }

  section, aside {
    padding: 10px;
    background:#CCDDBB;
    border-radius:8px;
    }

  section {
    width: 60%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow-x: hidden;
    overflow-y: auto;
    }

  aside {
    float: right;
    width: 25%;
    }

  footer {
    position: fixed;
    width: 100%;
    right:0%;
    bottom: 0;
    left:0%;
    padding: 10px 0px 10px 0px;
    background-color: #BABDB6;
    text-align: center;
    }
	
	footer a {
        color: #fff;
    }

 

	/* para 980px o menos */
	@media screen and (max-width:980px) {
		.container {
			width:100%;

		}

		section {
			width: 80%;
		}
	}

 

	/* para 700px o menos */
	@media screen and (max-width:700px) {
		aside, section {
			float:none;
			width:96%;
			height: 100%;
		}

		nav, section {
			font-size:1.2em;
		}

		aside {
			margin-top:5px;
		}

		nav ul {
			float:none;
			clear:both;
		}
	}

 

	/* para 480px o menos */
	@media screen and (max-width:480px) {
        container {
          font-size:1em;
        }
        
		aside {
			display:none;
		}

		nav, section {
			font-size:1em;
		}

		section {
			width:94%;
			height: 100%;
		}

		nav ul {
			float:left;
			clear:none;
			width:50%;
		}

		nav ul li {
			float:none;
		}
	}

/* Fin MODO RESPONSIVE */


/* Inicio botón del menu 3 líneas */
*{
  font-family: Arial;
}

ul{
  display: none;
}

input:checked  ~ ul{
  display:block;
}

input {
  display: none;
}

label {
  box-sizing: border-box;
  display: inline-block;
  border: 1px solid black;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-weight: bold;
  text-align: center;
  user-select: none;
}

/* Estilo del boton cuando se pasa el mouse por encima*/
label:hover{
  background: grey;
}

/* Estilo del boton cuando el menú está expandido*/
input:checked ~ label {
  background: lightgrey; 
}

ul{
  margin-top:0;
  padding: 0;
  width: 200px;

}


li {
  display: block;
  background: lightgrey;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-bottom: 1px solid grey;
}

/*Estilo cuando el mouse pasa encima de cada link del menu*/
li:hover {
  filter: brightness(110%);
}
/* Fin botón del menu de 3 líneas */






