/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.pixie-cont {
    position: absolute;
    top: 10px;
    left: 10px;
}
.pixie-cont span {
    mix-blend-mode: plus-lighter;
}
/* Body Styles */
body {
    font-family: monospace;
    background: black;
    color: #b58cb2;
    line-height: 1.6;
    overflow: hidden;
}
/*body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: -1;
}*/
#bg-cover {
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 0;
    padding: 0;
    background-image: url('checker.jpg');
    xbackground-size: cover;
    background-position: center;
    width: 100vw;
    height: 100vh;
    opacity: 0.02;
    filter: contrast(5);
}
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}
#three-container {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100vw;
    mix-blend-mode: darken;
}
/* Header Styles */
header {
    z-index: 2;
    position: absolute;
    display: flex;
    width: 100vw;
    justify-content: center;
    mix-blend-mode: screen;
}
#page-title {
    text-align: center;
}
#page-title img {
    mix-blend-mode: screen;
    filter: contrast(1.2) hue-rotate(266deg);
    width: 291px;
}
/* Content Styles */
#content {
    position: absolute;
    width: 100vw;
    top: 0px;
    left: 0px;
    mix-blend-mode: luminosity;
    margin-top: 99px;
}
#outside {
    position: absolute;
    top: -166px;
    left: 50vw;
    margin-left: -641px;
    width: 1500px;
    z-index: 0;
}
#sparkles {
    position: absolute;
    top: -166px;
    left: 50vw;
    margin-left: -756px;
    width: 1500px;
    mix-blend-mode: screen;
    opacity: .5;
}
#content-bg, 
#scene-bg,
#table,
#frame {
    position: absolute;
    top: 0px;
    left: 50vw;
    margin-left: -756px;
    z-index: 0;
}
#content-bg {
    background-color: #170618;
    width: 1500px;
    height: 998px;
    margin-top: -177px;
}
#scene-bg,
#table {
    margin-top: -276px;
}
#frame {
    margin-top: -200px;
}
#laptop {
    position: absolute;
    left: 50vw;
    margin: 0 0 0 -500px;
}
#screen, #screen-glow {
    position: absolute;
    top: 61.3px;
    left: 50vw;
    margin: 98px 0 0 -247px;
    width: 484px;
    height: 306px;
    background-color: #160414;
    overflow: hidden;
    z-index: 1;
}
#loading {
    position: absolute;
    background-image: url(spinner.gif);
    width: 60%;
    height: 60%;
    margin: 11% 0 0 19%;
    background-size: 106%;
    background-position: center;
    mix-blend-mode: luminosity;
    filter: hue-rotate(334deg) contrast(1.1);
    z-index: 2;
}
#screen video {
    background: #1a0215;
    position: absolute;
    width: 100%;
    height: 89%;
    border: none;
}
#screen #icon-bar {
    position: absolute;
    width: 100%;
    height: 11%;
    top: 89%;
    display: flex;
    flex-direction: row;
    justify-content: right;
}
#i-label {
    position: absolute;
    left: 0px;
    margin-left: 9px;
    margin-top: 6px;
    font-family: monospace;
    font-weight: bold;
    font-size: 14px;
}
#icons {
    position: absolute;
    right: 0px;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: right;
    margin-right: 4px;
}
.i-cont {
    width: 28px;
    padding-top: 3px;
    padding-right: 4px;
}
.i-cont img {
    width: 100%;
    height: 100%;
    margin-top: 4%;
}
#screen #info-overlay {
    background: #160414;
    color: #816c7f;
    position: absolute;
    width: 100%;
    height: 100%;
    font-family: monospace;
    font-weight: bold;
    padding: 5%;
    font-size: 114%;
    padding-top: 3.6%;
    font-weight: 500;
    display: none;
}
@media screen and (max-height: 859px) {
    #outside {
        top: -19.3vh;
        margin-left: -74.5vh;
        width: 174.3vh;
        z-index: 0;
    }
    #sparkles {
        top: -19.3vh;
        margin-left: -87vh;
        width: 174.3vh;
    }
    #content-bg,
    #scene-bg,
    #table,
    #frame {
        height: 116vh;
        margin-left: -87vh;
    }
    #content-bg {
        margin-top: -21vh;
        width: 174.3vh;
    }
    #scene-bg,
    #table {
        margin-top: -33.2vh;
    }
    #frame {
        margin-top: -12vh;
    }
    #laptop {
        height: 87.5vh;
        margin-top: -1vh;
        margin-left: -57.6vh;
    }
    #screen, #screen-glow {
        width: 56.4vh;
        height: 35.6vh;
        top: 0vh;
        margin: calc(100px + 5.6vh) 0 0 -28.3vh;
    }
    #i-label {
        margin-left: 1vh;
        margin-top: .6vh;
        font-size: 1.6vh;
    }
    #icons {
        margin-right: .4vh;
    }
    .i-cont {
        width: 3.2vh;
        padding-top: .3vh;
        padding-right: .4vh;
    }
    #screen #info-overlay {
        xfont-size: 1.4vh;
    }
}
@media (max-width: 599px) {
    #outside {
        top: -19.3vw;
        margin-left: -74.5vw;
        width: 174.3vw;
        z-index: 0;
    }
    #sparkles {
        top: -19.3vw;
        margin-left: -87vw;
        width: 174.3vw;
    }
    #content-bg,
    #scene-bg,
    #table,
    #frame {
        height: 116vw;
        margin-left: -87vw;
    }
    #content-bg {
        margin-top: -21vw;
        width: 174.3vw;
    }
    #scene-bg,
    #table {
        margin-top: -33.2vw;
    }
    #frame {
        margin-top: -12vw;
    }
    #laptop {
        height: 87.5vw;
        margin-top: -1vw;
        margin-left: -57.6vw;
    }
    #screen, #screen-glow {
        width: 80.7vw;
        height: 54.6vw;
        top: 0vw;
        margin: 29vw 0 0 -41.3vw;
    }
    #screen video {
        height: 84%;
    }
    #screen #icon-bar {
        height: 16%;
        top: 84%;
    }
    #i-label {
        margin-left: 1vw;
        margin-top: 2vw;
        font-size: 3vw;
    }
    #icons {
        margin-right: .4vw;
    }
    .i-cont {
        width: 6.5vw;
        padding-top: .3vw;
        padding-right: .4vw;
    }
    .i-cont img {
        margin-top: 10%;
    }
    #screen #info-overlay {
        height: 84%;
        overflow: scroll;
    }
}
/* Links Styles */
#links {
    position: fixed;
    width: 100vw;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    bottom: 65px;
    xmix-blend-mode: plus-lighter;
}
#links a {
    cursor: default;
    font-size: 20px;
    font-family: monospace;
    font-weight: bold;
    text-align: center;
    background: #6132676e;
    color: #7e6185;
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
    text-transform: uppercase;
    border: 2px black solid;
    display: flex;
    flex-direction: row;
    z-index: 1;
}
/*#links a:hover {
    color: #be9ebb;
    color: #cc00ff;
    background: #613267d6;
}*/
.selected {
    color: #cc00ff !important;
    background: #613267d6 !important;
}
@media screen and (max-height: 859px) {
    #links {
        bottom: 7.5vh;
    }
    #links a {
        font-size: 2vh;
    }
}
@media (max-width: 599px) {
    #links {
        position: absolute;
        bottom: 0vw;
        top: 63vw;
    }
    #links a {
        font-size: 3.5vw;   
        max-width: 97vw;
        justify-content: space-evenly;
        align-items: center;
    }
}
/* Cover Styles */
#cover {
    background-color: #160414;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
}
/* Footer Styles */
footer {
    position: fixed;
    bottom: 10px;
    width: 100vw;
}
footer .container {
    text-align: center;
}
/* Mobile Styles */
@media (max-width: 599px) {
    #content,
    #frame {
        display: none;
    }
    #content-bg {
        width: 100vw;
        height: 138vw;
        margin: 0 0 0 0;
        left: 0;
    }
    #mobile-bg {
        position: absolute;
        width: 100vw; 
        height: 100vh;
        background-image: url(sceneBGmobile.png);
        background-size: 250vw;
        background-repeat: no-repeat;
        background-position: -75vw -27vw;
        mix-blend-mode: luminosity;
    }
}