:root
{
    --gold: #edd28f;
    --easing: cubic-bezier(0.5, 0.7, 0.4, 1);
}

* {
    margin: 0;
    padding: 0;
}

html,
body {
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;

    font-family: 'Montserrat', Lato;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/**
 * Webgl and vignette
 */
#webgl {
    position: fixed;
    top: 0;
    left: 0;
    outline: none;

    cursor: grab;
    -webkit-tap-highlight-color: transparent;
}

#webgl::after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 101vw;
    height: 101vh;

    box-shadow: inset 0px 0px 60px 80px #fcf8f7ff;
    pointer-events: none;
}

@media screen and (max-width: 992px) {
    #webgl::after {
        width: 130vw;
    }
}

@media screen and (max-width: 768px) {
    #webgl::after {
        width: 140vw;
    }
}


/**
 * Debug
 */
#debug_div {
    position: absolute;
    width: 100%;
    height: 20px;
    bottom: 55px;
    left: 10px;
    font-size: 8pt;
}


/**
 * Loader
 */
#loader_div
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    transition: opacity 1s linear;
    will-change: opacity;
    color: var(--gold);

    z-index: 50;
}

/* Logo */
#loader_logo_container
{
    position: relative;
    width: 30vw;
    min-width: 200px;
    height: 20vh;
    max-width: 350px;

    left: 50%;
    top: 15vh;
    transform: translateX(-50%);
}

#loader_logo_icon_container
{
    position: relative;
    display: inline-block;
    width: 50%;

    left: 50%;
    transform: translateX(-50%);
}
#loader_logo_icon_container:after
{
    display: block;
    content: '';
    padding-bottom: 40%;
}


#loader_bar_ghost, #loader_bar_fill_container
{
    position: absolute;

    width: 100%;
    padding-bottom: 25%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

#loader_bar_ghost {
    background-color: #ffffff33;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
#loader_bar_fill_container
{
    transition: all 2s;
    clip-path: inset(0 100% 0 0);
}
#loader_bar_triangle
{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--gold);
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

#loader_logo_text
{
    position: relative;
    display: block;
    margin-top: 5%;
    left: 0;
    right: 0;
    font-size: 1em;
    text-align: center;
}
@media screen and (max-width: 992px)
{
    #loader_logo_text
    {
        font-size: 0.75em;
    }
}

@media screen and (max-width: 768px)
{
    #loader_logo_text
    {
        font-size: 0.5em;
    }
}

/* Texts */
#loader_texts_container
{
    position: relative;
    width: 100%;
    height: 100%;

    top: 0;
    left: 0;
}
.loader_text
{
    position: relative;

    top: 25%;
    width: 100%;
    opacity: 0;
    text-align: center;

    font-size: 2em;
    font-weight: 600;
    line-height: 150%;
}
@media screen and (max-width: 992px)
{
    .loader_text
    {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 768px)
{
    .loader_text
    {
        font-size: 1em;
    }
}
#loader_text_1
{
    animation: text_fade 3s ease 0s;
    animation-fill-mode: forwards;
}
#loader_text_2
{
    animation: text_fade 3s ease 1.8s;
    animation-fill-mode: forwards;
}
@keyframes text_fade
{
    0%
    {
        opacity: 0;
        transform: scale(0.8);
    }
    70%
    {
        opacity: 1;
    }
    100%
    {
        opacity: 1;
        transform: scale(1.2);
    }
}

/**
 * Details (a comparsa) NEW
 */

/* Main container */
#details_main {
    position: absolute;
    display: flex;

    background-color: white;
    visibility: hidden;
    transition: 1s;
    z-index: 2;

    width: 35vw;
    height: 100vh;
    top: 0;
    right: -35vw;
}
#details_main.visible {
    visibility: visible;
    right: 0;
}

@media screen and (max-width: 768px) {
    #details_main {
        width: 100%;
        height: auto;
        top: unset;
        right: unset;
        bottom: 0;
        margin-bottom: -200px;
    }
    #details_main.visible {
        margin-bottom: 0;
    }
}

