@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
:root
{
    --letrasmenu: #fff;
    --fondoheader: #005E94;
    --fondoseccion: #1C779A;
    --fondofooter:#333;


    /*--letrasmenu: #c72d12;*/
 }

nav{
    background: var(--fondoheader);
    height: 210px;
    width: 100%;
    
}
.enlace{
    position: absolute;
    padding: 20px 50px;
}
.logo{
    height: 160px;
    
}

nav ul{
    float: right;
    margin-right: 20px;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}
nav ul li a{
    color: var(--letrasmenu);
    font-size: 19px;
    padding: 1px 1px;
    border-radius: 3px;
    /* text-transform: uppercase; */
}
li a.active, li a:hover{
    background: #000090;
    transition: .5s;
}
.checkbtn{
    font-size: 30px;
    color: #fff;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}

section{
    background-color: var(--fondoseccion);
    background-size: cover;
}


footer {
    background-color: var(--fondofooter);
    color: var(--letrasmenu);
    /* padding: 100px; */
    padding-left: 0PX;
    padding-right: 0PX;
    padding-top: 20PX;
    padding-bottom: 20PX;
}

.footer-container {
    display: flex;
    justify-content: space-evenly; 
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo{
    height: 60px;
    z-index: -2;
}


.left-section,
.right-section {
    flex: 1;
    padding: 10px;
} 


p {
    margin: 5px 0;
}




@media (max-width: 858px){
    .checkbtn{
        display: block;
    }


    ul{
        position: fixed;
        width: 100%;
        height: 200vh;
        background: var(--fondoheader);
        top: 208px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    nav ul li{
        display: block;
        margin: 20px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size: 20px;
    }
    li a:hover, li a.active{
        background: none;
        color: red;
    }
    #check:checked ~ ul{
        left:0;
    }



    .footer{
        padding-left: 0PX;
        padding-right: 0PX;
        padding-top: 10PX;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .left-section,
    .right-section {
        flex: none;
    }


}