@import url("https://fonts.googleapis.com/css?family=Ubuntu+Mono");

:root {
    --orange: rgb(235, 119, 24);
    /* nav */
    --primary: rgb(45, 19, 5);
    --currentcat: rgb(177, 98, 49);
    --currentcathover: rgb(200, 118, 68);
    --currentcatparent: rgb(244, 153, 96);
    --currentcatparenthover: rgb(238, 167, 122);
}

header {
    background: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
    display: flex;
    align-items: center;
    font-family: 'Ubuntu Mono';
    z-index: 100;
    position: fixed;
    top: 0;
    width: calc(100% - 40px);
    padding: 10px 20px;
    margin-bottom: 2px;
    border-radius: 15px;
    border-color: var(--orange);
}

header h1 {
    margin: 0;
    font-size: 1.2rem;
    user-select: none;
}

nav {
    margin-left: auto;
    user-select: none;
}

nav ul {
    list-style: none;
    display: flex;
    background: var(--primary);
    z-index: 5;
    padding: 0;
    margin: 0;
}

nav li {
    margin-right: 6px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    color: rgb(150, 150, 150);
    display: block;
    margin-left: 50px;
    font-size: 20px;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

nav ul li a.curcat {
    color: var(--currentcat);
}

nav ul li a.curcat:hover {
    color: var(--currentcathover);
}

nav ul li a.curparent {
    color: var(--currentcatparent);
}

nav ul li a.curparent:hover {
    color: var(--currentcatparenthover);
}

nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #cababa;
}

header ul li ul {
    width: 220px;
    background: var(--primary);
    position: absolute;
    top: 100%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    padding: 5px 0;
    border-color: var(--orange);
}

header ul li ul li {
    display: block;
}

header ul li ul li a {
    padding: 10px 20px;
    margin: 0;
    font-size: 18px;
    color: rgb(200, 200, 200);
    background: transparent;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
    border-radius: 0;
}

header ul li ul li a:hover {
    background: var(--orange);
    color: #fff;
    transform: translateX(3px);
}

header ul li:hover ul {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nbitem, .nbitemNA {
    scrollbar-width: none;
}

.nbitemNA {
    color: rgb(100, 0, 0);
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    margin: 0 20px;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    font-size: 20px;
    animation: marquee 10s linear infinite;
    user-select: none;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.nav-title-a {
    color: #ffffff;
    text-decoration: none;
}

.nav-title-a:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: var(--orange);
}