/* Close btn */
#close_details_btn {
    position: absolute;
    left: 24px;
    top: 24px;
    width: 32px;
    height: 32px;
    opacity: 0.5;
}
#close_details_btn:hover {
    opacity: 1;
}
#close_details_btn:before,
#close_details_btn:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #000000;
}
#close_details_btn:before {
    transform: rotate(45deg);
}
#close_details_btn:after {
    transform: rotate(-45deg);
}

@media screen and (max-width: 768px) {
    #close_details_btn {
        left: 10px;
        top: 10px;
        transform: scale(0.7);
    }
}


/* Content */
#details_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    text-align: center;
}

#details_title_container {
    padding: 0px 20px;
    font-size: 28pt;
    font-weight: 100;
    font-family: 'EB Garamond', serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    word-break: break-word;
    color: #2d2e33;
}

#details_description_container {
    margin: 40px;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Montserrat';
    line-height: 1.625;
    color: #6c6d74;

    max-height: 40%;
    overflow: auto;
    text-overflow: ellipsis;
}

#details_findmore_btn {
    border: 1px solid #2d2e33;
    vertical-align: middle;

    color: #2d2e33;
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    line-height: 38px;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: none;

    padding: 0 30px;
}

@media screen and (max-width: 768px) {
    #details_container {
        width: 100%;
        height: 100%;
    }
    #details_title_container {
        width: 100%;
        font-size: 10pt;
        letter-spacing: 1px;
        pointer-events: none;
        padding: 30px;
        z-index: 2;
    }
    #details_description_container {
        display: none;
    }
    #details_findmore_btn {
        width: 100%;
        height: 40px;
        bottom: 0px;

        background-color: #d0be7b;
        border: none;
        padding: 0px;
    }
}


/**
 * Slide menu
 */
#menu_nav {
    height: 100%;
    width: 0;
    max-width: 500px;

    position: absolute;
    z-index: 50;
    top: 0;
    right: 0;
    transition: 0.7s;

    overflow: auto;

    background-color: #242427;
}

.close_menu_div {
    position: absolute;
    display: block;
    top: 2vw;
    right: 2vw;
}
.close_menu_div:hover {
    cursor: pointer;
}
.close_menu_div:hover line{
    stroke: white;
    transition: 0.4s;
}

.hamburger_btn {
    position: absolute;
    top: 1vw;
    right: 3vw;

    color: #000000;
    font-size: 36px;
}

.hamburger_btn:hover {
    color: #555555;
    cursor: pointer;
}

#menu_content {
    padding: 20px;
    transition: margin-left 0.7s;
    overflow: hidden;
    width: 100%;
}

/* Mobile */

@media screen and (max-width: 768px) {
    .nav {
        height: 100%;
        width: 90% !important;
        position: absolute;
        z-index: 1;
        top: 0;
        right: 0;
        padding-top: 60px;
        transition: 0.7s;

        overflow: hidden;

        background-color: #c9c4c0;
    }
    .close_menu_div {
        top: 30px;
        right: 30px;
    }
    .hamburger_btn {
        top: 15px;
        right: 30px;
    }
}
/**
 * Menu content
 */
#menu_list_container {
    position: absolute;
    width: 100%;

    top: 50px;
    padding-bottom: 50px;
}

#menu_list_container ol {
    list-style-type: none;
}

#menu_list_container a {
    position: relative;
    color: rgba(255,255,255,.4);
    text-decoration: none;
    text-transform: none;
    margin: 18px;
    transition: color 0.5s;
    cursor: pointer;
    font-family: 'Playfair Display';
    font-weight: 100;
}

#menu_list_container a:hover {
    color: white;
}

.listArrow{
    font-size: bold;
    font-size: 20px;
    position: absolute;
    right: -300px;
}

