* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

@font-face {
    font-family: "dado_titulo";
    src: url("../font/Gotham-Thin.otf");
}


header {
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    color: white;
    display:flex;
    justify-content: flex-end;
    align-items: center;
	position:fixed;
    z-index: 100;
}

header h1 {
    float: left;
    width: 100%;
    text-align: left;
    color: #0065A1;
    font-size: 30px;
    font-family: "dado_titulo";
    letter-spacing: 5px;
}

header img {
    height: 30px;
    margin-top: 0px;
    padding: 3px;
    margin-left: 15px;
}

.submenu li a {
    border-left: 0px solid #b9b8b8;
    border-bottom: 1px solid white;
}

#btn-menu {
    display: none;
}

header label {
    margin: 10px;
    font-size: 25px;
    cursor: pointer;
    display: none;
}

.menu ul {
    background: rgba(255, 255, 255, 0);
    display:flex;
    list-style: none;
    line-height: 20px;
}

.menu ul ul {
    display: none;
    background: rgba(255, 255, 255, 0.7);
}

.menu a {
    display: block;
    color: #0065A1;
    padding: 5PX 0 5PX 0;
    text-decoration: none;
    width: 160px;
    text-align: center;
}

.menu a:hover {
    background: rgba(0, 101, 161, 0.5);
    color: white;
    font-weight: 900;
    border-radius: 10px;
    transition: 1s;
}

.menu a span {
    margin-left: 10px;
}

.menu ul li:hover ul {
    display: block;
    position: absolute;
}

.menu a{
    color: #0065A1;
}

.icon-align-justify {
    color: #BA1623;
}

@media (max-width:1024px) {
    header label {
        display: block;
        width: auto;
    }
    
    header h1 {
        font-size: 18px;
    }
    
    .menu {
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        transform:translateX(-100%);
        transition: all 0.3s;
    }
    
    .menu ul {
        display: block;
        background: rgb(255, 255, 255);
    }
    
    .menu ul li:hover ul {
        display: none;
        position:static;
        
    }
    
    .menu a {
        text-align: left;
        width: auto;
        padding: 2px;
        border: 0px solid ;
        padding: 10px;
        font-weight: 900;
    }
    
    .menu span {
        position: absolute;
        right: 5px;
    }
    
    #btn-menu:checked ~ .menu {
        transform: translateX(0%);
        
    }
    
    .menu ul ul {
        background: rgb(255, 255, 255);
        padding-left: 30px;
        width: 300px;
    }
    
    .submenu li a {
        border-left: 0px solid #b9b8b8;
        border-bottom: 1px solid white;
        margin-left: 10px;
        margin-right: 10px;
    }
}
