/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

html {
    font-size: 16px;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #ffffff;

    min-height: 100vh;

    overflow-x: hidden;
	background: rgba(154, 113, 67, 1.0);
}


/* =========================================================
   FIXED BACKGROUND
   ========================================================= */

.site-background {
    position: fixed;

    top: 55px;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: -3;

    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% auto;

    background-attachment: scroll;
}


/* Darkens the background slightly */
.background-overlay {
    position: fixed;

    inset: 0;

    z-index: -2;

    background: rgba(0, 0, 0, 0.2);

    pointer-events: none;
}


/* =========================================================
   TOP BANNER
   ========================================================= */

.top-bannerX {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 64px;

    z-index: 1000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 60px;

    background: rgba(15, 15, 15, 0.88);

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 2px 15px rgba(0, 0, 0, 0.35);
}
.top-banner {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 64px;

    z-index: 1000;

    display: flex;
    align-items: center;

    /* Force contents to the left */
    justify-content: flex-start;

    padding: 0 15px;

    background:
        linear-gradient(
            180deg,
            rgba(18, 55, 95, 0.67) 0%,
            rgba(8, 30, 58, 0.47) 55%,
            rgba(5, 22, 43, 0.48) 100%
        );

    border-bottom: 1px solid rgba(90, 150, 210, 0.35);

    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.45),
        0 8px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
/* =========================================================
   AUTO-HIDE TOP BANNER ON SCROLL
   ========================================================= 

.top-banner {
    transition: transform 0.3s ease;
}

.top-banner.scroll-hidden {
    transform: translateY(-100%);
}

*/
.company-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    flex-shrink: 0;
}

.company-logo img {
    width: auto;
	max-width: 80%;
    max-height: 60px;

    display: block;
}

/* =========================================================
   MENU BUTTON
   ========================================================= */

.menu-button {
    position: absolute;

    right: 15px;

    top: 50%;
	
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    padding: 8px;

    border: 0;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.10);

    cursor: pointer;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 5px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.menu-button:hover {
    background: rgba(255, 255, 255, 0.18);
}

.menu-button:active {
    transform: translateY(-50%) scale(0.95);
}


.menu-button span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 0 auto;

    background: #ffffff;

    border-radius: 2px;
}


/* =========================================================
   SIDE MENU
   ========================================================= */

.side-menuX {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;

    width: min(41vw, 180px);

    z-index: 1200;

    background: rgba(18, 18, 18, 0.97);

    border-left: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        -8px 0 30px rgba(0, 0, 0, 0.35);

    transform: translateX(105%);

    transition:
        transform 0.3s ease;

    overflow-y: auto;

    -webkit-overflow-scrolling: touch;
}
.side-menu {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;

    width: min(41vw, 180px);

    z-index: 1200;

background: transparent;
    border-left: 1px solid rgba(90, 150, 210, 0.35);

    box-shadow:
        -8px 0 30px rgba(0, 0, 0, 0.45),
        inset 1px 0 0 rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transform: translateX(105%);

    transition:
        transform 0.3s ease;

    overflow-y: auto;

    -webkit-overflow-scrolling: touch;
}

/* Menu open */
.side-menu.open {
    transform: translateX(0);
}


/* =========================================================
   MENU HEADER
   ========================================================= */

.menu-header {
    height: 64px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 15px 0 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}


.menu-title {
    font-size: 1.15rem;

    font-weight: 700;
}


.menu-close {
    width: 40px;
    height: 40px;

    border: 0;

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.16);
}


/* =========================================================
   MENU LINKS
   ========================================================= */

.menu-links {
    padding: 12px;
}


.menu-links a {
    display: flex;

    align-items: center;

    gap: 13px;

    min-height: 50px;

    padding: 12px 14px;

    margin-bottom: 5px;

    border-radius: 9px;

    color: #ffffff;

    text-decoration: none;

    font-size: 1.4rem;
	text-shadow: 1px 1px 1px #000;
    transition:
        background 0.2s ease,
        padding-left 0.2s ease;
}


.menu-links a span {
    width: 25px;

    text-align: center;

    font-size: 1.6rem;
}


.menu-links a:hover {
    background: rgba(255, 255, 255, 0.10);

    padding-left: 18px;
}


.menu-links a:active {
    background: rgba(255, 255, 255, 0.16);
}


/* =========================================================
   MENU OVERLAY
   ========================================================= */

.menu-overlay {
    position: fixed;

    inset: 0;

    z-index: 1100;

    background: rgba(0, 0, 0, 0.25);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


.menu-overlay.open {
    opacity: 1;

    visibility: visible;
}


/* =========================================================
   PAGE CONTENT
   ========================================================= */

.page-content {
    position: relative;

    z-index: 1;

    min-height: 100vh;

    padding: 84px 15px 30px;
}


/* =========================================================
   BASIC CONTENT CONTAINER
   ========================================================= */

.content-box {
    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    padding: 20px;

    border-radius: 14px;

    background: rgba(18, 55, 95, 0.48);

    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.content-box h1,
.content-box h2,
.content-box h3 {
    margin-top: 0;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 768px) {

.site-background {
        position: fixed;

        top: 55px;
        left: 50%;

        width: 100%;
        max-width: 800px;
        height: 100%;

        transform: translateX(-50%);

        z-index: -3;

        background-position: top center;
        background-repeat: no-repeat;
        background-size: 100% 100vh;

        background-attachment: scroll;
    }
	
.background-overlay {
    position: fixed;

    inset: 0;

    z-index: -2;

    background:
        radial-gradient(
            ellipse at center,
            rgba(110, 80, 47, 0.5) 0%,
            rgba(110, 80, 47, 0.5) 35%,
            rgba(0, 0, 0, 0.65) 75%,
            rgba(0, 0, 0, 0.9) 100%
        );

    pointer-events: none;
}

    .top-banner {
        height: 70px;

        padding-left: 70px;
        padding-right: 20px;

        justify-content: center;
    }


    .company-logo img {
        font-size: 1.3rem;
		height: 70px;
		width: auto;
    }


    /*
       DESKTOP MENU:
       LEFT SIDE
    */

    .menu-button {
        left: 15px;
    }


    .side-menu {
        left: 0;
        right: auto;

        border-left: 0;

        border-right: 1px solid rgba(255, 255, 255, 0.12);

        box-shadow:
            8px 0 30px rgba(0, 0, 0, 0.35);

        transform: translateX(-95%);
    }


    .side-menu.open {
        transform: translateX(0);
    }


    .page-content {
        padding: 90px 30px 40px;
    }


    .content-box {
        padding: 30px;
    }
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {

    .page-content {
        padding-left: 50px;
        padding-right: 50px;
    }

}