/*---VARIABLES---*/
:root{
    /*Colors*/
    --global-color-bg: rgb(31, 31, 31);
    --global-color-hili: #000;
    --global-color-txt: #ffffff;
    /*Layout*/
    --header-padding: 1.75em;
    --header-margin-top: 0;
    --header-height: 15%;
    --frameMenuLayer-height: 73%;
    --height-frameIndicBox: 5%;
    --height-leagalLinks: 7%;
    --border-radius: 1em;
}
/*Fonts*/
@font-face {
    font-family: CinzelRegular;
    src: url("/fonts/Cinzel-Regular.ttf");
}
@font-face {
    font-family: RobotoThin;
    src: url("/fonts/Roboto-Thin.ttf");
}
@font-face {
    font-family: RobotoLight;
    src: url("/fonts/Roboto-Light.ttf");
}
@font-face {
    font-family: RobotoRegular;
    src: url("/fonts/Roboto-Regular.ttf");
}
@font-face {
    font-family: RobotoMedium;
    src: url("/fonts/Roboto-Medium.ttf");
}
@font-face {
    font-family: RobotoBold;
    src: url("/fonts/Roboto-Bold.ttf");
}
@font-face {
    font-family: RobotoBlack;
    src: url("/fonts/Roboto-Black.ttf");
}

/*---GENERAL LAYOUT---*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html{
    height: 100vh;
    height: -webkit-fill-available;
    height: 100svh;
    height: 100dvh;
    width: 100vw;
    width: -webkit-fill-available;
    width: 100svw;
    width: 100dvw;
}
body{
    height: 100vh;
    height: -webkit-fill-available;
    height: 100svh;
    height: 100dvh;
    width: 100vw;
    width: -webkit-fill-available;
    width: 100svw;
    width: 100dvw;
    background-color: var(--global-color-bg);
    color: var(--global-color-txt);
    overflow-y: hidden;
    overflow-x: visible;
    display: flex;
    align-items: center;
    flex-direction: column;
    transition: background-color 2s ease;
}
body.legal{
    height: auto;
    overflow-y: scroll;
}
body.legal header{
    height: 15vh;
}
.revealer{
    height: 100vh;
    height: -webkit-fill-available;
    height: 100svh;
    height: 100dvh;
    width: 100vw;
    width: -webkit-fill-available;
    width: 100svw;
    width: 100dvw;
    left: 0;
    top: 0;
    display: none;
    position: fixed;
    background-color: #000;
    opacity: 1;
    pointer-events: none;
    z-index: 10;
    transition: opacity 500ms ease;
}
.mainCont{
    width: 80%;
    max-width: 1750px;
    height: inherit;
    position: relative;
}
.mainCont.legal{
    height: auto;
    max-width: 1200px;
}
/*---Selected Text---*/
::-moz-selection {
  color: var(--global-color-bg);
  background: var(--global-color-txt);
}
::selection {
  color: var(--global-color-bg);
  background: var(--global-color-txt);
}

/*---HEADER---*/
header{
    height: var(--header-height);
    margin-top: var(--header-margin-top);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}
header a, header p{
    font-family: RobotoLight;
    font-size: 1.125em;
    color: var(--global-color-txt);
    transition: color 2s ease;
}
header a.active{
    font-family: RobotoBlack;

}
/*Contac Button*/
.contactBtn{
    border: 1px solid var(--global-color-txt);
    color: var(--global-color-txt);
    background-color: rgba(0, 0, 0, 0);
    border-radius: 3em;
    padding: .5em 1.75em;
    font-family: RobotoLight;
    transition: all 2s ease;
    box-shadow: var(--global-color-txt) 0px 0px 8px;
}
.contactBtn.legalBtn{
    transition: all 250ms ease;
}
.contactBtn:hover{
    color: var(--global-color-bg);
    background-color: var(--global-color-txt);
    box-shadow: var(--global-color-txt) 0px 0px 24px;
}
/*Menus*/
.mainMenu, .secMenu{
    display: flex;
}
.mainMenu a{
    margin-right: var(--header-padding);
}
.secMenu a:nth-child(2){
    margin-left: var(--header-padding);
}
.secMenu a:nth-child(3){
    margin-left: calc(var(--header-padding) / 4);
}.mainMenu.hidden{
    display: none;
}
.mainMenu_goBack{    
    display: none;
    align-items: center;
    cursor: pointer;
}
.mainMenu_goBack p{
    margin: 0;
    text-align: left;
}/* Arrow Go Back */
.mainMenu_goBack .Arrow{
    margin: 0;
    margin-right: .25em;
    transform: rotate(180deg);
    pointer-events: none;
}
.mainMenu_goBack:hover .Arrow div{
    transform: translateX(50%);
}
/*Logo*/
header a h1{    
    font-size: 1em;
    font-weight: normal;
}
.logo_large{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    font-family: CinzelRegular;
    font-size: 1.5em;
}
.logo_small{
    text-transform: uppercase;
    font-family: CinzelRegular;
    font-size: 2.25em;
    display: none;
}

