html,body{
    cursor: url('../img/cursor.svg'), auto;	
}

body{
    position:relative;
    width:100%;
    min-height:100vh;
    font-family: 'IBM Plex Mono', monospace;
    box-sizing: border-box;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
     -ms-user-select: none;
         user-select: none;
}

.loader{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    z-index:200;
    background:#000;
}

.loader video{
    width:96%;
    max-width:560px;
}

.policy{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    z-index:199;
    background:#1D53DB;
    transition:all .2s;
}

.policyPopup{
    box-sizing: border-box;
    width: 92%;
    height: auto;
    max-width: 360px;
    background: #B5B5B5;
    -webkit-box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
    border: solid 2px rgba(0,0,0,1);
    padding: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.policyPopupContent{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    border: solid 1px black;
    box-sizing: border-box;
}

.policyPopupHeader{
    padding: 8px;
    background: #000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: white;
    width: 100%;
    box-sizing: border-box;
}

.policyText{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: black;
}


.closePolicyButton{
    padding:12px 16px 10px 16px;
    min-width:80px;
    background: #1D53DB;
    text-align: center;
    color:white;
    border-style: inset;
    border-left: 2px #6FA3A8 solid;
    border-top: 2px #6FA3A8 solid;
    outline:2px solid black;
    cursor: url('../img/cursor.svg'), auto;	
}

.closePolicyButton:hover{
    background: #0c3292;
    border-left: 2px #284e52 solid;
    border-top: 2px #284e52 solid;
}

.openPolicy{
    color:blue;
    text-decoration: underline;
}


.connecting{
    color:lime;
    text-align:center;
    line-height:120%;
    margin-top:12px;
}

.hide{
    z-index:-1;
    display:none;
}

.fade{
    transition:all 1s;
    opacity:0;
}

progress {
    max-width:200px;
    /* style rules */
    background: black;
    color: black;
    border: solid 2px lime;
    border-radius: 16px;
    image-rendering: pixelated;
  }
  progress::-webkit-progress-bar {
    /* style rules */
    background: black;
  }
  progress::-webkit-progress-value {
    /* style rules */
    background: #00ff00;
    image-rendering: pixelated;
  }
  progress::-moz-progress-bar {
    /* style rules */
     background: black;
  }

 
.desktop{
    height:100%;
    min-height:100vh;
    background:url('../img/cleopatrick.svg') no-repeat, #303030;
    background-position: center 45%;
    background-attachment: fixed;
    background-size:50% 50%;
    padding:16px 16px 64px 16px;
    cursor: url('../img/cursor.svg'), auto;	
    overflow:hidden;
}

.black{
    /* background: #303030; */
    background: url('../img/cleopatrick.svg') no-repeat, #303030;
    background-position: center 45%;
    background-attachment: fixed;
    background-size:50% 50%;
}

.cyan{
    background: #93C1C9;
    /* background: url('../img/cleopatrick.svg') no-repeat, #93C1C9; */
    background-position: center 45%;
    background-attachment: fixed;
    background-size:50% 50%;
}

.magenta{
    background: #C693BA;
    /* background: url('../img/cleopatrick.svg') no-repeat, #C693BA; */
    background-position: center 45%;
    background-attachment: fixed;
    background-size:50% 50%;
}

.yellow{
    background: #EFF991;
    /* background: url('../img/cleopatrick.svg') no-repeat, #EFF991; */
    background-position: center 45%;
    background-attachment: fixed;
    background-size:50% 50%;
}

.toolbar{
    display:flex;
    flex-direction: row;
    align-items: center;
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    height:auto;
    padding:8px 16px;
    background:#B5B5B5;
    cursor: url('../img/cursor.svg'), auto;	
    border-left: 2px #ffffff solid;
    border-top: 2px #dedede solid;
    z-index:40;
}

.toolbar .colorChanger{
    display:flex;   
    flex-direction: row;
    align-items: center;
    margin:auto 16px auto 8px;
}

.cyanOption{
    background: #12515c;
    border-style: inset;
    border-left: 2px #6FA3A8 solid;
    border-top: 2px #6FA3A8 solid;
}

.magentaOption{
    background: #C693BA;
    border-style: inset;
    border-left: 2px #B274A9 solid;
    border-top: 2px #B274A9 solid;
}

.yellowOption{
    background: #EFF991;
    border-style: inset;
    border-left: 2px #CECE65 solid;
    border-top: 2px #CECE65 solid;
}

.blackOption{
    background: #303030;
    border-style: inset;
    border-left: 2px #000000 solid;
    border-top: 2px #000000 solid;
}

.colorBlock{
    margin:auto 4px;
    width:20px;
    height:20px;
}

.selected{
    border: 1px solid #4FF421;    
}


.link{
    position:relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: url('../img/cursor.svg'), auto;	
    width:10%;
    max-width: 64px;
    max-height:8vh;
    /* touch-action: none; */
    margin-bottom:min(32px,8vh);
}

.link img{
    width:100%;
}

.link p{
    padding:2px;
    font-family: 'IBM Plex Mono', monospace;
    color:#83FF33;
    font-size:.66rem;
    margin-top:4px;
}

.clickedIcon{
background:#000;
color:#00ff00;
}

.termsPolicy{
    font-size:.7rem;
}

.labels{
    display:flex;
    flex-direction: row;
    align-items: center;
    margin-left:auto;
}

.labels img {
    width:20px;
    margin-right:8px;
}

.socials{
    display: flex;
    flex-direction: row;
    margin:0px 0px 0px 8px;
}

.socials img{
    height:16px;
}

.time{
    padding:6px 8px;
    border-top:2px solid #000;
    border-left:2px solid #000;
    border-bottom:2px solid rgb(124, 124, 124);
    border-right:2px solid rgb(124, 124, 124);
}

#clock{
    font-size:.8rem;
    white-space: nowrap;
}

