/*
  MENU v 1.1;
  05/2023;
  João Diogo Pereira;
*/

.site-header{
    box-shadow: 0px 4px 4px 0px #00000010;
    z-index: 99;
}

.site-header .logo-header{
    position: relative;
    z-index: 99;
}

.site-header .logo-header h1 {
    line-height: 0;
    margin: 0;
}

.site-header .logo-header img {
    max-width: 180px; 
    height: auto;
}

.main-menu .navbar-collapse, .main-menu .navigation {
    padding: 0px;
    margin: 0;
}

.main-menu .navigation li a{
    font-family: 'Josefin';
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--gray);
    text-decoration: none;
    transition: all .3s ease-in-out;
}

.main-menu .navigation li a:hover,
.main-menu .navigation li.current-menu-item a{
    color: var(--yellow);
}

/*MOBILE*/

.menu-mobile{
    display: none;
}

#sidebarMenu {
    height: 100%;
    position: fixed;
    right: 0;
    width: 35vw;
    transform: translateX(35vw);
    transition: transform .3s ease-in-out;
    background: var(--white);
    top: 0;
    overflow: auto;
}

.sidebarMenuInner{
    margin: 0;
    padding-left: 0;
    padding-top: var(--headerSize);
}

.sidebarMenuInner li{
    padding: 1rem;
}

.sidebarMenuInner li a{
    font-family: 'Josefin';
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--gray);
    text-decoration: none;
    transition: all .3s ease-in-out;
}

.sidebarMenuInner li a:hover, .sidebarMenuInner li.current-menu-item a{
    color: var(--yellow);
}

input.openSidebarMenu[type="checkbox"]:checked ~ #sidebarMenu {
    transform: translateX(0);
}

input.openSidebarMenu[type=checkbox] {
    transition: all 0.3s;
    box-sizing: border-box;
    display: none;
}

.sidebarIconToggle {
    transition: all 0.3s;
    box-sizing: border-box;
    cursor: pointer;
    height: 15px;
    width: 22px;
    position: relative;
    z-index: 99;
}

.spinner {
    transition: all 0.3s;
    box-sizing: border-box;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    background-color: var(--gray);
}

.horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}

.diagonal.part-1 {
    position: relative;
    transition: all 0.3s;
    box-sizing: border-box;
    float: left;
}

.diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    position: relative;
    float: left;
    margin-top: 3px;
}

input[type=checkbox]:checked ~ .sidebarIconToggle > .horizontal {
    transition: all 0.3s;
    box-sizing: border-box;
    opacity: 0;
    background-color: var(--yellow);
}

input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-1 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(135deg);
    margin-top: 8px;
    background-color: var(--yellow);
}

input[type=checkbox]:checked ~ .sidebarIconToggle > .diagonal.part-2 {
    transition: all 0.3s;
    box-sizing: border-box;
    transform: rotate(-135deg);
    margin-top: -9px;
    background-color: var(--yellow);
}

.langs{
    margin: 0;
    position: relative;
    z-index: 99;
}

.langs .trp-flag-image{
    display: none!important;
}

.langs li a, .langs .separator{
    font-family: 'Josefin';
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--gray);
    text-decoration: none;
    transition: all .3s ease-in-out;
}

.langs li a:hover,
.langs li.current-menu-item a{
    color: var(--yellow);
}

@media only screen and (max-width: 992px){
    .menu-mobile{
        display: flex;
        justify-content: end;
        align-items: center;
    }
}

@media only screen and (max-width: 576px){
    #sidebarMenu {
        width: 75vw;
        transform: translateX(75vw);
    }
}