:root {
    --header-fg: white;
    --header-bg: rgb(205, 63, 63);
    --footer-fg: white;
    --footer-bg: rgb(205, 63, 63);
    --header-h: 80px;
    --text-dark: #000;
    --header-footer-padding: 8px 10px;
}
html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}
header {
    padding: var(--header-footer-padding);
    height: var(--header-h);
    background-color: var(--header-bg);
    color: var(--header-fg);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    box-sizing: border-box;
    width: 100%;
    z-index: 1000;
}
main {
    min-height: 100%;
    margin-top: 0px;
}
footer {
    padding: var(--header-footer-padding);
    background-color: var(--footer-bg);
    min-height: 80px;
    color: var(--footer-fg);
}
.scroll-panel {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
}
header .logo {
    height: 100%;
    aspect-ratio: 1;
}
header img.logo {
    cursor: pointer;
}
header .name {
    margin-left: 10px;
    display: none;
    font-size: min(6vw, 24px);
}
header .center-header {
    height: 24px;
    display: flex;
    gap: 20px;
    font-size: 18px;
    text-align: center;
    justify-content: center;
    align-items: center;
}
header .nav-option {
    color: var(--header-fg);
    height: 100%;
    display: block;
    text-decoration: none;
    padding: 4px;
}
header .nav-option:hover {
    text-decoration: underline;
}

/* ::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: #555;
}
::-webkit-scrollbar-thumb {
    background: #bbb;
} */

.sidebar {
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #eee;
    z-index: 2000;
    padding: 10px;
    width: 200px;
    max-width: 100%;
    transform: translateX(100%);
    transition: transform 0.2s ease-in-out;
    box-sizing: border-box;
}
.sidebar.show {
    transform: translateX(0%);
}
.sidebar .quick-links {
    margin-top: 40px;
    overflow-y: auto;
    width: 100%;
    height: calc(100% - 40px);
}
.sidebar .quick-links .nav-option {
    color: var(--text-dark);
    height: 20px;
    display: block;
    text-decoration: none;
    padding: 4px;
    margin-bottom: 8px;
    border-bottom: #888 solid 1px;
    font-size: 18px;
    outline-offset: -2px;
}
.sidebar .quick-links .nav-option:hover {
    text-decoration: underline;
}

.sidebar-btn {
    display: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    width: 24px;
    aspect-ratio: 1;
}
.sidebar-close {
    float: right;
    padding: 10px;
    cursor: pointer;
    width: 48px;
    aspect-ratio: 1;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    display: flex;
}
.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.sidebar-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

@media screen and (max-width: 720px) {
    header .center-header, div.logo {
        display: none;
    }
    .sidebar-btn {
        display: flex;
    }
    header .name {
        display: block;
    }
}