/* --------------------------------------------- */
/* ----------------- Variables ----------------- */
:root {
    --clr-bg-white: #F5F5F5;
    --clr-mobile-white: #F8F3EC;
    --clr-white: #ffffff;
    --clr-gold: #C09A53;
    --clr-gold-translucent: #C09A5352;
    --clr-gold-light: #DFC28B;
    --clr-green: #204D12;
    --clr-black: #000000;
    --clr-grey: #7A7A7A;
    --clr-red: #C32032;

    --page-offset: 2.6rem;
}


/* ----------------------------------------- */
/* ----------------- Fonts ----------------- */

@font-face {
    font-family: 'Roboto Thin';
    src: url("/public/fonts/Roboto-Thin.ttf");
    /* font-weight: 200;*/
}

@font-face {
    font-family: 'Roboto Light';
    src: url("/public/fonts/Roboto-Light.ttf");
    /* font-weight: 300;*/
}

@font-face {
    font-family: 'Roboto';
    src: url("/public/fonts/Roboto-Regular.ttf");
    /* font-weight: 400;*/
}

@font-face {
    font-family: 'Roboto Medium';
    src: url("/public/fonts/Roboto-Medium.ttf");
    /* font-weight: 500;*/
}

@font-face {
    font-family: 'Roboto Bold';
    src: url("/public/fonts/Roboto-Bold.ttf");
    /* font-weight: 600;*/
}

@font-face {
    font-family: 'Roboto Black';
    src: url("/public/fonts/Roboto-Black.ttf");
    /* font-weight: ;*/
}


/* ----------------------------------------- */
/* ----------------- General --------------- */

html {
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-bg-white);
    overflow: hidden;
    z-index: 50;
}

body {
    display: flex;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    color: var(--clr-black);
    font-family: 'Cora', sans-serif;
    font-size: 2.2rem;
}

#menu {
    width: 31rem;
    height: 100%;
}

#content {
    display: flex;
    padding: 0;
    margin: 0 auto;
    width: calc(100% - 31rem);
    height: 100%;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    text-align: center;
}


* {
    box-sizing: border-box;
    position: relative;
    z-index: inherit;

    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;

    scroll-behavior: smooth;
}

input:focus {
    outline: none;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.noselect,
.noselect * {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.snappingScroll {
    scroll-snap-align: center;
}

.hidden {
    display: none !important;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.middle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.animated {
    transition: color 0.5s, font-size 0.5s, background-image 0.5s, background-color 0.5s;
}


/* ----------------------------------------- */
/* ----------------- Media ----------------- */

/* ----------------- Desktop HD 2592px ----------------- */
@media only screen and (min-width: 2592px) {
    :root {
        font-size: 15px;
    }
}


/* ----------------- Landscape (desktop) 1728px ----------------- */
/*
.portrait {
    display: none;
}
    */

:root {
    font-size: 0.579vw;
}

.tablet,
.mobile {
    display: none;
}

.tabletMobile {
    display: none;
}



/* ----------------- Tablet 720px ----------------- */
@media only screen and ((max-width: 1000px) or (orientation: portrait)) {
    .desktop,
    .mobile {
        display: none;
    }

    .tablet {
        display: block;
        font-size: 10px;
    }

    .desktopTablet {
        display: block;
    }

    .tabletMobile {
        display: block;
    }

    :root {
        font-size: 1.389vw;
    }

    html {
        width: 100vw;
    }
}

/* ----------------- Mobile 360px ----------------- */
@media only screen and (max-width: 500px) {
    .desktop,
    .tablet {
        display: none;
    }

    .desktopTablet {
        display: none;
    }

    .tabletMobile {
        display: block;
    }

    .mobile {
        display: block;
        font-size: 10px;
    }

    :root {
        font-size: 2.778vw;
    }

    html {
        width: 100vw;
    }
}


/* ----------------- Portrait Orientation ----------------- */
/*
@media (orientation: portrait) {
    .snappingScroll {
        scroll-snap-align: none;
    }

    :root {
        font-size: 2.545vw;
        --page-offset: 1.3rem;
    }

    html {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .portrait {
        display: block;
    }

    .landscape {
        display: none;
    }
}
*/


/* --------------------------------------------- */
/* ----------------- Scrollbar ----------------- */

/* Mozilla */
@-moz-document url-prefix(){
    * {
        scrollbar-color: var(--clr-gold) var(--clr-bg-white);
        scrollbar-width: thin;
    }
}

/* width */
::-webkit-scrollbar {
    width: 1.2rem;
    height: 1.2rem;
    background-color: var(--clr-bg-white);
}

/* Track */
::-webkit-scrollbar-track {
    /*-webkit-box-shadow: inset 0 0 0.6rem rgba(0,0,0,0.3);*/
    background-color: var(--clr-bg-white);
    border-radius: 0.5vw;
}

/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 0.5vw;
    background-color: var(--clr-gold);
}




/* ----------------- Tablet 720px ----------------- */
@media only screen and ((max-width: 1000px) or (orientation: portrait)) {

    ::-webkit-scrollbar {
        width: 0.8rem;
        height: 0.8rem;
    }

    #content {
        width: 100%;
        justify-content: flex-start;
    }

    html {
        background-color: var(--clr-white);
    }
}


/* ----------------- Mobile 360px ----------------- */
@media only screen and (max-width: 500px) {
    #content {
        width: 100%;
    }
}