.manifestoIcon{
    position: absolute;
    top: 75vh;
    right: 32px;
}

.smallMaskLogo{
    position:absolute;
    top:10vh;
    right:32px;
}

.newsZine{
    position:absolute;
    top:10vh;
    right:160px;
}

.appleMusic{
    position:absolute;
    top:30vh;
    right:32px;
}

.amazonMusic{
    position:absolute;
    top:50vh;
    right:32px;
}

.mobileToolbar{
    display:none;
}

.mobileTop{
    display:none;
}

.mobileMenu{
    display:none;
}

.popup{
    /* touch-action: none; */
    display:block;
    transform:scale(1);
}

.hidePopup{
    transform:scale(0);
    opacity:0;
    display:none !important;
    z-index:0 !important;
}

.newsletterSignup, .codeInput{
    position: absolute;
    top:calc((100vh - 180px)/2);
    right:calc((100vw - 360px)/2);
    transform-origin:50% 50%;
    width: 90%;
    max-width: 360px;
    height: auto;
    background: #B5B5B5;
    -webkit-box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
    border:solid 2px rgba(0,0,0,1);
}

.youTube, .spotify, .bandsintown, .manifesto, .merch, .easterEggVideo, .darkWebPopup, .apple, .amazon, .musicVideo, .goodGrief, .zine, .zine1, .zine2, .zine3, .goodGriefFileFolder, .goodGriefLyrics, .goodGriefManifesto, .darkWebPopup8, .goodGriefPhotos, .zines{
    position: absolute;
    top:calc((100vh - 180px)/5);
    right:calc((100vw - 360px)/2);
    transform-origin:50% 50%;
    height: auto;
    background: #B5B5B5;
    -webkit-box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
    border:solid 2px rgba(0,0,0,1);
}


.merch, .bandsintown{
    right:calc((100vw - 560px)/2);
}

.manifesto{
    margin-top:-9vh;
    width:560px;
    z-index:42;
}


.manifesto .popupInner{
    width:99%;
    max-width:100vw;
    background:#fff;
}

.musicVideo{
    max-width: 600px;
    margin-top: 20vh;
    margin-right: 0;
    top: 0;
    left: calc((100vw - min(96vw, 600px))/2);
    right: 0;
    width: min(96vw, 600px);
}

