*{
    margin: 0;
    padding:0;
    font-family: Arial, Helvetica, sans-serif;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}
#btn-menu {
    display: none;
    color: #fff;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
}
#btn-menu:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, .3);
}

/*NAV-TOP*/
header{
    background-color: #fff;
}
.logo{
    margin: 0 auto;
    padding: .5rem 0;
    width: 1200px;
    display: flex;
}
.logo>img{
    width: 85px;
}
.logo-title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 1.5rem;
}
.logo-title>h3{
    color: #b88608;
}
.logo-title>h2{
    color: #2a8c4a;
}


nav img{
    display: none;
}

/*-------------------------------*/
/*navbar*/

@media(min-width:960px) {
    
    nav{
        width: 100%;
        background-color: #0b5345;

        position: sticky;
        top: 0;
        z-index: 2;
    }
    .menu{
        
        width: 1200px;
        margin: 0 auto;
        display: flex;
    }
    .menu>li{
        cursor: pointer;
        padding: 1.2rem 0;
        font-size: 1rem;
        
        position: relative;
    }
    .menu>li:first-child>a{
        border: none;
    }
    .menu>li>a{
        color: #fff;
        border-left: 2px solid #fff;
        padding: 0 1rem;
        transition: all .3s;
    }
    .menu>li:hover>a{
        color: orange;
    }

    .menu li>i {
        display: none;
    }
    
    
    .menu-second, .menu-third, .menu-four, .menu-five{
        border-radius: 0 0 10px 10px;
        box-shadow: 1px 1px 10px rgba(146, 211, 228, 0.5);
        background-color: #fff;

        position: absolute;
        
        width: 210px;
        padding: 1rem;
        
        display: flex;
        flex-direction: column;
        gap: 1rem;

        opacity: 0;
        visibility: hidden;
        transition: all .4s;
    }
    .menu>li:hover>.menu-second{
        opacity: 1;
        visibility: visible;
    }
    .menu-second{
        top: 100%;
        left: 0;
    }
    .menu-second-title{
        display: none;
        visibility: hidden;
    }
    .menu-second>li, .menu-third>li, .menu-four>li{
        position: relative;
    }
    
    .menu-second>li>a, .menu-third>li>a, .menu-four>li>a, .menu-five>li>a{
        color: #666;
        font-size: 14px;
    }
    

    .menu-third, .menu-four, .menu-five{
        border-radius: 10px;
        left: 100%;
        top: 0;
    }

    .menu-second>li:hover>.menu-third, .menu-third>li:hover>.menu-four, .menu-four>li:hover>.menu-five{
        opacity: 1;
        visibility: visible;
    }

    .menu>li .inicio_nav{
        border: none;
    }
    .menu li>a{
        transition: all .3s;
    }
    .menu li:hover>a{
        color: orange;
    }

}
@media(min-width:1500px){
    .logo{
        width: 1400px;
        
    }
    .menu{
        width: 1400px;
        
    }

}
@media(max-width:1200px){
    nav{
        width: 100%;
    }
    .menu{
        width: 100%;
        
    }
    .logo{
        width: 100%;
        
    }
}
@media(max-width:940px){
    .menu{
        width: 100%;
        
    }
    .logo{
        width: 100%;
        
    }
    nav{
        width: 100%;
    }
}

@media(max-width:960px) {
    #btn-menu {
        display: block;
    }

    header{
        background-color: #0b5345;
        padding: .5rem;
        position: sticky;
        top: 0;
        z-index: 1;
    }
    .black_active{
        position: fixed;
        top: 0;
        width: 100%;
        bottom: 0;
        background-color: rgba(0, 0, 0, .5);
        transition: all .3s;
        z-index: 2;
    }
    .logo>img{
        width: 80px;
    }
    .logo-title{
        margin: 0;

    }
    .logo-title>h3{
        font-size: 1.2rem;
    }

    .logo{
        padding: 0;
        align-items: center;
        justify-content: space-around;
    }

    .logo-title{
        text-align: center;
    }
    .logo-title>h3{
        font-size: 1rem;
        color: #fff;
    }
    .logo-title>h2{
        font-size: 1.2rem;
        color: #FFF7AA;
    }


    /*--NAV--*/
    nav img{
        display: block;
        width: 100px;
    }
    .menu-second, .menu-third, .menu-four, .menu-five{
        display: none;
    }

    nav{
        transition: all .3s;
        background-color: #fff;
        position: fixed;
        top: 0;
        bottom: 0;
        width: 300px;
        box-shadow: 1px 0 10px rgba(131, 216, 145, 0.5);
        padding: 1rem 0;
        overflow-y: scroll;
        visibility: hidden;
        opacity: 0;
        z-index: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .menu-open{
        visibility: visible;
        opacity: 1;
    }

    .menu{
        display: flex;
        flex-direction: column;        
    }

    .menu>li>a, .menu-second>li>a{
        width: 200px;
        display: inline-block;

        color: #666;
        font-weight: 600;
        height: 45px;
        
    }
    #icon_menu, #btn_open{
        padding: 0;
        margin: 0;
        color: #666;
        width: 45px;
        height: 45px;

        line-height: 45px;
        text-align: center;
    }


    #btn_open{
        transition: all .3s;
    }
    .active>#btn_open{
        background-color: #2a8c4a;
        color: #fff;
        border-radius: 8px;
    }
    .active>ul{
        display: block;
    }
    .menu-second>li:first-child, .menu-third>li:first-child, .menu-four>li:first-child, .menu-five>li:first-child{
        border-top: 2px solid #666;
    }
    .menu-second>li:last-child{
        border: none;
    }
    

}