/* Base styles and variables */
:root {
    /* Colors */
    --color-background: #000000;
    --color-text: #FFFFFF;
    --color-link: #dddddd;
    --color-link-hover: #734400;
    --color-accent: #955F20;
    --color-border: #333333;
    --color-muted: #888888;

    /* Typography */
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.25rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;

    /* Layout */
    --main-max-width: 1024px;
    --main-padding: 1rem;
}

/* Reset and base styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: #111111;
    color: var(--color-text);
    font-family: "Nexa", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/*body::before, body::after {*/
/*    content: "";*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(180deg,rgba(5, 5, 5, 1) 0%, rgba(20, 20, 20, 1) 100%);*/
/*    background-size: 100% 100%;*/
/*    pointer-events: none;*/
/*    z-index: -1;*/
/*}*/

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 var(--spacing-md) 0;
    font-weight: 500;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }

p {
    margin: 0 0 var(--spacing-md) 0;
}

ul {
    margin: 0 0 var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
}

/* Links */
a {
    color: var(--color-link);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--color-link-hover);
}


/* Layout */
header{
    background: #222222;
    XXbackground: linear-gradient(180deg,#333333 0%, #222222 100%);
    padding: var(--main-padding);
    padding-bottom: 5px;
    text-align: center;
    padding-top:25px;
}



div#page {
    max-width: var(--main-max-width);
    background: var(--color-background);
    margin: 0 auto;
    padding: 0 var(--main-padding);
    padding-left:0;
    padding-right: 0;
    margin-bottom: 100px
}

main {
    margin:0;
    padding:0;
}

/* MENU */

nav div ul {
    margin:0;
    margin-top:6px;
    margin-bottom: 4px;
}
nav div ul li {
    display: inline-block;
}
nav div ul li a {
    color: #888888;
    font-size: 14px;
    font-weight: bolder;
}
nav div ul li.is-active a {
    color:#ffffff;
}

/* Menu Item Links */
.nav-links a {
    color: #666666;
    text-decoration: none;
    font-weight: 700;
    font-family: "NexaXbold", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav div .nav-links li:not(:last-child)::after {
    content: "|";
    margin-left:8px;
    margin-right:8px;
    color: #444;
}

/* Selected Menu Item */
.nav-links .is-active a {
    color: white;
}

.nav-overlay.show {
    transform: translateY(0);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 5px;
    font-size: 40px;
}

@media screen and (max-width: 330px) {
    .hamburger {
        background: #00000088;
    }
}


@media screen and (max-width: 750px) {
    /* Initially hide other items */
    .nav-links li {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

/* for touch devices/
@media screen and (hover: none) {
    .nav-links li {
        display: none;
    }
    .hamburger {
        display: block;
    }
}
 */




/* Fullscreen overlay menu */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: color-mix(in srgb, black 80%, transparent);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.2s ease-in-out;
}
.nav-overlay ul {
    padding:0;
    margin-top:60px;
}
.nav-overlay ul li a {
    color:#888888;
    display:block;
    width:100%;
    padding:20px;
}

.nav-overlay ul li.is-active a {
    color:#ffffff;
}

.nav-overlay ul li {
    display: block;
    background:#222222;
    width:200px;
    border-bottom: 1px solid grey;
}
.nav-overlay ul li:hover  {
    background:#333333;
}
.nav-overlay ul li:hover a {
    color:white;
}





/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
}


.btn {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text);
}

.btn:hover {
    background: var(--color-link-hover);
    border-color: var(--color-link-hover);
    color: var(--color-text);
}





/* Font faces */
@font-face {
    font-family: 'Nexa';
    font-weight: normal;
    font-style: normal;
    src: url('../webfonts/NexaBook/Nexa-Book-webfont.eot');
    src: url('../webfonts/NexaBook/Nexa-Book-webfont.eot-') format('embedded-opentype'),
    url('../webfonts/NexaBook/Nexa-Book-webfont.woff2.html') format('woff2'),
    url('../webfonts/NexaBook/Nexa-Book-webfont.woff') format('woff'),
    url('../webfonts/NexaBook/Nexa-Book-webfont.ttf') format('truetype'),
    url('../webfonts/NexaBook/Nexa-Book-webfont.svg') format('svg');
}

@font-face {
    font-family: 'Nexa';
    font-weight: normal;
    font-style: italic;
    src: url('../webfonts/NexaBookItalic/Nexa-Book-Italic-webfont.eot');
    src: url('../webfonts/NexaBookItalic/Nexa-Book-Italic-webfont.eot-') format('embedded-opentype'),
    url('../webfonts/NexaBookItalic/Nexa-Book-Italic-webfont.woff2.html') format('woff2'),
    url('../webfonts/NexaBookItalic/Nexa-Book-Italic-webfont.woff') format('woff'),
    url('../webfonts/NexaBookItalic/Nexa-Book-Italic-webfont.ttf') format('truetype'),
    url('../webfonts/NexaBookItalic/Nexa-Book-Italic-webfont.svg') format('svg');
}

@font-face {
    font-family: 'NexaThin';
    font-weight: 400;
    font-style: normal;
    src: url('../webfonts/NexaThin/NexaThin-webfont.eot');
    src: url('../webfonts/NexaThin/NexaThin-webfont.eot-') format('embedded-opentype'),
    url('../webfonts/NexaThin/NexaThin-webfont.woff2.html') format('woff2'),
    url('../webfonts/NexaThin/NexaThin-webfont.woff') format('woff'),
    url('../webfonts/NexaThin/NexaThin-webfont.ttf') format('truetype'),
    url('../webfonts/NexaThin/NexaThin-webfont.svg') format('svg');
}

@font-face {
    font-family: 'NexaXbold';
    font-weight: 600;
    font-style: normal;
    src: url('../webfonts/NexaBold/Nexa-XBold-webfont.eot');
    src: url('../webfonts/NexaBold/Nexa-XBold-webfont.eot-') format('embedded-opentype'),
    url('../webfonts/NexaBold/Nexa-XBold-webfont.woff2.html') format('woff2'),
    url('../webfonts/NexaBold/Nexa-XBold-webfont.woff') format('woff'),
    url('../webfonts/NexaBold/Nexa-XBold-webfont.ttf') format('truetype'),
    url('../webfonts/NexaBold/Nexa-XBold-webfont.svg') format('svg');
}

@font-face {
    font-family: 'NexaXboldItalic';
    font-weight: 600;
    font-style: italic;
    src: url('../webfonts/NexaBoldItalic/Nexa-XBold-Italic-webfont.eot');
    src: url('../webfonts/NexaBoldItalic/Nexa-XBold-Italic-webfont.eot-') format('embedded-opentype'),
    url('../webfonts/NexaBoldItalic/Nexa-XBold-Italic-webfont.woff2.html') format('woff2'),
    url('../webfonts/NexaBoldItalic/Nexa-XBold-Italic-webfont.woff') format('woff'),
    url('../webfonts/NexaBoldItalic/Nexa-XBold-Italic-webfont.ttf') format('truetype'),
    url('../webfonts/NexaBoldItalic/Nexa-XBold-Italic-webfont.svg') format('svg');
}