@charset "utf-8";

<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,700" rel="stylesheet">

html {font-size: 62,5%; }
.{box-sizing:border-box; }

*{
   margin: 40;
    font-family: "Roboto", sans-serif;
}

*{margin: 0 0 0 0.1;
padding: 0;
}

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

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

nav ul li a{
    text-decoration: none;
    color: black;
    padding: 0 2rem;
    display: block;
    color: white;
    font-family: "Roboto", sans-serif;
}

/*menu hamburguesa*/
nav ul#hamburguesa> li{
    background-color: #5f6db3;
    line-height: 0;
}
nav ul#hamburguesa li:hover>ul{
    max-height: 500px;
    overflow: hidden;
}

/* menu principal*/
ul#principal{
    background-color: #5f6db3;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
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;
}

body{
    background: #5F6DB3;
    background-size: 100%;
}

form{
    max-width: 100%;
    margin: auto;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 7px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}
h1 {
    color: black;
    font-weight: bold;
    text-align: center;
    margin: 0;
    font-size: 2em;
    margin-bottom: 20px;
}

h2{
    color: white;
    text-align: center;
    margin: 0;
    font-size: 2em;
    margin-bottom: 20px;
}

h3{
    color: black;
    text-align: center;
}

input, textarea{ 
    margin-bottom: 20px;
    max-width: 100%;
    padding: 7px;
    box-sizing: border-box;
    font-size: 1em;
    border: none;
}

textarea{
    max-height:200%;
    max-width: 100%;
    min-height: 100px;
    min-width: 100%;
}

#sesion {
    padding: 2em;
}
#sesion a {
    text-decoration: none;
    display: inline-block;
    background-color: #000000;
    margin: auto;
    padding: 0.6em;
    font-size: 20px ;
    color: white;
    font-family: "Roboto", sans-serif;
    width: auto;
    font-weight: bold;
    border-radius: 8px 8px 8px 8px;
}
#sesion a:hover{
    background-color: #5F6DB3; 
}

}
#volver{
    padding: 10em;
}
#volver a{ 
    text-decoration: none;
    display: inline-block;
    background-color: #000000;
    margin: auto;
    padding: 0.6em;
    font-size: 20px ;
    color: white;
    font-family: "Roboto", sans-serif;
    width: auto;
    font-weight: bold;
    border-radius: 8px 8px 8px 8px;
}
#volver a:hover{
  
    background-color: #5F6DB3; 
    }
/*REPONSIVE*/

@media all and (max-width:0rem) (min-width: 0rem) {
    ul#hamburguesa> li img{
    display: none;
    }
    nav ul#principal{
        flex-direction: row;
        max-height: 50rem;
        position: relative;
    }