body{
	margin: 0px;
  	font-family: 'Inconsolata', monospace;
  	background-color: #fffffb;
}

/*Flecha para hacer la pagina hacia arriba*/
.ir-arriba{
  display:none;
  background-repeat:no-repeat;
  font-size:20px;
  color:#000d4d;
  cursor:pointer;
  position:fixed;
  bottom:10px;
  right:10px;
  z-index:2;
}

header{
	padding: 10px;
 	text-align: center;
  display: flex;
}

header img{
	height: 100px;
  margin: auto;
}

nav {
  padding: 25px;
  text-align: center;
  background-color: #000d4d;
}

nav a {
  background-color: white;
  color: #000d4d;
  font-weight: bold;
  padding: 10px;
  margin: 5px;
  font-family: 'Righteous', cursive;
  text-decoration: none;
  border: 1px solid #ff9c24;
  border-radius: 5px;
}

nav a:hover {
  border: 1px solid white;
  background-color: #ff9c24;
  color: #000d4d;
}

.contenedor{
  display: flex;
}

.principal{
  /*background-color: #B8B8D1;*/
  width: 65%;
  margin: 10px;
 /* Con esto centro vertical y horizontalmente */
  display: flex;
  justify-content: center;
  align-items: center;
}

aside{
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(media/logotipo-asdef.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 35%;
  margin: 10px 10px 10px 0px;
  padding: 10px 10px;
  color: #000d4d;
  font-family: 'Righteous', cursive;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

h2{
  font-family: 'Righteous', cursive;
  font-size: 30PX;
  color: #000d4d;
}

h3{
  font-family: 'Righteous', cursive;
  font-size: 30PX;
  color: #000d4d;
  padding-left: 20px;
}

.textos{
  overflow: auto;
  padding: 35px;
  font-size: 1.5em;
  color: #000d4d;
  background-color: #f7f7f7;
  text-align: justify;
}

.flotaderecha{
  float: right;
  width:40%;
  margin-left: 15px;
  border: 3px solid #ff9c24;
}

.flotaizquierda{
  float: left;
  width:40%;
  margin-right: 15px;
  border: 3px solid #ff9c24;
}

.publicidad {
  //background: linear-gradient(to right,#000d4d 0,#ff9c24 100%);
  /* COLOR GRADUAL: lado hacia donde va el degradado - primer color - segundo color */
  background-image: url(media/favicon.png);
  background-color: #000d4d;
  text-align: center;
  padding: 50px 25px;
  width:60%;
  margin:50px auto;
  text-shadow: 1px 1px 1px rgba(255,255,255,0.6);
  box-shadow: #000d4d 2px 2px 10px 2px;
  clear: both;
  color: #000d4d;
  font-family: 'Righteous', cursive;
  font-size: 20px;
  /* BOX SHADOW: sombra horizontal - sombra vertical - desenfoque de la sombra -  tamaño de la sombra */
}

h1{
  background-color: white;
}

.galeria {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background-color: #f7f7f7;
}

.galeria img{
  height: 150px;
  margin: 25px;
}

.cajaform{
  padding: 30px;
  margin-top: 10px;
  background-color: #ff9c24;
  color: #000d4d;
  font-family: 'Righteous', cursive;
  font-size: 1,5em;
  text-align: center;
}

.formulario{
  background-color: white;
  border: 3px solid  #000d4d;
  font-size: 1,5em;
}

label{
  display: block;
}

.contacto{
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Righteous', cursive;
  color: #000d4d;
  font-size: 24px;
}

.norte{
  margin: 15px;
}

.contacto img{
  vertical-align: middle;
  width: 30px;
  margin: 5px;
}

footer {
  background-color: #000d4d;
  font-family: 'Righteous', cursive;
  color: white;
  padding: 15px;
  text-align: center;
}

footer a{
  text-decoration: none;
  color: #ff9c24;
}

footer img{
  /* Esta regla sólo afecta a las img que estén dentro de la caja 3 */
  vertical-align: middle;
  height: 35px;
  margin: 0px 5px;
}