.menu_item {
    width: fit-content;
    white-space: nowrap;
    font-size: 28px;
    margin-top: 20px;
    margin-left: 20px;
    font-family: 'Montserrat';
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sub_menu {
    font-size: 16px;
    font-weight: normal;
    margin-top: 10px;
    margin-left: 40px;
}

.subcategories{
    display: none;
}

.menu_space {
    height: 40px;
}

/**
 * Switch
 */
.switch_lbl {
    position: absolute;
    display: inline-block;
    width: 200px;
    height: 80px;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%) scale(0.55);
}

.switch_lbl input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch_icon:hover {
    cursor: pointer;
}

.switch_slider {
    position: absolute;
    cursor: pointer;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 40px;
    border-radius: 40px;
    background-color: #00000022;
    border: 1px solid #00000033;
    -webkit-transition: .4s;
    transition: .4s;
}

.switch_slider:before {
    position: absolute;
    content: "";
    height: 32px;
    width: 32px;
    left: 4px;
    bottom: 4px;
    border-radius: 50%;
    background-color: #00000077;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.switch_slider:before {
    -webkit-transform: translateX(40px);
    -ms-transform: translateX(40px);
    transform: translateX(40px);
}


/*
 * Footer
 */
#footer {
    position: absolute;
    bottom: 10px;
    width: 100%;

    background-color: transparent;

    font-family: 'Montserrat';
    letter-spacing: 1px;
}

.footerList {
    position: relative;
    margin: 15px 40px;
    scroll-behavior: smooth;
    text-align: center;
}

.footerList ul {
    overflow-x: hidden;
    white-space: nowrap;

    list-style: none;
    padding: 0;
    margin: 0;
}

.footerList li {
    margin-right: 80px;
    display: inline-flex;
    flex-direction: column;
}

@media screen and (max-width: 768px)
{
    .footerList li {
        margin-right: 30px;
    }
}

.footerList a {
    position: relative;
    color: #222;
    text-decoration: none;
    overflow: hidden;
    padding-bottom: 3px;
    cursor: pointer;
}

.footerList a:after {
    display: block;
    content: '';
    height: 1.5px;
    background-color: #222;
    opacity: 0.75;
    position: absolute;
    bottom: 0;
    width: 100%;
    transform: translateX(-101%);
}
.footerList a:hover::after {
    transition: transform 0.3s var(--easing);
    transform: translateX(0);
}
.footerList a.animate-out::after {
    transition: transform 0.3s var(--easing);
    transform: translateX(100%);
}


/*       */
/* Arrow */
/*       */
.arrow {
    position: absolute;
    display: block;
    top: 45%;

    width: 3px;
    height: 3px;
    border: solid #444444;
    border-width: 0 3px 3px 0;
    padding: 3px;
}

.arrow.left {
    left: 16px;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.arrow.right {
    right: 16px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.arrow.hidden {
    display: none;
}

.arrow:hover {
    cursor: pointer;
}

/* Underline (js) */
.hand_underline
{
    position: relative;
    opacity: 0.6;
    width: 0%;
    height: 2px;
    margin-top: -1px;
    background-color: red;
    transform-origin: left;
    transition: opacity .5s ease, width 7s linear;
}

/**
 * Misc
 */
#disable_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0;
    transition: opacity 0.75s;
    pointer-events: none;
}

#paper_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../imgs/paper_overlay_2.jpg);
    mix-blend-mode: multiply;
    opacity: 0.75;
    pointer-events: none;

    z-index: 100;
}

#logo_btn_div {
    position: absolute;
    top: 10px;
    left: 20px;

    z-index: 40;
}

#logo_btn_div img {
    width: 200px;
}
@media screen and (max-width: 768px) {
    #logo_btn_div img {
        width: 160px;
    }
}

#statsjs_div {
    position: absolute;
    top: 0;
    left: 0;

    z-index: 60;
}

/**
 * Scrollbar
 */
::-webkit-scrollbar
{
    width: 0px;
    background: transparent;
}

/*# sourceMappingURL=main.css.map*/