/*CSS que organizan la estructura del documento HTML*/
body {
    height: auto !important;
    height: 100%;
    line-height: 1.6rem;
    min-height: 100%;
}
header {
    background: #f2f2f2;
    display: block;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
header > nav > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

header > nav > ul > li {
    flex: 0 1 auto;
    margin: 0;
    padding: 0;
    position: relative;
}

header > nav > ul > li > ul {
    display: none;
    position: absolute;
    width: 195px;
}
header > nav > ul > li:hover > ul {
    display: block;
}

header > nav > ul > li > ul {
    padding-left: 0px;
    width: 100%;
}

header > nav > ul > li:last-child > ul {
    margin-left: -80px;
    width: auto;
}
header > nav > ul > li > ul > li {
    margin: 0;
    padding: 0;
}
header>nav>ul>li>a {
    align-items: flex-start;
    display: flex;
}
.checkbtn{
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
} 
/*CSS que organizan la estructura del documento HTML*/
/*CSS que aplican diseño a nivel más estético al documento HTML*/

/*GENERIC STYLES*/
body {
    background: #ffffff;
    color: #222;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.20px;
    font-weight: 400;
}

/*NAV*/
header {
    background: #f2f2f2;
}
nav {
    background: linear-gradient(to left, rgba(54, 194, 182, 0.96) 0, rgba(62, 188, 207, 0.96) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
}
div#logo img {
    border-radius: 150px;
}
header > nav > ul {
    list-style: none;
}

header > nav > ul > li:hover {
    background: rgba(58, 162, 173, 1);
}
header > nav > ul > li > ul {
    background: linear-gradient(to bottom, rgba(58, 162, 173, 1) 0, rgba(62, 188, 207, 0.96) 100%);
    border-radius: 0 0 2px 2px;
    box-shadow: 0 3px 1px rgba(0, 0, 0, .05);
    font-size: 1rem;
}
header > nav > ul > li > ul {
    list-style-type: none;
}
header > nav > ul > li > ul > li > a {
    color: rgba(255, 255, 255, .9);
    display: block;
    font-size: .75rem;
    letter-spacing: 1.5px;
    padding: .25rem 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
}

header > nav > ul > li > ul > li:hover > a {
    background-color: rgba(0, 0, 0, .15);
}

header>nav>ul>li>a {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 200;
    letter-spacing: 1px;
    max-width:200px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .1);
}
.checkbtn{
    font-size: 30px;
    color: #fff;
}

@media screen and (max-width: 980px){
    nav {
        display: inline-block;
        width: 100%;
        position: relative;
    }
    .checkbtn{
        display: block;
    }
    ul{
        position: absolute;
        width: 100%;
        background: #2c3e50;
        top: 80px;
        left: -100%;
        text-align: center;
    }
    #check:checked ~ ul {
        left:0;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
        width: 100%;
    }
    nav ul li a{
        font-size: 20px;
    }
    li a:hover, li a.active{
        background: none;
        color: #2c3e50;
    }
    header > nav > ul > li:hover > ul {
        display: block;
        left: 40%;
        height: auto;
        width: 50%;
        top: 33px;
        z-index: 9;
    }
  
}
/*CSS que organizan la estructura del documento HTML*/
