/* Fonts */

/*Barlow Regular*/
    @font-face{
        font-family: "Barlow"; 
        src: url('assets/fonts/Barlow/Barlow-Regular.woff');
        src: url('assets/fonts/Barlow/Barlow-Regular.woff') format('woff');
        src: url('assets/fonts/Barlow/Barlow-Regular.ttf') format('truetype');

        font-weight: normal;
        font-style: normal;
    }

    /*Barlow Semibold*/
    @font-face{
        font-family: "Barlow"; 
        src: url('assets/fonts/Barlow/Barlow-SemiBold.woff');
        src: url('assets/fonts/Barlow/Barlow-SemiBold.woff') format('woff');
        src: url('assets/fonts/Barlow/Barlow-SemiBold.ttf') format('truetype');

        font-weight: bold;
        font-style: normal;
    }

    /*Barlow Regular Italic*/
    @font-face{
        font-family: "Barlow"; 
        src: url('assets/fonts/Barlow/Barlow-Italic.woff');
        src: url('assets/fonts/Barlow/Barlow-Italic.woff') format('woff');
        src: url('assets/fonts/Barlow/Barlow-Italic.ttf') format('truetype');

        font-weight: normal;
        font-style: italic;
    }

    /*wudarou Standard*/
    @font-face{
        font-family: "wudarou"; 
        src: url('assets/fonts/wudarou-standard/wudaroustandard-Regular.ttf');
        src: url('assets/fonts/wudarou-standard/wudaroustandard-Regular.woff') format('woff');
        src: url('assets/fonts/wudarou-standard/wudaroustandard-Regular.ttf') format('truetype');

        font-kerning: none;
        font-weight: normal;
        font-style: normal;
    }


/* HTML Native Classes */
    html{
        scroll-behavior: smooth;
        text-rendering: geometricPrecision;
    }

    h1{
        font-weight: normal;
        font-style: normal;
        font-size: 24px;
    }

    h2{
        font-family: "wudarou", "Barlow", Calibri, sans-serif;
        font-weight: normal;
        font-size: 24px;
        transition: opacity 0.5s;
    }
    
    h3{
        margin-top: 0;
        font-weight: normal;
        font-style: normal;
        font-size: 18px;
    }

    p{
        font-weight: normal;
        font-style: normal;
        font-size: 16px;
        display: inline;
        line-height: 24px;
          
    }

    hr{
        color: #211A18cc;
        opacity: 80%;

    }

    br{
        height: 20px;
    }

    body{
        margin: 0;

       
        background-repeat: no-repeat;
        background-position-x: center;
        background-color: #f9f9f0;
        color: #211A18cc;
        line-height: 1;
        font-family: "Barlow", Calibri, sans-serif;
        font-size: 100%;
        letter-spacing: 2.25px;

        @media (width >= 850px){
            background-image: linear-gradient(rgba(33, 26, 24, 0.05) 1%, rgba(0, 0, 0, 0) 15%), url("./assets/images/bodyBG_tile.png");
        }
        @media (width < 850px){
            background-image: linear-gradient(rgba(33, 26, 24, 0.05) 1%, rgba(0, 0, 0, 0) 15%), url("./assets/images/bodyBG_tile_mobile.png");
        }

    }

    section{
        display: flow-root;
        margin: 64px auto;
        
        /*Adhere to parent width*/
        width:75% !important;
        height:100%;
        text-align: left;
        text-wrap: stable;
    }

    img{
        z-index: 1;
        object-fit: contain;
        display: block;
    }

    video{
        z-index: 1;
        object-fit: contain;
        display: block;
    }

    
    a:link {
        color: #211A18cc;
        text-decoration: none;
    
    }

    a:visited {
        color: #211A18cc;
        text-decoration: none;
    }

    form{
        font-family: "Barlow", Calibri, sans-serif;
        font-size: 14px;
        display: inline;
        letter-spacing: 2.25px;
    }

    input{
        font-family: "Barlow", Calibri, sans-serif;
        font-size: 14px;
        display: inline;
        letter-spacing: 2.25px;
    }

    textarea{
        min-width: 100%;
        min-height: 5em;

        font-family: "Barlow", Calibri, sans-serif;
        font-size: 14px;
        display: inline;
        letter-spacing: 2.25px;
    }