/*---FRAME MENU-LAYERS---*/
.frames{
    /*border: 1px solid blue;*/
    width: 100%;
    height: inherit;
    transition: transform 1.5s ease;
    transform: translateY(0vh);
    pointer-events: none;
    z-index: 10;
}
.frames.selected{
    transform: translateY(-100%);
}
.frameMenuLayer{
    /*border: 1px solid red;*/
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.frameMenuLayer_devider{
    height: var(--frameMenuLayer-margin-bottom);
    display: flex;
}
/*Frame Windows*/
.frameMenuLayer .frameWindow{
    width: 100%;
    height: var(--frameMenuLayer-height);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.6) 0px 20px 70px;
    border-top: 1px solid var(--global-color-hili);
    position: relative;
    transform: 
        perspective(5000px)
        rotateY(var(--mainWindow_rotY))
        rotateX(var(--mainWindow_rotX))
        scale(1);
    transition: border 2s ease;
}
.frameMenuLayer .frameWindow img{
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}
.frameMenuLayer .frameWindow .slideVideo{
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
    cursor: pointer;
    position: relative;
}
.frameMenuLayer .frameWindow:hover .slideVideoButton{
    transform: translate(-50%, -50%) scale(1.2);
}
.frameMenuLayer .frameWindow .slideVideoButton{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: RobotoLight;
    font-size: 1.25em;
    pointer-events: none;
    height: 7em;
    width: 7em;
    left: 50%;
    top: 50%;
    border: 1px solid var(--global-color-txt);
    border-radius: 7em;
    transform: translate(-50%, -50%) scale(1);
    transition: 2s opacity 500ms ease, transform 500ms ease;
    z-index: 1;
}
.frameMenuLayer .frameWindow .slideVideoButton.hidden{
    opacity: 0;
    transition: opacity 500ms ease, transform 500ms ease;
}
/*Preview Frame*/
.frameMenuLayer.preview .frameWindow{
    cursor: pointer;
}
.frameMenuLayer.preview .frameWindow img{
    transform: scale(1.05);
    transition: transform 1s ease;
}
.frameMenuLayer.preview .frameWindow:hover img{
    transform:
        scale(1)
}
.frameMenuLayer.preview .frameWindow:hover .frameSlideText{    
    text-shadow: rgba(0, 0, 0, 0.5) 0px 10px 10px;
    transform: 
        perspective(5000px)
        translateZ(250px);
}
/*Slide Elements*/
.frameSlide{
    height: 100%;
    width: 100%;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.05);
    transition: opacity 2s ease, transform 2s ease;
}
.frameSlide.active{
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
    transition: opacity 2s ease, transform 2s ease;
}
.frameSlide.js-disabled .frameSlideText{
    width: 100%;
    text-align: center;
}
.frameSlideText{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,0) 60%);
    text-shadow: rgba(0, 0, 0, 0) 0px 0px 0px;
    transition: transform 1s ease, text-shadow 1s ease;
    transform:
        perspective(5000px)
        translateZ(0px);
}
.frameSlideText.NoGradientBG{
    background: rgba(0, 0, 0, 0);
}
.frameSlideText p{
    font-family: RobotoLight;
    font-size: 1.3em;
    transform: translateX(-2em);
    transform-origin: 0 0;
    transition: color 2s ease, transform 2s ease;
}
.frameSlideText b{
    font-family: RobotoMedium;
}
.frameMenuLayer.project .frameSlideText{
    background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,0) 60%);
}
.frameMenuLayer.project .frameSlideText.NoGradientBG{
    background: rgba(0, 0, 0, 0);
}
.frameMenuLayer.project .frameSlideText p{
    font-size: 1.1em;
    line-height: 1.5;
    max-width: 20em;
}
.frameSlideText h2{
    font-family: RobotoBold;
    font-size: 3.5em;
    line-height: .9;
    margin-top: .75rem;
    transform: translateX(-2em);
    transform-origin: 0 0;
    transition: color 2s ease, transform 2s ease;
}
.frameSlide.active p{
    transform: translateX(0);
}
.frameSlide.active h2{
    transform: translateX(0);
}

