/* Copyright (c) 2023-present, Tactic, LLC. All rights reserved. */
:root {
    --main-black: #000000e0;
    --main-color: #151515;
}

html {
    position: fixed;
}

html,
body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    position: fixed;
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

@font-face{
    font-family: SourceSansPro;
    src: url("./fonts/SourceSans3-Regular.ttf")

}

.hidden {
    visibility: hidden;
}

.allowFade {
    transition: opacity 0.5s ease-out;
    -webkit-transition: opacity 0.5s ease-out;
    -moz-transition: opacity 0.5s ease-out;
    -o-transition: opacity 0.5s ease-out;
    -ms-transition: opacity 0.5s ease-out;
}

.fullscreenContainer {
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.centerXY{
    position: relative;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
}

.centerX{
    left: 50%;
    transform: translateX(-50%);
}

/* =============================== overlay page ====================================== */

.infoButton {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10vh;
    width: 12vw;
    opacity: 0;
    background: url("./ui/info-button.png") no-repeat;
    background-size: contain;
    background-position: center center;
    aspect-ratio: 1 / 1;
}

/* ============================== loading screen ===================================== */
#loadingContainer {
    z-index: 1111 !important;
}

.loadingContainer {
    background-color: white;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
}

.loadingContainer .loadingStacked {
    top: 41%;
    width: 80%;
    max-width: 400px;
    position: absolute;
    z-index: inherit;
    filter: brightness(1.6) saturate(0.3) hue-rotate(359deg);
}

.loadingContainer p {
    top: 50%;
    width: 80%;
    font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
    font-size: 2vh;
    position: relative;
    text-align: center;
    left: 10%;
    margin-top: 15%;
}

.tacticFooter {
    position: absolute;
    bottom: 3vh;
    left: 3vh;
    max-height: 6vh;
    z-index: inherit;
    filter: brightness(0);
}

.ethwallFooter {
    position: absolute;
    bottom: 5vh;
    right: 3vh;
    max-height: 3.2vh;
    z-index: inherit;
    filter: brightness(0);

}

.loadingLogo {
    position: absolute;
    z-index: 1111;
    max-width: 80%;
    top: 35%;
    height: 30%;
    object-fit: contain;
}

.loadingStamp {
    position: absolute;
    z-index: 1111;
    max-width: 60%;
    top: 60%;
    height: 15%;
    object-fit: contain;
}

.poweredby-img {
    visibility: hidden !important;
}

/* ============================== welcome Page ====================== */
.welcomePage {
    background-color: white; 
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
    z-index: 16;
    overflow: hidden;
}

.wlTitle{
    position: absolute;
    width: 60%;
    max-width: 400px;
    top: 18%;
}

.wlText {
    font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
    color: var(--main-black);
    max-width: 400px;
    width: 80%;
    top: 30%;
    height: 50%;
    text-align: center;
    position: absolute;
}

.wlButton {
    position: absolute;
    top: 68%;
    background: black !important;
    color: white;
    border: none;
    padding: 0.4em 1.6em;
    width: 40%;
    max-width: 150px;
    font-size: 1.5em;
    border-radius: 10px;
    font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
    /* filter: drop-shadow(4px 4px 4px black); */
}

/* ============================== Walkthrough Page ====================== */
.walkthroughPage {
    background-color: white; 
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
    z-index: 15;
    overflow: hidden;
}

.wtPage {
    position: absolute;
    height: 100%;
    width: 100%;
}

#wtNextButton {
    background: #5C5C5C;
}

.wtTitle{
    position: absolute;
    width: 60%;
    max-width: 400px;
    top: 14%;
}

.wtText {
    font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
    font-size: min(2.5vh, 1.3em);
    color: var(--main-black);
    max-width: 400px;
    width: 80%;
    top: 25%;
    text-align: center;
    position: absolute;
}

.wtImg {
    max-width: 400px;
    height: 33%;
    max-height: 400px;
    position: absolute;
    top: 45%;
    /* filter: drop-shadow(4px 4px 4px black); */

    border-style: none;
    /* border-radius: 20px; */
    border-width: 4px;
    border-color: var(--main-green);
}

.wtText2 {
    font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
    font-size: min(2.5vh, 1.3em);
    color: var(--main-black);
    max-width: 400px;
    width: 80%;
    top: 60%;
    text-align: center;
    position: absolute;
}

.wtButton {
    position: absolute;
    top: 86%;
    background: black !important;
    color: white;
    border: none;
    height: 1em;
    line-height: 1em;
    padding: 0.4em 1.6em;
    width: 40%;
    max-width: 150px;
    font-size: 1.5em;
    border-radius: 100px;
    font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
}

#wtSingleBottleButton {
    background: transparent;
    border: none;
    color: var(--main-color);
    top: 85%;
    text-decoration-line: underline;
    position: absolute;
}

.pgDots1{
    width: 100%;
    right: -10%;
    top: 5%;
}

/* ============================== Other Pages ====================== */
.page {
    background-color: white; 
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
    z-index: 14;
    overflow: hidden;
}

.pTitle{
    position: absolute;
    width: 60%;
    max-width: 400px;
    top: 18%;
}

.pText {
    font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
    color: var(--main-black);
    max-width: 400px;
    width: 80%;
    top: 30%;
    height: 50%;
    text-align: center;
    position: absolute;
}

.pButton {
    position: absolute;
    height: 1em;
    line-height: 1em;
    width: 40%;
    max-width: 150px;
    top: 86%;
    background: black !important;
    color: white;
    border: none;
    padding: 0.4em 1.6em;
    font-size: 1.5em;
    border-radius: 100px;
    font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
}

