header {
    display: block;
    position: relative;
    max-width: 100%;
    width: 100%;
}

header .primary-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 100px;
    background-color: #ffffff;
    z-index: 999;
}

.primary-nav {
    width: 100%;
    transition: all 0.5s ease-in-out;

}

.primary-nav.stick {
    position: fixed;
    top: 0;
    box-shadow: 0 0 5px rgb(0 0 0 / 60%);
    transition: all 0.5s ease-in-out;
    z-index: 999;
}
.primary-nav a {
    text-decoration: none;
}
.primary-nav .logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #333333;
    text-decoration: none;
    max-width: 90%;

}

.primary-nav .logo img {
    width: 280px;
    padding: 10px;
}

.primary-nav nav {
    width: calc(100%/7);
    margin-right: 0;
}

.primary-nav nav.logged-in {
    width: calc(100%/2);


}
.primary-nav nav ul {
    display: flex;
    list-style: none;
    align-items: right;
    padding: 0;
    margin: 0;
    gap: 3px;
}
.primary-nav nav ul li a {
    text-decoration: none;
    color: #ff0000;
    font-weight: 600;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.primary-nav nav ul li a:hover,
.primary-nav nav ul li a:hover span {
    background-color: #f0f0f0;
    color: #000000;
}
.primary-nav nav ul li a.active {
    background-color: #007bff;
    color: #ffffff;
}
.primary-nav nav span {
    font-size: 24px;
    font-weight: 600;
    color: #ff0000;
    cursor: pointer;
}

.secondary-nav {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    padding: 10px 20px;
    background-color: #071545;
    border-top: 1px solid #dcdcde;
    transition: all 0.9s ease-in-out;

}

.secondary-nav-items {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: #333333;
    width: 100%;
    max-width: 100%;
    padding: 10px 20px;

}

.nav-items-toggle {
    display: inline;
    background-color: #ffffff;
    color: #4357F1;
    font-weight: 700;
    border-radius: 5px;
    padding: 15px 0;
    text-align: center;
    width: 50%;
    cursor: pointer;
    min-height: 60px;
    transition: all 0.3s ease-in-out;

}

.nav-items-toggle:hover {
    border: solid 1px #dcdcde;
    transform: translateY(-5px);
    box-shadow: 4px 7px 5px #dcdcde, 0 0 5px #dcdcde;
    transition: all 0.3s ease-in-out;

}
.nav-items-toggle.active {
    background-color: #007bff;
    color: #ffffff;
    font-weight: bold;
    border: solid 1px #007bff;
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
    box-shadow: 4px 7px 5px #dcdcde, 0 0 5px #dcdcde;
}
.nav-items-content {
    position: absolute;
    top: 60px;
    left: 10px;
    width: 100%;
    background-color: #ffffff;
    display: none;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    border-radius: 5px;

}

.nav-items-content.active {
    display: flex;
    width: calc(100%/2);
    z-index: 9999 !important;
}

.nav-items-content ul,
.mobile-nav-items ul {
    list-style: none;
    width: 100%;
}

.nav-items-content ul li,
.mobile-nav-items ul li {
    border-bottom: 1px solid #dcdcde;
    height: 40px;
    padding: 10px;
    transition: all 0.3s ease-in-out;

}

.nav-items-content ul li:last-child,
.mobile-nav-items ul li:last-child {
    border-bottom: none;
}
.nav-items-content ul li:hover,
.mobile-nav-items ul li:hover {
    color: #000000;
    transform: translateX(.5px);
    transition: all 0.2s ease-in;
    box-shadow: 4px 7px 5px #dcdcde, 0 0 5px #dcdcde;
}
.nav-items-content ul li a,
.mobile-nav-items ul li a {
    text-decoration: none;
    color: #333333;
    padding: 10px;
}

.mobile-nav {
    position: relative;
    display: none;
    background-color: #f9f9f9;
    padding: 10px;
    z-index: 100;
}

.mobile-nav nav {
    position: fixed;
    top: 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    min-height: 50vh;
    background-color: #ffffff;
    margin-top: 50px;
    transition: all 1s ease-in;
}

.mobile-nav nav.hidden {
   transform: translateX(100%);
   transition: all 1s ease-out;

}
.mobile-nav-items {
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 25%;
}

.navhamburger-container {
    display: inline-block;
    margin-left: 90%;
    
}
.mobile-nav span.ti.ti-menu-2,
.mobile-nav span.ti.ti-x {
    font-size: 30px;
    color: #333333;
    padding: 10px;
    transition: all .5s ease-in-out;
}


.mobile-nav span.ti.ti-menu-2:hover,
.mobile-nav span.ti.ti-x:hover {
    border-radius: 50%;
    background-color: #ffffff;
    border: solid 1px #dcdcde;
    transition: all .5s ease-in-out;

}


.mobile-nav-items-toggle {
    display: block;
    margin-left: 15px;
    cursor: pointer;
    font-weight: 500;
}

.mobile-nav-items-content {
    display: none;
    transform: translateX(-10000px);

}

.mobile-nav-items-content.active {
    display: inline;
    transform: translateX(0);

}
#app-translation-pane {
    position: fixed;
    top: 30%;
    left: auto;
    right: 0;
    background-color: #000000;
    width: 150px;
    color: #ffffff;
    border-radius: 8px;
    transform: translateX(75%);
    transition: all 2s ease-in-out;
    z-index: 9999;
    cursor: pointer;
}
#app-translation-pane:hover {
    transform: translateX(0);
    transition: all .5s ease-in-out;
}
#toggleTranslationDropdown span {
    font-size: 34px;
}

@media( min-width: 19px ) and ( max-width: 835px ) {
    .primary-nav nav {
        width: calc(100%/4);
       
    }

    .primary-nav nav.logged-in {
        width: calc(100%/2);
    }
    

    .primary-nav nav ul li a {
        font-size: 12px;

    }
    @media( max-width: 768px ) {
        .mobile-nav nav {
            flex-wrap: wrap;
            justify-content: space-between;
        }
        .mobile-nav-items{
            width: 50%;
        }
       

        .primary-nav .logo img {
            width: 250px;
        }
    }

    @media (max-width: 662px ) {
        .primary-nav .logo img {
            width: 200px;
        }
        .primary-nav a {
            width: 100%;
        }
        .primary-nav nav.logged-in {
            width: 500px;
        }
    }

    @media (max-width: 565px) {
        .primary-nav nav {
            width: calc(100%/2);
           
        }
    }

    @media ( max-width: 425px ) {
        .primary-nav a {
            width: 100%;
        }
        
    }

    @media ( max-width: 375px) {
        .primary-nav .logo img {
            width: 150px;
        }
        .mobile-nav-items{
            width: 100%;
        }
    }
    .secondary-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }
    
}


