#header { width: 100%; height: 90px; background-color: var(--primary-container-color); backdrop-filter: var(--primary-container-backdrop-filter); border-bottom: 2px solid #222; } #titlebar { width: 80%; height: 30px; overflow: visible; position: fixed; top: 0; right: 0; z-index: 10; } #titlebar-title { float: left; height: 30px; width: calc(100% - 150px); -webkit-app-region: drag; } #titlebar-buttons { float: right; overflow: auto; height: 30px; padding: 0 5px; top: 0px; right: 10px; } .titlebar-button { float: right; line-height: 30px; height: 30px; width: 40px; text-align: center; margin: 0px 2px; color: #999; transition-duration: 0.2s; cursor: default; } .titlebar-button.minimize { line-height: 25px; } .titlebar-button:hover { background-color: #fff1; color: #fff; } .titlebar-button.exit:hover { background-color: #f00a; } #header .logo { background-image: url(../img/header-logo.png); background-position: left; background-repeat: no-repeat; background-size: contain; height: 100%; width: 20%; -webkit-app-region: drag; position: fixed; top: 0; left: 0; } #nav-container { width: 100%; text-align: center; position: fixed; top: 30px; left: 0; z-index: 2; } #nav { display: inline-block; vertical-align: middle; font-family: var(--nav-item-font); } #nav::before, #nav::after { display: inline-block; content: ""; width: 100px; height: 1px; background-color: #444; vertical-align: middle; margin: 0 10px; margin-top: -10px; } #nav .navbar-item { display: inline-block; vertical-align: middle; color: #999; padding: 5px 10px 0px 10px; height: 33px; transition-property: color; transition-duration: 0.3s; } #nav .navbar-item::after { opacity: 0; display: inline-block; content: ""; width: 5%; height: 2px; background-color: #6ef; position: relative; top: -5px; box-shadow: 0 0 10px #6ef; transition-property: opacity, width; transition-duration: 0.3s; } #nav .navbar-item.active::after { opacity: 1; width: 60%; } #nav .navbar-item:hover, #nav .navbar-item.active { color: white; text-shadow: 0 0 10px #fff9; }