@charset "utf-8";

/*TIPOGRAFÍAS */
@font-face {
    font-family: 'arvobold';
    src: url('arvo-bold-webfont.eot');
    src: url('arvo-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('arvo-bold-webfont.woff2') format('woff2'),
         url('arvo-bold-webfont.woff') format('woff'),
         url('arvo-bold-webfont.ttf') format('truetype'),
         url('arvo-bold-webfont.svg#arvobold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'latobold';
    src: url('lato-bold-webfont.eot');
    src: url('lato-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('lato-bold-webfont.woff2') format('woff2'),
         url('lato-bold-webfont.woff') format('woff'),
         url('lato-bold-webfont.ttf') format('truetype'),
         url('lato-bold-webfont.svg#latobold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'latolight';
    src: url('lato-light-webfont.eot');
    src: url('lato-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('lato-light-webfont.woff2') format('woff2'),
         url('lato-light-webfont.woff') format('woff'),
         url('lato-light-webfont.ttf') format('truetype'),
         url('lato-light-webfont.svg#latolight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'latoregular';
    src: url('lato-regular-webfont.eot');
    src: url('lato-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('lato-regular-webfont.woff2') format('woff2'),
         url('lato-regular-webfont.woff') format('woff'),
         url('lato-regular-webfont.ttf') format('truetype'),
         url('lato-regular-webfont.svg#latoregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
/* FIN TIPOGRAFÍAS */

/* GENERAL */
* {
    margin: 0em;
    padding: 0em;
    box-sizing: border-box;
    list-style: none;
}

body {
    margin: auto;
    background-color: #5A5A5A;
}

#contenedor {
    margin: auto;
    max-width: 85em;
    min-width: 30em;
    min-height: 100vh;
    width: 100%;
}

header, main, footer{
    min-width: 30em;
    max-width: 85em;
    margin: auto;
}
/* FIN GENERAL */

/* HEADER */
header {    
    background-color: #222222;
    flex: 0;
    display: flex;
    justify-content: space-between;
}

.menus, #in{
    margin: auto;
}

.menus nav {
    margin-left: 1.5em;
    padding: 0em;
    font-family: "Latoregular", sans-serif;
    font-size: 0.9em;
    display: flex;
    justify-content: space-between;
}

.menus nav ul {
    padding: 0em 0em;
}

.menus nav ul li{
    list-style: none;
    padding: 0.2em;
}

.menus ul li a{
    text-decoration: none;
    color: white;
    margin: auto;
}

.menus nav{
    margin: auto;
}

.menus nav ul li a:hover{
    color: #E24546;
}

#menu1 li {
    border-left: 0.2em solid white;
    padding-left: 0.7em;
    margin-left: 1em;
    text-align: left;
}

#menu1 nav,
#menu2 nav{
    padding: 2.5em;
}

#menu2 li {
    border-right: 0.2em solid white;
    padding-right: 0.7em;
    margin-right: 1em;
    text-align: right;
}

#in{
    margin: auto;
    padding: 1.5em 0;
}

#in ul li a{
    text-decoration: none;
}

#in a {
    font-family: "Arvobold", sans-serif;
    font-size: 2.7em;
    color: white;
}

#in a span{
    font-family: "Arvobold", sans-serif;
    font-size: 1.5em;
    color: #df3130;
}

#destacado{
    color: #e24546;
}
/* FIN HEADER */


/* MAIN */
main {
    background-color: #e24546;
    height: auto;
    width: auto;
    max-width: 100vw;
    flex: 1;
}

main h1{
    font-family: "Latobold", sans-serif;
    font-size: 2.9em;
    color: white;
    margin: auto;
    padding-top: 1.2em;
    padding-left: 1em;
    max-width: 14em;
}

#contenidos{
    max-width: 40em;
    margin: auto;
}

.media {
    display: flex;
    align-items: flex-start;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
}

.media-imagen {
    margin-top: 3.5em;
    margin-bottom: 1.5em;
    margin-left: 3em;
    margin-right: 1em;
    width: 8em;
}

.media-texto {
  flex: 1;
}

.media-titulo{
    margin: 2.7em 1.5em 0em 0em;
    font-family: "Latobold", sans-serif;
    color: #222222;
    font-size: 1.5em;
    border-bottom-color: #222222; 
    border-bottom-style:solid;
    max-width: 25em;
}

main p{
    font-family: "Latoregular", sans-serif;
    color: white;
    font-size: 1.3em;
    padding-top: 0.2em;
    margin-right: 1.5em;
    max-width: 20em;
}

/* FIN MAIN */

/* FOOTER */
footer{
    background-color: #cfcfcf;
    width: auto;
    padding: 0.8em;
    flex: 0;
    height: auto;
}

footer p {
    color: black;
    max-width: 100vw;
    display: flex;
    text-align: center;
    justify-content: center;
    line-height: 1.2em;
    margin: auto;
    padding: 0.5em 1em;
    font-family: 'Latoregular', sans-serif;
    font-size: 1em;
}

/* FIN FOOTER*/

/* RESPONSIVE*/
/* a partir de 900px */
@media screen and (min-width:57em) {
    header ul{
        display: flex;
        justify-content: space-between;
        width: auto;
    }
    
    .menus ul{
        display: flex;
        justify-content: space-between;
        text-align: center;
                max-width: 22em;
    }
    
    .menus nav {
        font-family: 'Latobold', sans-serif;
        font-size: 0.9em;
        display: flex;
        text-align: center;
    }
    
    #menu1 a,
    #menu2 a{
        display: flex;
        justify-content: space-around;
    }
    
    #menu1 li{
        border-left-style: none;
        margin: auto;
        width: 20vw;
    }
        
    #menu2 li{
        border-right-style: none;
        margin: auto; 
    }     

    #menu2 li:first-child{
        width: 25vw;
    }
    
    #menu2 li:last-child{
        width: 15vw;
    }
    
    footer{
        height: 15vh;
    }
    
    #contenidos{
        max-width: 50em;
    }
    
   .media{
        display: flex;
        flex-wrap: nowrap;
        padding-left: 5em;
        margin: auto;
    }
    
    .media-imagen{
        flex: 0;
        min-width: 7em;
    }
    
    .media-titulo{
        max-width: 25em;
    }
    
    main p{
        max-width: 50em;
        display: flex;
        justify-content: center;
    }
}
    
/* a partir de 1150px */
@media screen and (min-width:72em) {   
    header{
        height: 21vh;
    }
    
    #menu1 li a:after{
        content: "\00B7";
    }

    #menu2 ul li a:before{
        content: "\00B7";
    }
        
    .menus nav {
        font-size: 1.1em;
    }
    
    
    footer{
        height: 18vh;
    }
    
    footer p{
        width: 65vw;
        display: flex;
        justify-content: center;
        text-align: center;
        padding-top: 2.5em;
    }
    
    main h1{
        max-width: none;
    }
    
    #contenidos{
        max-width: 100vw;
        margin: auto;
    }
    
    #columna1, #columna2{
        display: flex;
    }
    
    .media{
        max-width: 40em;
        display: flex;
        padding-left: 0em;
        margin-left: 1em;
    }
}