/* General */
body {
    font-family: 'IBM Plex Mono', monospace;
    width: 100vw;
    overflow-x: hidden;
}
::-moz-selection { /* Code for Firefox */
    color: #fff;
    background: #000;
}  
::selection {
    color: #fff;
    background: #000;
}
h1 {
    font-size: 12vw;
    line-height: 1.4em;
    padding: 10px 20px;
    z-index: 1;
}
div#canvas-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}
div#app {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* userdata wrapper */
div#userstack-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    padding: 20px;
}
div#userstack-wrapper > p {
    line-height: 1.4em;
}

/* Timer */
div#time {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px;
}


/* Audio Stuff */
#ambientaudio {
    visibility: hidden;
    height: 0;
    position: fixed;
    z-index: -1;
}

/* Exp Enter Experience */
div#exp-enter-overlay {
    display:none;
}
body.exp-enter-present div#exp-enter-overlay {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.exp-enter-present div#exp-enter-overlay::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    opacity: .9;
    backdrop-filter: blur(5px);
    z-index: -1;
}
button#exp-enter-button {
    background: transparent;
    border: none;
    padding: 25px 45px;
    font-family: inherit;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
}
button#exp-enter-button:focus {
    outline: none;
}
button#exp-enter-button > span::before, button#exp-enter-button > span::after {
    display: inline-block;
    opacity: 0;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
    -moz-transition: -moz-transform 0.3s, opacity 0.2s;
    transition: transform 0.3s, opacity 0.2s;
}
button#exp-enter-button > span::before {
    margin-right: 10px;
    content: '[';
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    transform: translateX(20px);
}
button#exp-enter-button > span::after {
    margin-left: 10px;
    content: ']';
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    transform: translateX(-20px);
}
button#exp-enter-button:hover > span::before, button#exp-enter-button:hover > span::after, button#exp-enter-button:focus > span::before, button#exp-enter-button:focus > span::after {
    opacity: 1;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    transform: translateX(0px);
}

/* Audio Controller */
div#audio-controller {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 20px;
}
.bar-c {
    overflow: hidden;
    height: 30px;
    width: 40px;
    margin: 0 auto;
    position: relative;
    cursor:pointer;
}
.bar {
    height: 5px;
    width: 1px;
    display: inline-block;
    background-color: #2a2a2a;
    bottom: 0;
    position: absolute;
    -webkit-animation-duration: 500ms;
    -webkit-animation-play-state: running;
    -webkit-animation-direction: alternate;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
}
.bar.noAnim {
    -webkit-animation: none;
    -webkit-animation-name: none;
}

#bar-1 { 
    left: 0; 
    -webkit-animation-name: danceHeight1;
    -webkit-animation-delay: 0ms;
}
#bar-2 { 
    left: 6px; 
    -webkit-animation-name: danceHeight2; 
    -webkit-animation-delay: 300ms;
}
#bar-3 { 
    left: 12px;
    -webkit-animation-name: danceHeight3;
    -webkit-animation-delay: 600ms;
}
#bar-4 { 
    left: 18px;
    -webkit-animation-name: danceHeight4;
    -webkit-animation-delay: 900ms;
}
#bar-5 { 
    left: 24px;
    -webkit-animation-name: danceHeight5;
    -webkit-animation-delay: 1200ms;
}
#bar-6 { 
    left: 30px;
    -webkit-animation-name: danceHeight6;
    -webkit-animation-delay: 1500ms;
}

@keyframes danceHeight1 {
    from { height: 1px; }
    to { height: 22px; }
}
@keyframes danceHeight2 {
    from { height: 1px; }
    to { height: 15px; }
}
@keyframes danceHeight3 {
    from { height: 1px; }
    to { height: 30px; }
}
@keyframes danceHeight4 {
    from { height: 1px; }
    to { height: 20px; }
}
@keyframes danceHeight5 {
    from { height: 1px; }
    to { height: 15px; }
}
@keyframes danceHeight6 {
    from { height: 1px; }
    to { height: 15px; }
}

/** Click Indicator **/
/* .click-indicator {
    position: fixed;
    background: #2a2a2a;
    width: 3px;
    height: 3px;
    border-radius: 10px;
}
.click-indicator::before,
.click-indicator::after {
    content: "";
    width: 1px;
    height: 21px;
    background: #2a2a2a;
    position: absolute;
    top: -9px;
    left: 1px;
} */
.click-indicator::after {
    transform: rotate(90deg);
}
.click-indicator {
    position: fixed;
    background: radial-gradient(#000000 10%, transparent 10%);
    width: 35px;
    height: 34px;
    border-radius: 16px;
}
.click-indicator::before, .click-indicator::after {
    content: "";
    width: 1px;
    height: 30px;
    background: #000000;
    position: absolute;
    top: 2px;
    left: 17px;
    transition: transform .6s ease-in-out;
}
.click-indicator:hover::after {
    transform: rotate(180deg);
}
.click-indicator:hover::before {
    transform: rotate(90deg);
}

/* Tooltip */
.click-indicator:hover span {
    opacity: 1;
    transition-delay: .2s;
}
.click-indicator span {
    position: absolute;
    width: max-content;
    left: calc(100% - 10px);
    top: 24px;
    font-size: 12px;
    opacity: 0;
    transition: opacity .4s ease-in-out;
}