@import url('"https://fonts.googleapis.com/css?family=Roboto|Taviraj:100i,700"');
@import url('normalize.css');
* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    width: 100%;
}

html{
min-height: 100vh;}


a { color: cornflowerblue; text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }


.fila.fixed { /* para cuando el "header" quede fijo arriba*/
    position: fixed;
    background-color: lightcoral;
    width: 100%;
    max-width: 100%;
    top: 0;
    z-index: 9999;
    transition: all 1s ease;
}

.fila { /*
    clase para "envolver módulos"
    centrando y restringiendo
    el ancho de los contenidos
     */
    max-width: 40rem;
    margin: 0 auto;
    padding: .5rem;
}

/* encabezado */

header .fila {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    position: relative;
}

#logo {
    padding: .5rem;
    text-align: center;
    flex-basis: 7.5rem; 
}

#logo img { display: block;}


/* menu 1 */

/* botón para llamar el menu 1 */

#para_menu_1 {
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    padding: .8em .3em;
    z-index: 200;
}

#para_menu_1:hover {
    color: lightcoral;
    background-color: white;
}

#menu_1 {
    z-index: 100;
    position: fixed;
    width: 50%;
    top: 4em;
    left: 100vw;
    background-color: rgba(240, 128, 128, 0.95);
    border: solid 2px white;
    border-radius: 5px;
    list-style-type: none;
    overflow: hidden;
    padding: 0px;
    transition: all 1s ease;
}

#menu_1 li a,
#menu_2 li a {
    color: white;
    display: block;
    font-weight: bold;
    line-height: 2em;
    padding-right: 1em;
    padding-left: 1em;
    text-decoration: none;
}

#menu_1 li a:hover,
#menu_2 li a:hover {
    color: lightcoral;
    background-color: white;
}

#menu_1.menu_visible {
    left: calc( 50% - 0.5em);
    transition: all .6s ease;
}


//////////////////////////////////////////* contenidos */

main {
    padding: 4em 0 2em 0;
    background: white;

}
.alturamain{
    margin-top: 13vh;
}

.filtros a {
    color: lightcoral;
    display: block;
    font-weight: bold;
    line-height: 2em;
    padding-right: 1em;
    padding-left: 1em;
    text-decoration: none;
}

//////////////////////////////////////////////////////*aside////////////////////////////////////////////////////////*/



h1 {
    margin: 0;
    padding: 1rem;
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-image: url(../imagenes/galeria/grandes/master-galeria_r1_c1_s10.jpg);
    background-size: cover;
    font-size: 3em;
    color: white;
    text-align: center;
    text-shadow: 0 .1em .1em rgba(0,0,0,0.8);
    
    /* para efecto parallax: */
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: -1; /* para que quede abajo */
    background-position: center 0px;
    background-repeat: no-repeat;
    overflow: hidden;   
}

h2,
h3,
h4,
h5,
h6 {
    border-bottom: solid 1px  lightcoral;
    color: lightcoral;
    padding-top: 0;
    padding-bottom: 0.5em;
}



/* menu 2 */

#para_menu_2 {
    background-color: lightcoral;
    cursor: pointer;
    font-weight: bold;
    padding: 0.5em;
    margin: 0;
}

#para_menu_2:hover {
    color: lightcoral;
    background-color: rgba(0, 0, 0, 0.25);
}

#menu_2 {
    position: relative;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    margin: 0;
    display: none;
    /* se oculta */
    background-color: rgba(240, 128, 128, 0.95);
    border: none;
    border-radius: 0;
    list-style-type: none;
    padding: 0px;
    width: 100%;
    height: auto;
}
footer{
 position: fixed;
    left: 0px;
    bottom: 0px;
    width: 100%;
    background: grey;
       padding: .3em .3em;
}

.boton1{
  color: white;
    font-size: .8em;
       padding: .8em .3em;
}

* {
	margin:0;
	padding:0;
}
 
body {
	background:#e9e9e9;
}
 
.contenedor {
	width:90%;
	margin:15px auto;
}
 
.elemento {
	width:220px;
	background:#fff;
	float:left;
	margin-right:15px;
	margin-bottom:15px;
	box-shadow:0 1px 2px 0 rgba(0,0,0,0.22);
}
 
.elemento p {
	padding:10px;
	font-size:13px;
}
 
.elemento img {
	width:100%;
}
/*
**************************************

Aquí comienzan las "mediaqueries",
las reglas de estilo
que cambian o se agregan
cuando se ensancha la pantalla

**************************************
*/



@media (min-width:40em) {
    /*	si el ancho mínimo
	es de aprox. 560px */

    #para_menu_1,
    #para_menu_2 {
        display: none;
        /* oculta los "llamadores" de los menus */
    }

    #menu_1,
    #menu_2 {
        position: relative;
        width: auto;
        height: auto;
        left: 0;
        top: 0;
        display: flex;
        /* muestra los menus
        y los hace horizontales */
    }
    

}