@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Chivo:300,300i,400,400i,700,700i,900,900i');

body{
    background-color: rgb(63, 169, 245);
}
.Logo img{
    margin: auto;
    display: block;
    width: 50%;
    margin-bottom: 2rem;
    margin-top: 5rem;
    
}
.Botonera{
    widows: 90%;
}
.Botonera ul{
    display: flex;
    flex-direction: row;
    text-decoration: none;
    margin:auto;
    justify-content: center;
}

.Botonera ul li{
    display: flex;
    margin: auto;
}

.Botonera ul li img{
    width: 6rem;
    margin-left:1rem;
}

.Botonera ul li h4{
    font-family: 'Chivo', sans-serif;
    text-decoration: none;
    font-size: 0.8rem;
    color: white;
    text-align: center;
}

.Botonera ul li h4:hover{
    color: blue;
}

.redes{
    text-decoration: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.30);
}

.redes div{
    margin: auto;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.redes div img{
    width: 2rem;
}
.mapa img{
   
}
/*MENU RESPONSIVE*/

*{margin: 0 0 0 0.1;
padding: 0;
box-sizing: border-box}

/*  menues del header */
nav{
    width: 100%;
    float: left;
}

nav ul li {
    list-style-type: none;
    line-height: 2rem;
    position: relative;
}

nav ul li ul{
    position: absolute;
    background-color: rgb(63, 169, 245);
    transition: 1s all;
}
nav ul li a{
    text-decoration: none;
    color: black;
    padding: 0 2rem;
    display: block;
    transition: 1s all;
    color: white;
    font-family: 'Chivo', sans-serif;
}

nav ul li a:hover{
    background-color:rgb(0, 149, 255);
}

nav ul#principal li:hover>ul {
    max-height: 500px;
    overflow: visible;
}

/*menu hamburguesa*/
nav ul#hamburguesa> li{
    background-color: rgb(63, 169, 245);
    line-height: 0;
}
nav ul#hamburguesa li:hover>ul{
    max-height: 500px;
    overflow: visible;
}

/* menu principal*/
ul#principal{
    background-color: rgb(63, 169, 245);
    display: flex;
    flex-direction: column
}
ul#principal li{
    border-bottom: 0.5px solid #ccc;
}
/* menu secundario */

ul#principal li ul{
    max-height: 0;
    overflow: hidden;
}
ul#principal li ul, ul#principal{
    max-height: 0;
    overflow: hidden;
}
ul#secundario {
    top:100%;
    left: 100%;
    z-index: 1;
}

/*FIN. preguntar como se hace para que ocupe toda la pantalla en web*/

footer{
    font-family: 'Chivo', sans-serif;
    font-size: 0.8rem;
    margin-top: 2rem;
    text-align: center;
}

/*REPONSIVE*/

@media all and (min-width:40rem) {
    ul#hamburguesa> li img{
        display: none;
    }
    nav ul#principal{
        flex-direction: row;
        max-height: 800px;
        position: relative;
    }
    nav ul#secundario {
        top: 100%;
        left: 20%;
    }
    .Botonera ul{
        padding-left: 25%;
        padding-right: 25%;
    }
    
}
