@charset"utf-8";
@import url('https://fonts.googleapis.com/css?family=Roboto:300,300i,400,700,900');

* {
    list-style: none;
    text-decoration: none;    
    box-sizing: border-box;}

body {
    margin: 0;
    padding: 0;
}

nav ul{
    display: flex;
    flex-direction: row;
    justify-content:space-between; 
    align-items: center;
    background: #1B1464;
    padding:3%;
    margin: 0;
}
nav ul li a img {
    max-width:60%;
    margin-left: 22%;
}
nav ul li a img:hover {
    max-width: 55%;
}
.contenedor{ 
    width:100%;
    height:0%;
    padding-bottom:56.25%;     
    overflow:hidden;
    position:relative;
}
.contenido {
    position:absolute;
    top:0; left:0;
    width:100%;
    height:100%;
}
        
#caja {max-width:100%;}
.botonesvideo {
    background: black;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 0.7%;
}
.botonesvideo div a img {
    margin-right: 10px;
    max-width: 50%;
}
div p {
    font-family: 'Roboto', sans-serif;
    margin-left: 1%; font-size: 1.2em;
}
.botones{
    margin-top: 7%;}

.boton1, .boton2, .boton3, .boton4 {   
    background: #1B1464;  
    position: relative;
    direction: block;
    width: 49%;
    margin: 0.5%;
    padding:10%; text-align: center;}
.boton1:hover, .boton2:hover, .boton3:hover, .boton4:hover { background: aqua;
}

.boton1, .boton3 {
    float: left;
}
.boton2, .boton4 {
    float: right;
}

div a {
    font-family: 'Roboto', sans-serif;
    color: white; font-size: 0.8em;
}
div a:hover {color: black;}

@media only screen and (min-width:481px)
{
.botones{display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 1%;
    margin: 0;
        
    }
.boton1, .boton2, .boton3, .boton4 {
    padding: 1.5%;
    border-radius: 0;
}
    #caja {max-width:48%;
    margin:auto;
    
    }
    nav ul{
    padding:1%;
    justify-content:space-around;
}
    div p {
    font-size: 1.2em;
    margin: 1%; text-align: center;
}