#tsText ul{
    padding: 0px;
    text-align: left;
}

#tsText{
    height: 100%;
    top: 0px;
    position: relative;
}

.tsGrid{
    display: grid;
    grid-template-rows: auto;
    width: 100%;
    height: 85%;
    top: 10%;
    position: absolute;
    align-items: center;
    justify-items: center;
}

.tsGrid img{
    position: relative;
}

#tsText ul li{
    margin-bottom: 1em;
}

#tsButton{
    top: 0;
    position: relative;
}

/* ============================== top bar ====================== */
#topBar {
    width: 101%;
    height: 40px;
    background: black;
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 46;
    display: inline-grid;
    grid-template-columns: 2% 48% auto 10% 2%;
    grid-template-rows: 5% 90% 5%;
    border-bottom: 2px solid black;
}

#topLogo {
    display: inline-block;
    background: url("./ui/Top-Logo.png") no-repeat;
    cursor: pointer;
    z-index: inherit;
    background-size: contain;
    background-position: left center;
    /* position: absolute; */
    left: 4%;
    top: 2%;
}

.topBar-item1 {
    grid-column: 2;
    grid-row: 2;
    z-index: inherit;
}

/* ============================== Menu Fanciness ====================== */
#menuIcon {
    display: inline-block;
    cursor: pointer;
    z-index: 46;
    position: absolute;
    right: 2%;
    top: 5px;
}

.bar1,
.bar2,
.bar3 {
    width: 28px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-8px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-5px, -4px);
}

#menu {
    width: 75%;
    height: calc(100% - 40px);
    /* background-image: linear-gradient(180deg, #323232 0%, #0E0E0E 99.99%, #000000 100%); */
    background-color: white;
    background-position: bottom;
    position: absolute;
    border-left: black solid 3px;
    top: 40px;
    right: -77%;
    z-index: 2222;
    display: block;
    align-items: center;
    -webkit-transition: right 0.25s ease-out;
    -moz-transition: right 0.25s ease-out;
    -o-transition: right 0.25s ease-out;
    -ms-transition: right 0.25s ease-out;
    transition: right 0.25s ease-out;
    overflow: hidden;
}

@media screen and (min-width: 400px) {
    #menu {
        width: 70%;
    }
}

@media screen and (min-width: 600px) {
    #menu {
        width: 45%;
    }
}

@media screen and (min-width: 800px) {
    #menu {
        width: 30%;
    }
}

#menuLogo {
    left: 10%;
    width: 80%;
    height: 22%;
    position: relative;
    background: url(./ui/logo.png) no-repeat;
    background-size: contain;
    background-position: center;
    margin: 2em 0px 4em 0em;
    /* filter: brightness(0.14); */
}

.menu-link {
    color: var(--main-black);
    font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
    font-size: 2vh;
    padding: 0;
    margin: 0 0 2.3vh 2.2vh;
    text-transform: uppercase;
    font-weight: 600;
}

.menu-link p::before{
    content: "\2014";
    font-weight: bolder;
    padding-right: 10px;
}

.menu-link a:link {
    color: var(--main-black);
    font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
    font-size: 2vh;
    text-decoration: none;

}

.menu-link p {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

a:visited {
    color: var(--main-color);
}

a.menu.hover {
    color: var(--main-color);
    text-decoration: underline;
}

.menu-icon {
    color: #9d8264;
    font-size: 2vh;
    font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
    grid-column: 2;
    grid-row: 2;
    z-index: 21;
    transform: translate(0%, 50%);
    -ms-transform: translate(0%, 50%);
}

.menu-icon p {
    padding: 0;
    margin: 0;
}

.menuButton {
    /* Button css */
    text-align: left;
    outline: none;
    border: none;
    background-color: rgba(255, 255, 255, 0);
    font-family: 'SourceSansPro', Helvetica, Arial, sans-serif;
    width: 100%;
    font-weight: 600;
}

.menu-item-share {
    position: absolute;
    bottom: 4vh;
    right: 4vh;
}

#menuSocial {
    position: absolute;
    bottom: 7vh;
    left: 7vh;
    transform: translate(-50%, 50%);
    margin: 0;
    filter: invert(1);
}

.menuDots{
    width: 100%;
    position: absolute;
    bottom: 10%;
    right: -20%;
    /* animation: menudots 15s linear 0s infinite alternate; */
}

@keyframes menudots {
    0%   {right: -40%; bottom: 5%; transform:scale(1.0)}
    100% {right: -60%; bottom: 10%; transform:scale(1.0)}
  }

@media only screen and (orientation: landscape) {
    #menu {
        grid-template-rows: 20% 7% 7% 7% 7% 7% 5% 5% 5% auto 5% auto 5% 2%;
    }

    .menu-link {
        font-size: 4vh;
    }

    .menu-link a:link {
        font-size: 4vh;
    }
}

/* ============================== 8th-wall overrides ====================== */
#requestingCameraPermissions {background-color: #464646 !important;}
.prompt-box-8w { background-color: white !important; color: #000 !important; }
.prompt-button-8w { background-color: #3f3f3f  !important;}
.button-primary-8w {background-color: #7f7f7f !important;}
.desktop-home-link { background-color: white !important; color: black !important; }
#loadBackground{background-color: transparent !important;}
#loadImage{     
    margin-top: -1.5em !important;
    margin-left: -1.5em !important;
    top: 53% !important;
    left: 50% !important;
    height: 3em !important;
    width: 3em !important;
    filter: saturate(0) contrast(2) ; 
}
#almostthereContainer{z-index: 2222 !important;}