/*Mobile Only Classes*/

    .mobileMenuTab{
        z-index: 2;
        top: -14%;
        margin-left: 75%;
        position: fixed;
        background-image: url("./assets/images/mobileMenu.png");
        box-shadow: 0px 2px 8px 0px #211A1840;
        width: 64px;
        height: 200px;
        transition: top 1.5s;

        transform: rotate(1deg);
        @media (width >= 850px){
            display: none;
        }
        @media (width < 850px){
        }

    }

    .mobileMenu{
        z-index: 1;
        top: -110%;
        width: 100%;
        height: 100%;
        position: fixed;

        background-image: url("./assets/images/mobileMenuBG_tile.png");
        box-shadow: 0px 2px 12px 0px #211A1890;
        
        transition: top 2s;
        text-align: center;

        display: flex;
        flex-direction: column;
        align-items: center;

        @media (width >= 850px){
            display: none;
            
        }
        @media (width < 850px){
        }
    }

    .mobileMenuCloser{
        margin-top: 5%;
        width: 80px;
        height: 80px;
        line-height: 80px;
        text-align: center;
        font-size:  24px;

        @media (width >= 850px){
            display: none;
            
        }
        @media (width < 850px){
        }
    }
    .mobileMenuButton{
        margin-top: 5%;
        width: 240px;
        height: 64px;
        line-height: 64px;
        font-size: 24px;
        
        background-position: center;
        background-repeat: no-repeat;

        font-family: "wudarou", "Barlow", Calibri, sans-serif;


        @media (width >= 850px){
            display: none;
            
        }
        @media (width < 850px){
        }
    }
    .mobileTitle{
        position: absolute;
        margin-top: 5%;
        right: 40%;
        width: 60%;
        height: 55px;
        line-height: normal;
        
        padding-top: 16px;
        padding-right: 7%;

        text-align: right;

        font-family: "wudarou", "Barlow", Calibri, sans-serif;
        font-size: 24px;

        background-size: cover;
        background-position-x: right;

        /* box-shadow: 0px 2px 12px 0px #211A1830; */

        @media (width >= 850px){
            display: none;
            
        }
        @media (width < 850px){
        }
    }

    .mobileTitleSpacer{
        height: 20px;

        @media (width >= 850px){
            display: none;
            
        }
        @media (width < 850px){
        }
    }

/* Desktop Only Classes */

    .mainContainer{
        
    /*Wide Desktop*/
    @media (width >= 850px){
        margin: 0 auto;
        width: 1600px;
    }  
    @media (width < 850px){
    } 
    }

    .menu{
        display: inline-block;
        width: 220px;
        height: 320px;
        vertical-align: top;
        margin-top: 80px;  
        margin-left: -40px;
       

        /*Wide Desktop*/
        @media (width >= 850px){
        }  
        @media (width < 850px){
            display: none;
        } 
    }

    .menuButton{
        display: inline-block;
        margin-top: 18px;
        width: 200px;
        height: 65px;
        line-height: 65px;
        font-size: 20px;
        text-align: center;
        cursor: pointer;
        padding-left: 20px;

        background-repeat: no-repeat;

        font-family: "wudarou", "Barlow", Calibri, sans-serif;

        @media (width >= 850px){
        }
        @media (width < 850px){
            display: none;
        }
    }

    .backToTop{
        z-index: 0;
        position: fixed;
        top: 88%;
        right: -7%;
        width: 200px;
        height: 65px;
        
        
        transition: right 0.75s;

        background-image: url("/assets/images/backToTop.png");
        background-size: cover;
        
        font-size: 12px; 
        @media (width >= 850px){
        }
        @media (width < 850px) or (not (scripting: enabled)){
          display: none;
        }
    }

