@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,
footer {
    flex: 0 1 auto;
}

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;
}

/* FIN HEADER */

/* MAIN */
main {
    height: auto;
    width: auto;
    padding: 1em;
    background-image: url(../imagenes/fotofondo.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    max-width: 85em;
    text-align: center;
    flex: 1;
}

h1 {
    font-family: "Arvobold", sans-serif;
    font-size: 4.5em;
    color: white;
    justify-content: center;
    align-content: center;
    margin-top: 1.9em;
}

h1 span{
    font-family: "Arvobold", sans-serif;
    font-size: 1.3em;
    color: #df3130;
}

h2 {
    width: 16em;
    height: auto;
    color: white;
    text-align: center;
    font-family: 'Latobold', sans-serif;
    font-size: 1.em;
    margin: auto;
    margin-top: 3.7em;
    margin-bottom: 5em;
    justify-content: center;
    text-align: center;
    line-height: 1.3em;
}

video{
    width: 80%;
    height: auto;
    margin-bottom: 2em;
    border-style: solid;
    border-color: #222222;
    border-width: 0.4em;
}

/* 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 560px*/
@media screen and (min-width:35em) {    
    h1{
        font-size: 5.2em;
    }
    
    h1 span{
        font-size: 1.5em;
    }

    h2{
        font-size: 1.8em;
    }
}

/* a partir de 800px*/
@media screen and (min-width:50em) {    
    h2{
        font-size: 2em;
        width: 13.5em;
        margin-top:3em;
    }
    
/* 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;
    }
}
    
/* 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;
    }
    
    h1{
        font-size: 5.7em;
        margin-top:1.7em;
    }
    
    h2{
        font-size: 2.3em;
        width: 20em;
        margin-top: 2.2em;
    }
    
    footer{
        height: 18vh;
    }
    
    footer p{
        width: 65vw;
        display: flex;
        justify-content: center;
        text-align: center;
        padding-top: 2.5em;
    }
    
}
  
/* a partir de 1360px*/
@media screen and (min-width:85em) {
    h1{
        font-size: 6.8em;
        margin-top: 1em;
    }
}
