*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 18px;
}
body{
    font-family: 'Nunito Sans';
    color: #333333;
    background-color: #F8F8F8;
}
header{
    display: flex;
    align-items: center;
    background-color: #3A4969;
}
.nav-bar{
    margin: auto;
    height: 80px;
    /*padding-top: 5vh;
    display: flex;
    width: 100%;
    height: 80px;
    background-color: #3A4969;
    justify-content: center;*/
}

.nav-bar ul{
    list-style: none;
}
.nav-bar ul li{
    padding-right: 60px;
    /* width: 145px; */
    float: left;
}
.menu-3{
    justify-content: center;
    margin-bottom: 1vh;
}
.nav-bar a{
    font-size: 0.9rem;
    padding: right 7px;
    /* padding-left: 7px; */
    padding-right: 3px;
    /* padding-bottom: 2px; */
    /* display: block; */
    display: flex;
    color: white;
    /* background-color: #3A4969; */
    /* text-align: center; */
    text-decoration: none;
    align-items: center;
    justify-content: center;
}

.menu-3-box{
    margin-top: 1vh;
    margin-left: -2.4vw;
    display: none;
    position: absolute;
}
.menu-4-box{
    margin-top: 1vh;
    margin-left: -2.8vw;
    display: none;
    position: absolute;
}
.menu-4-child{
    display: flex !important;
    flex-direction: column !important;
    }
.menu-3-child{
display: flex !important;
flex-direction: column !important;
}

.nav-bar ul ul a{
    border: hidden;
    outline-style: hidden;
    display: flex;
    color: #646464;
    font-size: 0.7rem;
    background-color: hsl(0, 0%, 91%);
    box-shadow: 2px 3px 4px 1px hsl(0deg 0% 74%);
    padding: 13px 23px;
    justify-content: center;
}

.nav-bar ul a:hover{
    background-color:#54658A;
   /* width: 100%;
    height: 100%;*/
}
.nav-bar ul ul a:hover{
    color: white;
}
.logo{
    width: 4vw;
    margin-left: 30px;
    margin-bottom: 1vh;
    min-width: 35px;
}

#menu-hamburguer{
    opacity: 0;
}
#menu-hamburguer:checked+label span:nth-child(1){
transform: rotate(-45deg);
top: 8px;
transition: ease-in-out 0.5s;
}
#menu-hamburguer:checked+label span:nth-child(2){
opacity: 0;
}
#menu-hamburguer:checked+label span:nth-child(3){
    transform: rotate(45deg);
    top: 8px;
    transition: ease-in-out 0.5s;
}
.hamburger{
    cursor: pointer;
    position: relative;
    display: none;
    height: 22px;
    width: 30px;
    

}
.hamburger span{
    position: absolute;
    display: block;
    height: 5px;
    width: 100%;
    border-radius: 30px;
    background: #FFFF;
    text-shadow: rgb(214, 214, 214) 1px 1px 1px 1px; 
}
.hamburger span:nth-child(1){
top: 0;
}
.hamburger span:nth-child(2){
 top: 8px;   
}
.hamburger span:nth-child(3){
  top: 16px;  
}

@media(max-width:1024px){
    .navegation-linkes{display: none;}  
    .nav-bar{
        height: auto !important;
    }
    .first{
        display: flex;
        background: #25324e;
        width: 100vw;
        height: 85vh;
        margin-left: -71px;
        margin-top: 10vh;
        padding-top: 4vh;
        padding-bottom: 2vh;
        justify-content: center;
    }
    .nav-bar ul li {
        padding-right:0 !important
    }
    .nav-bar a {
        font-size: 0.9rem;
        padding: right 7px;
        border-radius: 5px;
        padding: 0px 25px 3px;
        display: flex;
        color: white;
        text-decoration: none;
    }
    .nav-bar ul ul{
        position: static;
    }
    .nav-bar ul ul a {
        justify-content: center;
        background: none;
        box-shadow: none;
        color: white;
        padding: 17px 0px;
         margin-left: 0
        
    }
    .nav-bar ul ul li{
        padding: 0;
    }
    .nav-bar ul{
            position: relative;
        display: flex;
        list-style: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 10vh;
        padding: 0!important;
        
    }
    .menu-3-box{
        position: static;
        margin-left: 0 !important;
    }
    .menu-3-child{
        line-height: 0 !important;
    }

    .menu-4-box{
        position: static;
        margin-left: 0 !important;
    }
    .menu-4-child{
        line-height: 0 !important;
    }
   
    #nav-bar.active.hamburger{
        display: flex;
        
    }
    header {
        display: flex;
        align-items: flex-start;
    }
    .logo {
        margin-top: 2vh;
    }
    .nav-bar {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .hamburger {
        position: absolute;
        display: flex;
        left: 94vw;
        top: 3vh;
    }
   
    
    /*.hamburger{
        display: block;
    }
    .nav-bar ul {
        display: inline;
        position: fixed;
        width: 100%;
        height: 100vh;
        background-color: blueviolet;
        top: 100px;
        text-align: center;
    }*/
}

@media(max-width:820px){
    .hamburger{
        display: flex;
        position: absolute;left: 92vw;
    }
}
@media(max-width:740px){
    .hamburger{
        display: flex;
        position: absolute;left: 90vw;
    }
}
@media(max-width:540px){
    .hamburger{
        display: flex;
        position: absolute;left: 88vw;
    }
}
@media(max-width:414px){
    .hamburger{
        display: flex;
        position: absolute;left: 86vw;
    }
}