/* ARROWS */
.Arrow{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2em;
    width: 2em;
    margin: 0 1.31em;
    pointer-events: all;
    cursor: pointer;
    /*border: 1px solid red;*/
}
.Arrow:hover div{
    transform: translateX(50%);
}
.Arrow div{
    background-color: rgba(255, 255, 255, 0);
    /*background-color: var(--global-color-txt);*/
    height: 2px;
    width: .75em;
    display: flex;
    position: relative;
    border-radius: 1em;
    cursor: pointer;
    transition: all 2s ease;
    transition: transform 500ms ease;
}
.Arrow div::before{
    content: "";
    background-color: var(--global-color-txt);
    height: inherit;
    width: 1em;
    position: absolute;
    right: 0em;
    transform: rotate(40deg);
    transform-origin: 100% 150%;
    border-radius: inherit;
    cursor: pointer;
    transition: all 2s ease;
}
.Arrow div::after{
    content: "";
    background-color: var(--global-color-txt);
    height: inherit;
    width: 1em;
    position: absolute;
    right: 0em;
    transform: rotate(-40deg);
    transform-origin: 100% -50%;
    border-radius: inherit;
    transition: all 2s ease;
}
.ArrowPrev, .ArrowNext{
    position: absolute;
}
.ArrowPrev{
    transform: rotate(180deg) translateY(-50%);
    left: -5em;
    top: 50%;
}
.ArrowNext{
    transform: translateY(-50%);
    right: -5em;
    top: 50%;
}
/* SLIDE INDICATOR */
.frameIndicBox{
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: var(--height-leagalLinks);
    left: 0;
    right: 0;
    width: 100%;
    height: var(--height-frameIndicBox);
    padding-top: 0.5rem;
}
.slideIndicsCont{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}
.slideIndic{
    height: .5em;
    width: .5em;
    border-radius: 1em;
    border: 1px solid var(--global-color-txt);
    margin: 0 .5em;
    opacity: 1;
    transition: all 1.5s ease;
}
.slideIndic.active{
    opacity: 1;
    width: 2em;
    background-color: var(--global-color-txt);
}

/*---LEGAL STUFF---*/
.legalLinks{
    height: var(--height-leagalLinks);
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    align-self: baseline;
    opacity: 1;
}
.legalLinks.fixed{
    position: fixed;
    bottom: 0;
}
.legalLinks.solid{
    background-color: inherit;
}
.legalLinks a{
    color: #fff;
    color: var(--global-color-txt);
    font-family: CinzelRegular;
    text-transform: uppercase;
    font-size: .8em;
    letter-spacing: 1pt;    
    transition: color 2s ease;
}
.legalLinks div{
    width: 1px;
    height: 25%;
    background-color: var(--global-color-txt);
    margin: 0 .75em;
    opacity: .75;
    transition: background-color 2s ease;
}
.legalText{
    display: flex;
    flex-direction: column;
    min-height: 75vh;
}
.legalText h2{
    font-family: RobotoBold;
    font-size: 2em;
    margin-top: 0em;
    margin-bottom: 0em;
}
.legalText h3{
    font-family: RobotoBold;
    font-size: 1.5em;
    margin-top: 4em;
    margin-bottom: 1em;
}
.legalText h4{
    font-family: RobotoMedium;
    font-size: 1em;
    margin-top: 2em;
    margin-bottom: 0em;
    line-height: 1.5;
}
.legalText h5{
    font-family: RobotoMedium;
    font-weight: normal;
    font-size: 1em;
    margin-top: 1em;
    margin-bottom: 0em;
    line-height: 1.5;
}
.legalText p{
    font-family: RobotoLight;
    font-size: 1em;
    line-height: 1.5;
    text-align: justify;
}
.legalText strong{
    font-family: RobotoMedium;
    font-size: 1em;
    line-height: 1.5;
    font-weight: normal;
    margin-top: 1.5em;
    padding-bottom: 0em;
}
.legalText a{
    color: inherit;
    text-decoration: underline;
}
.legalText ul{
    margin: 1em 0;
}
.legalText li{
    font-family: RobotoLight;
    font-size: 1em;
    line-height: 1.5;
    margin-left: 1em;
}


/*---RESPONSIVNESS---*/
@media (max-width: 800px){
    /*Header*/
    header .mainMenu, .logo_large{
        display: none;
    }
    .logo_small{
        display: flex;
    }
    .logo_small.hidden{
        display: none;
    }
    /*Frames Text*/
    .frameSlideText p, .frameMenuLayer.project .frameSlideText p, .frameMenuLayer.project .slideVideoButton{
        font-size: 1em;
    }
    .frameSlideText h2{
        font-size: 2.5em;
        margin-top: .5rem;
    }
    .ArrowPrev, .ArrowNext{
        display: none;
    }
    /*Legal*/
    .legalText p{
        text-align: left;
    }
}
@media (max-width: 500px){
    /*Slide description*/
    .frameMenuLayer.project .frameSlideText{
        padding-bottom: 20%;
        justify-content: flex-end;
        background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 60%);
    }
    .frameMenuLayer.project .frameSlideText p{
        width: 100%;
        max-width: 100%;
    }
}