header { position: relative; color: var(--color-font-primary); }

header .header-nav {
position: absolute;
    top: 0;
    width: 100%;
    z-index: 9999;
    padding: 10px 0px;
}

header .header-nav .img-fluid { }

header .menu-content { position: absolute; right: 0; top: 2rem; padding-right: 0; }

/* menu desktop */
header .header-nav .menu-desktop { 
    margin: 0; 
    list-style: none; 
    background-color: var(--color-quaternary);
    padding: 8px 2rem 8px 2rem;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
header .header-nav .menu-desktop li { display: inline; }
header .header-nav .menu-desktop li a {
    font-family: 'Raleway', sans-serif;
    color: var(--color-font-secondary);
    font-size: .8rem;
    font-weight: 600;
    padding: 0 11px;
}
header .header-nav .menu-desktop li a:hover { transition: .3s; color: var(--color-font-tertiary); }

/* menu mobile */
header .header-nav .menu-mobile { color: var(--color-font-primary); text-align: center; }
header .header-nav .menu-mobile i { font-size: 2.2rem; }
header .header-nav .menu-mobile span {
    font-weight: 600;
    font-size: .8rem;
    display: block;
    text-align: right;
    margin-top: -5px !important;
    letter-spacing: 2px;
}


@media (max-width: 1049px) {
    header .header-nav .menu-desktop li a { font-size: .8rem; padding: 0 9px; }
}


@media (max-width: 991px) {
    header .menu-content { position: initial; }
    header .header-nav .menu-desktop { display: none !important; }
    header .header-nav .menu-mobile { display: block !important; }

    #layerslider .text-box .btn_style__secondary {
        font-size: 15px;
        margin-left: 0%;
    }
}

@media (max-width: 599px) {
	
	header .header-nav .img-fluid {
    max-width: 240px;
}

    #contabil article h2 {
        color: var(--color-font-primary);
        font-size: 1rem;
        margin-bottom: 0;
    }
    #contabil article img {
        max-width: 34px!important;
    }
    #contabil article span {
        display: none!important;
    }
    #servicos article {
        padding: 15px 20px;
        border-radius: 5px;
        min-height: auto;
        border: 2px solid #c8c8c8;
        -webkit-box-shadow: 0px 2px 11px -4px rgb(0 0 0 / 75%);
        -moz-box-shadow: 0px 2px 11px -4px rgba(0,0,0,0.75);
        box-shadow: 0px 2px 11px -4px rgb(0 0 0 / 75%);
    }
    #depoimentos {
        padding: 0% 0% 13% 0%;
    }
    #contabilidade h2 {
        font-weight: 500;
        font-size: 1.8rem;
    }
    #contabilidade {
        padding: 4rem 2rem!important;        
    }
}