.musicVideo iframe{
    min-height: 300px;
    width: 600px;
    max-width: 100%;
}

.zine1, .zine2, .zine3{
    height: 60vh;
    width: 96%;
    max-width: 560px;
    top: 16vh;
    right: 10vw;
}

.goodGrief{
    /* width:50%;
    height:50%;
    width:560px; */
    right:25%;
}

.goodGriefLyrics{
    max-width: 600px;
    max-height:560px;
    margin-top: 20vh;
    margin-right: 0;
    top: 0;
    left: calc((100vw - min(92vw, 600px))/2);
    right: 0;
    width: min(92vw, 600px);
    cursor: url('../img/cursor.svg'), auto;
}

.goodGriefManifesto{
    max-width: 600px;
    max-height:560px;
    margin-top: 20vh;
    margin-right: 0;
    top: 0;
    left: calc((100vw - min(92vw, 600px))/2);
    right: 0;
    width: min(92vw, 600px);
    cursor: url('../img/cursor.svg'), auto;
}

.goodGriefPhotos{
    max-width: 600px;
    max-height:560px;
    margin-top: 20vh;
    margin-right: 0;
    top: 0;
    left: calc((100vw - min(92vw, 600px))/2);
    right: 0;
    width: min(92vw, 600px);
    cursor: url('../img/cursor.svg'), auto;
}


#goodGriefFolder{
    margin-top: 8px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: url(../img/cursor.svg), auto;
    padding: 30px;
}

#goodGriefFolder img{
    width:120%;
    height:120px;
    cursor: url('../img/cursor.svg'), auto;	

}


.goodGriefFileFolder{
    margin-top: 16px;
    /* width: 90vw; */
    /* max-width: 600px; */
    height: auto;
    display: flex;
    margin-left:16px;
    /* flex-direction: column; */
    /* align-items: center; */
    /* justify-content: center; */
    cursor: url(../img/cursor.svg), auto;
    flex-wrap: wrap;
}


.goodGriefContents{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    cursor: url(../img/cursor.svg), auto;
    flex-wrap: wrap;
    padding: 20px;
}

.goodGriefLinks{
    margin: 8px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    cursor: url(../img/cursor.svg), auto;
    max-width: 80px;
}

.goodGriefLinks p{
    margin-top:8px;
    padding:4px;
    cursor: url(../img/cursor.svg), auto;
    font-size: .8rem;
}

.photoGallery{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 50vh;
    /* padding: 16px; */
    overflow: overlay;
}

.photoGallery a{
    margin: 8px;
    width: 25%;
    height: auto !important;
    cursor: url('../img/cursor.svg'), auto;	
    color:#00ff00;
    background:#000;
    padding:4px;
    font-size:.8rem;
    line-height: 120%;
}

.hiddenMusicVideo{
    display:none;
}

.youTube, a .spotify, a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
}

.youtube, span .spotify, span {
    display: inline-block;
    
}

.merch{
    width:90%;
    max-width:560px;
}


.bandsintownContent{
    display:block;
    width:100%;
    height:100%;
}


.manifestoText{
    text-decoration: none;
    color:black;
    background:white;
    font-size:.7rem;
    line-height: 130%;
    text-align: center;
}

.manifestoBackground{
    background:#fff;
}

.easterEggVideo{
    width: calc(((100vw/2)-80));
}

.darkWebPopup{
    width:100%;
}

.darkWebPopup1{
    max-width:360px;
    margin-top: 0%;
    margin-right: -8vw;
}

.darkWebPopup2{
    max-width:360px;
    margin-top: -5%;
    margin-right:min(20vw, 160px);
}

.darkWebPopup3{
    max-width:360px;
    margin-top: min(30vw, 160px);
    margin-right: min(-16vw, -240px);
}

.darkWebPopup4{
    max-width:360px;
    margin-top: min(20vw, 300px);
    margin-right: min(300px, 24vw);
}

.darkWebPopup5{
    max-width:600px;
    margin-top:20vh;
    margin-right:0;
    top:0;
    left:calc((100vw - min(96vw, 600px))/2);
    right: 0;
    width:min(96vw, 600px);

    /* margin-top: 0;
    top: 0;
    right: 50%;
    width: 96%;
    max-width: 600px; */
}