/* Shared Classes */

    .loadingPage{
        z-index: 3;
        width: 100%;
        height: 120%;
        top: 0%;


        position: fixed;

        
        background-position-x: center;
        background-position-y: bottom;

        overflow: hidden;

        font-family: "wudarou", "Barlow", Calibri, sans-serif;

        transition: top ease-in 500ms, opacity 250ms;

        @media not (scripting: enabled){
            display: none;
        }
        @media (width >= 850px){
        background-image: url("./assets/images/loadingPageBG.png");
        
        }
        @media (width < 850px){
        background-image: url("./assets/images/loadingPageBG_mobile.png");
        }
        
    

    }

    .loader{

    width: 300px;
    height: 200px;
    
    margin: auto;

    text-align: center;

    @media (width >= 850px){
        margin-top: 18%;
        
    }
    @media (width < 850px){
        margin-top: 50%;
        }
        
    }

    .loader img{
        width: 100%;
        height: 100%;

        opacity: 80%;
    }

    .loaderText{
        padding-top: 1rem;
    }

    .header{
        z-index: 0;
        height: 100px;
        position: relative;
        margin-top: 24px;
        
        @media (width >= 850px){
            text-align: left;
            margin-left: 24px;
            
        }
        @media (width < 850px){
            text-align: center;
            align-content: center;
            }

    }

    .logo {
    z-index: 0;
    display: inline-block;


    rotate: -2deg;

    background-image: url("/assets/images/desktopHome.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    line-height: 12px;

    @media (width >= 850px){
        width: 360px;
        height: 180px;
        margin-left: 25px;
        }

    @media (width < 850px){
        width: 300px;
        height: 140px;
        text-align: center;
        font-size: 22px;
        }
    }

    .landingLogo {
        z-index: 0;
        display: inline-block;
        width: 300px;
        height: 80px;

        font-weight: bold;

        font-family: "Barlow", Calibri, sans-serif;
        
    
        @media (width >= 850px){
            margin-left: 120px;
            text-align: left;
            font-size: 28px;
        }
        @media (width < 850px){
        text-align: center;
        font-size: 22px;
        }
        
    
        }

    .page{
        z-index: 0;
        display: inline-block;
        margin-top: 16px;
        
        overflow: hidden;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;

        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;

        background-image: url("./assets/images/pageBG_tile_L.png");
        background-repeat: repeat-y;
        box-shadow: 4px 5px 8px 6px rgba(98, 87, 73, 0.1);
        

        /*Wide Desktop*/
        @media (width >= 850px){
            margin-left: 100px;
            width: 880px;
        }
        /*Tablet & Mobile*/
        @media (width < 850px){
            margin-left: 2.5%;
            margin-right: 2.5%;
            width: 95%;  
        }    
    }

    .pageContainer{
    
    display: flex;

    /*Wide Desktop*/
    @media (width >= 850px){
        padding-top: 60px;
        margin: 0 auto;
        width: 1200px;
    }  
    @media (width < 850px){
        padding-top: 40px;
    } 
    }

    .landingPage{
        z-index: 0;

        display: inline-block;
        vertical-align: text-top;
        aspect-ratio: 3/4;
        
        

        /*Wide Desktop*/
        @media (width >= 850px){
            margin-left: 350px;
            margin-bottom: 40px;
            width: 500px;
        }
        /*Tablet & Mobile*/
        @media (width < 850px){
            margin-left: 20%;
            margin-bottom: 16px;
            width: 60%;
        }    
    }

    .landingPage img{
       width: 100%;
       height: 100%;  
    }

    .landingWarning{
        margin: auto;
        width: 55%;
        text-align:left;

        /*Wide Desktop*/
        @media (width >= 1400px){
            display: none;
        }
        /*Tablet & Mobile*/
        @media (width < 1400px){
        } 
    }

    .jsWarning{
        margin: auto;
        margin-bottom: 2rem;
        width: 55%;
        text-align: left;

        @media (scripting: enabled){
            display: none;
        }

    }

    .maintenanceMessage{
        margin: auto;
        width: 55%;
        text-align:left; 
    }


    .buttonRack{
        min-height: 3rem;
        margin-bottom: 1rem;
        margin-left: -0.5rem;
        width: 125%;
    }
    
    .customButton{
        display: inline-block;
        background-repeat: no-repeat;
        width: fit-content;
        aspect-ratio: 1.45;
        padding: 0px 0.75rem;
        margin-top: 0.5rem;

        line-height: 1.5rem;
        font-family: "Barlow", Calibri, sans-serif;
        cursor: pointer;
    }

    .landscapeFrame{
        z-index: 0;
        max-width: 100% !important;
        aspect-ratio: 16/9;
        outline: solid #fefefe 0.5rem;
        outline-offset: -1px;
        box-shadow: 0px 4px 8px 6px rgba(98, 87, 73, 0.2);

        object-fit: 50% 50%;

        
    
    }


    .landscapeFrame img{
        width: 100%;
        height: 100%;
       transition: opacity 750ms;
    }

    .landscapeFrame video{
        max-width: 100%;
    } 

    .scrollableLandscapeFrame{
        z-index: 0;
        max-width: 100% !important;
        aspect-ratio: 16/9;
        padding: 0.5rem;
        background-image: url("assets/images/devlogBG_tile.png");
        background-size: cover;
        overflow-y: scroll;
        outline: solid #fefefe 0.5rem;
        outline-offset: -1px;
        box-shadow: 0px 4px 8px 6px rgba(98, 87, 73, 0.2);
    }

    .portraitFrame{
        z-index: 0;
        width: 200px;
        aspect-ratio: 4/5  !important;
        background-color: #eeeeee;

        transition: background-color 0.75s;
        outline: solid #fefefe 0.5rem;
        outline-offset: -1px;
        box-shadow: 0px 4px 8px 6px rgba(98, 87, 73, 0.2);

        /*Wide Desktop*/
        @media (width >= 850px){
            float: left;
            margin-right: 60px;
            margin-bottom: 60px;
            
        }
        /*Tablet & Mobile*/
        @media (width < 850px){
            margin: auto;
            margin-bottom: 30px;
        }    

    
    }

    .portraitFrame img{
       width: 100%;
       height: 100%;  
    }

    .processFrame{
        z-index: 0;
        outline: solid #fefefe 0.5rem;
        outline-offset: -1px;
        box-shadow: 0px 4px 8px 6px rgba(98, 87, 73, 0.2);

        width: max-content;

        object-fit: 50% 50%;

        /*Wide Desktop*/
        @media (width >= 850px){
            margin: auto;
            max-width: 75% !important;
            
        }
        /*Tablet & Mobile*/
        @media (width < 850px){
            margin: auto;
            max-width: 90% !important;
            margin-bottom: 30px;
        }
    
    }

    .processFrame-floatL{
    
        /*Wide Desktop*/
        @media (width >= 850px){
            float: left;
            
        }
    
    }

    .processFrame-floatR{
    
        /*Wide Desktop*/
        @media (width >= 850px){
            float: right;
            
        }
    
    }

    .processFrame img{
        width: 100%;
    }

    .formContainer {
        padding: 5%
    }


    .overlay{
        position: fixed;
        z-index: 2;
        top: 110%;
        width: 100%;
        height: 110%;

        background-color:#211a18bd;
        

        transition: top 1s, opacity 1.5s;
    }

    .overlayCloser{
        position: inline-block;
        text-align: center;
        
        @media (width >= 850px){
            margin-left: 90%;
            margin-top: 1rem;
        }
        @media (width < 850px){
            margin-left: 75%;
            margin-top: 2rem;
        }
        
        color: white;
        font-size: 24px;

        cursor: pointer;
    }

    .contentBox{
        height: 80%;
        position: fixed;
        margin-top: 3rem;

        @media (width >= 850px){
            margin-left: 30%;
            margin-right: 0%;
            width: 40%;
        }
        @media (width < 850px){
            margin-left: 15%;
            width: 70%;
        }

    }

    .overlayImage{
        display: inline-block;
        margin-right: 1rem;
        overflow: hidden;
        max-height: 100%;
                
        @media (width >= 850px){
            min-width: 20rem;
            max-width: 65%;
            
        }
        @media (width < 850px){
            max-width: 100%;
        }
        background-color:#211A18;  
        
        outline: solid #fefefe 0.5rem;
        outline-offset: -1px;
        box-shadow: 0px 4px 8px 6px rgba(98, 87, 73, 0.2);
    }

    .overlayImage img{
        width: 100%;
        height: 100%;
    }


    .overlayTextbox{
        display: inline-block;
        vertical-align: top;
        
        @media (width >= 850px){
            width: 30%;
            
        }
        @media (width < 850px){
            width: 100%;
        }
        color: white;
    }

    .overlaySticker{
        position: fixed;
        @media (width >= 850px){
            margin-left: 27.5%;
            margin-top: 0.5rem;
            width: 10rem;
            height: 6.25rem;
        }
        @media (width < 850px){
            margin-left: 5%;
            margin-top: 1rem;
            width: 8rem;
            height: 5rem;
        }

        overflow: hidden;
        
        rotate: -8deg;
        cursor: pointer;
        background-image: url("./assets/images/customButtons/moreSticker.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .footer{
        clear: both;
        z-index: 0;
        margin-top: 24px;
        height: 2rem;
        text-align: center;
    }


    .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; /* Non-prefixed version, currently
                                        supported by Chrome, Edge, Opera and Firefox */
    }
/*Isotope Classes*/

    .grid {
        margin-left: 7%;
        padding-left: 0.5rem;
        height: 100%;
    }

    .grid-item {
        overflow: hidden;
        margin-bottom: 40px;
        height: 10.75rem;
        
        aspect-ratio: 9/10; 
        max-width: 100%;

        cursor: pointer;

        outline: solid #fefef6 0.5rem;
        outline-offset: -1px;

        box-shadow: 0px 4px 8px 6px rgba(98, 87, 73, 0.2);

        @media (width < 850px){
            width: 95%;
        } 

    }

    .grid-item--width2{
        aspect-ratio: 53/50;
        
    }

    .grid-item--width3{
        aspect-ratio: 218/125;
        
    }

    .grid-item img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    

    

    .item-hint{
        margin-top: 11rem;
        height: 50%;
        width: 100%;
        background-color: rgba(98, 87, 73, 0.4);
        padding-top: 5%;

        position: absolute;
        overflow: hidden;
        
        text-align: center;
        line-height: 1.15rem;
        font-family: "wudarou", "Barlow", Calibri, sans-serif;
        font-weight: bold;
        color: white;

        transition: margin-top ease-in-out 0.6s;

    }

    .per{
    opacity: 100%;
    }
    .com{
    opacity: 100%;
    }