.darkWebPopup5 iframe{
    width:100%;
    height:50vh;
}


.darkWebPopup6{
    max-width:360px;
    margin-top: min(23vw, 300px);
    margin-right: min(280px, 24vw);
}

.darkWebPopup7{
    width:100%;
    max-width:600px;
}

.darkWebPopup8{
    width:100%;
    max-width:600px;
}

.darkWebPopup .popupScreen{
    width:98%;
}

.popupScreen iframe{
    width:640px;
    max-width:100%;
}

.videoIframe{
    width:100%;
}

.error{
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    background:rgba(0,0,0,.8);
    z-index:102;
}

.error img{
    width:50%;
    max-width:360px;
}

.disclaimer{
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    background:rgba(0,0,0,.8);
    color:lime;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.disclaimer p{
    font-size:.9rem;
    line-height: 130%;
    text-align: center;
    width:100%;
    max-width:360px;
}

.radioJarMessage{
    opacity:0;
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    background:rgba(0,0,0,.8);
    color:lime;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.radioJarMessage p{
    font-size:.9rem;
    line-height: 130%;
    text-align: center;
    width:100%;
    max-width:360px;
}

.depth{
    z-index:102;
}

.hideDisclaimer{
    padding:8px 16px;
    border:solid 1px lime;
    background:black;
    color:lime;
    -webkit-box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    -moz-box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    cursor: url('../img/cursor.svg'), auto;	
}

.hideDisclaimer:hover{
    color:black;
    background: lime;
}

#openRadiojar{
    cursor: url('../img/cursor.svg'), auto;	
}

.trolls{
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.popupInner{
    transform-origin: 50% 50%;
    width:98.5%;
    height:98%;
    border:solid 2px rgba(0,0,0,1);
    background: #B5B5B5;
    margin:1px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: content-box;
}

.popupHeader{
    box-sizing: border-box;
    height:auto;
    padding:6px;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color:white;
    background:rgba(0,0,0,1);
    width:100%;
    font-size:.8rem;
}


.popupHeader a, .popupHeader span, .popupHeader p{
    background:#000;
    white-space: nowrap;
}

.popupScreen{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
    width:100%;
}


.popupScreen a{
    /* width: 360px; */
    height:100%;
    max-width: 100%;
    /* border:solid 1px #000;  */
}

.popupScreen img{
    width: 100%;
    height: auto;
}

.popupContent{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding:5%;
    text-align: center;
}


.popupContent form input{
    padding:10px;
    margin:8px auto;
    box-sizing: border-box;
}

.popupContent input{
    width:100%;
}


.popupContent a{
    height:100%;
}

input[type=text]{
    border:1px solid black;
    -webkit-box-shadow: 1px 1px 0px 0px rgba(138, 138, 138, 0.8);
    -moz-box-shadow: 1px 1px 0px 0px rgba(138, 138, 138, 0.8);
    box-shadow: 1px 1px 0px 0px rgba(138, 138, 138, 0.8);
}

input[type=submit]{
    background: #1D53DB;
    text-align: center;
    color:white;
    border:2px solid black;
}

label,
select {
  display: block;
  width: 100%;
  max-width: 100%;
}

.closeButton{
    background:#FFF;
    border:2px solid #1D53DB;
    color:#1D53DB;
    padding:4px 6px;
}



@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) { 

    .darkWebPopup1{
        margin-top: 0%;
        margin-right: -4vw;
    }
    
    .darkWebPopup2{
        margin-top: -6vh;
        margin-right:-2vw;
    }
    
    .darkWebPopup3{
        margin-top:14vh;
        margin-right:-1vw;
    }
    
    .darkWebPopup4{
        margin-top:30vh;
        margin-right:-3vw;
    }

    .darkWebPopup5{
        margin-top:20vh;
        margin-right:0;
        top:0;
        left:2vw;
        right: 0;
        width:min(96vw, 360px);
        /* max-width: 340px; */
        transform: translate(0%, 0%);
        /* max-width:320px;
        width:96%;
        transform: translate(0%, 0%); */
    }

    .darkWebPopup6{
        margin-top:24vh;
        margin-right:-2vw;
    }

    .darkWebPopup7{
        width:90vw;
        max-width:320px;
    }

    .darkWebPopup8{
        width:90vw;
        max-width:320px;
    }


    .easterEggVideo{
        width:94%;
    }

    body,html{
        height:100%;
        max-height:100%;
        overflow: hidden;
    }

    .manifestoIcon{
        position: absolute;
        right:70px;
        top:200px;
    }


    .smallMaskLogo{
        position:absolute;
        right:70px;
        top:100px;
    }

    .newsZine{
        position:absolute;
        right:70px;
        top:480px;
    }

    .appleMusic{
        position: absolute;
        right:70px;
        top:300px;
    }


    .amazonMusic{
        position:absolute;
        right:70px;
        top:420px;
    }
    

    .link{
        /* position:relative; */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: url('../img/cursor.svg'), auto;	
        width:8%;
        max-width: 48px;
        max-height:7vh;
        /* touch-action: none; */
        margin-bottom:min(24px,6vh);
        margin-left:16px;
    }
    
    .link img{
        width:100%;
    }
    
    .link p{
        padding:2px;
        font-family: 'IBM Plex Mono', monospace;
        color:#83FF33;
        font-size:.4rem;
        margin-top:4px;
    }

    body{
        height:100vh;
        overflow:hidden;
    }

    .desktop{
        position: relative;
        height:100vh;
        padding:104px 16px 64px 16px;
        overflow:hidden;
    }

    .merch{
        top:calc((100vh - 180px)/3);
    }
    
    .toolbar{
        display:none;
    }

    .mobileTop{
        border-top:2px solid rgb(196, 196, 196);
        border-bottom:3px solid rgb(100, 100, 100);
        border-left:2px solid rgb(128, 128, 128);
        border-right:2px solid rgb(221, 221, 221);
        padding:4px 8px;
        background:#B5B5B5;
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content: space-between;
        position:fixed;
        top:0;
        left:0;
        right:0;
        z-index:40;
    }

    .mobileToolbar{
        border-top: 2px solid #cfcfcf;
        border-right: 2px solid #B5B5B5;
        border-bottom: 2px solid #cfcfcf;
        border-left: 2px solid #cfcfcf;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 4px 0px 16px 0px;
        background: #B5B5B5;
        cursor: url('../img/cursor.svg'), auto;	
        flex-direction: column-reverse;
        bottom: 44px;
        left: 0;
        right: 0;
        position: fixed;
        transition:all .3s;
        z-index:40;
    }

    .mobileMenu{
        padding: 12px 0px 12px 0px;
        position: fixed;
        bottom: 0px;
        left: 0px;
        right: 0px;
        z-index: 100;
        background: #B5B5B5;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-top: 2px solid #cfcfcf;
        border-right: 2px solid #818181;
        border-bottom: 2px solid #cfcfcf;
        border-left: 2px solid #cfcfcf;
    }

    .mobileColorChanger{
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content: space-evenly;
        padding:16px 0px;
    }

    .mobileSocials{
        display:flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
        padding:16px 0px;
        width:96%;
        background:#B5B5B5;
        position:relative;
        z-index:5;
        /* border-top: solid 1px #797979; */
        border-bottom: solid 1px #797979;
    }

    .mobileSocials img, i, a{
        height:20px;
        background:#B5B5B5;
    }

    .mobileTermsPolicy{
        width:96%;
        padding:24px 0px;
        text-align:center;
        background:#B5B5B5;
        position:relative;
        z-index:5;
        border-bottom: solid 1px #797979;
    }

    .manifesto{
        width:320px;
    }

    .zine1, .zine2, .zine3{
        width:320px;
    }

    .goodGrief{
        width: 320px;
        right:16px;
    }

    .hideMobileToolbar{
        transform:translateY(240%);
    }

    #mobileClock{
        white-space: nowrap;
    }

}