/*:root {
  --earnings: 5000;
  --earnings-divisible: 1000;
}
:root {
  --earnings-divided: calc(var(--earnings) / var(--earnings-divisible));
}*/
@font-face {
  font-family: "Graphik-Semibold";
  src: url("/fonts/Graphik-Semibold.woff") format("woff"),
       url("/fonts/Graphik-Semibold.ttf") format("truetype"),
       url("/fonts/Graphik-Semibold.eot") format("opentype");
}
@font-face {
  font-family: "Graphik-Regular";
  src: url("/fonts/Graphik-Regular.woff") format("woff"),
       url("/fonts/Graphik-Regular.ttf") format("truetype"),
       url("/fonts/Graphik-Regular.eot") format("opentype");
}
@font-face {
  font-family: "Graphik-Medium";
  src: url("/fonts/Graphik-Medium.woff") format("woff"),
       url("/fonts/Graphik-Medium.ttf") format("truetype"),
       url("/fonts/Graphik-Medium.eot") format("opentype");
}
@keyframes blinker {
  50% {
    opacity: 0;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0.0;
  }
  100% {
    opacity: 1.0;
  }
}
@keyframes fadeIn25 {
  0% {
    opacity: 0.0;
  }
  100% {
    opacity: 0.25;
  }
}
body {
  font-family: 'Graphik-Regular', sans-serif;
}
* { margin: 0; padding: 0; }
p { margin-bottom: 24px; }
p:first-child:last-child {
  margin-bottom: 0;
}
strong, b, .bold {
  font-family: 'Graphik-Medium', sans-serif;
}
a, a:visited, a:active {
  color: black;
}
body, body > canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  width: 100vw;
  height: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
}
/*body::after, body::before { content: ""; padding: 5px; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; white-space: pre-wrap; }
body.scored::after,
body.too-close::after { content: "SCORED"; bottom: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 4em; animation: blinker 0.25s linear infinite; }
body.too-close::after {
  content: "Too close to shoot. Back up.";
}
body::before {
	content: attr(data-scoreboard);
	left: auto; right: 0;
	display: none;
}
*/
body.DEV body::before {
	display: inline;
}

#loading {
  position: fixed;
  width: 200px;
  height: 20px;
  top: 50%;
  left: 50%;
  border: 2px solid white;
  transform: translate( -50%, -50% );
  border-radius: 50px;
  pointer-events: none;
  z-index: 1;
}
#loading::before {
  content: "";
  width: calc(0% - 8px);
  width: calc(var(--loaded, 0%) - 8px);
  height: calc(100% - 8px);
  background-color: white;
  border-radius: 50px;
  position: absolute;
  left: 4px;
  top: 4px;
  transition: width 0.1s;
}
body.loaded #loading {
  display: none;
}


#basketball-paint {
	position: fixed;
	width: 90px;
	height: 60px;
	bottom: 28%;
	left: 50%;
	transform: translate(-50%, 50%);
	border: 10px solid transparent;
	border-radius: 7px;
	pointer-events: none;
	overflow: visible;
}
/*div#basketball-paint .st0 {
    fill: white;
}*/
div#basketball-paint::after {
    content: "Loading game...";
    text-align: center;
    width: 200%;
    display: inline-block;
    white-space: nowrap;
    color: #000AD2;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    font-size: 12px;
    margin-left: -50%;
}
body.loaded #basketball-paint {
  left: 15px;
  width: 100px;
  height: 72.5px;
  bottom: auto;
  top: calc(100% - 15px);
  transform: translate(0%, -100%);
  display: none;
}
body.loaded.calculate-outro #basketball-paint {
  bottom: 30%;
    left: 50%;
    transform: translate(-50%, 50%);
    top: auto;
}
body.loaded.calculate-outro #basketball-paint::after {
  content: "Loading...";
  display: inline-block;
}
body.loaded div#basketball-paint::after,
body.show-outro.position-changed #basketball-paint {
  display: none;
}
body.position-changed #basketball-paint {
  display: block;
}

#intro h1 .line-1::before {
  content: "QQQ";
}
#intro h1 .line-2::before {
  content: "HOOPS";
}
#intro h1 .line-1::before,
#intro h1 .line-2::before { 
  font-size: 64px;
  letter-spacing: 0;
  font-family: 'Graphik-Semibold', sans-serif;
}
body.loaded.calculate-outro.hide-intro #intro h1 .line-1::before,
body.loaded.show-outro.hide-intro #intro h1 .line-1::before {
  content: "Calculating";
}
body.loaded.calculate-outro.hide-intro #intro h1 .line-2::before,
body.loaded.show-outro.hide-intro #intro h1 .line-2::before {
  content: "your score";
}

#start, #end, #rim {
  position: fixed;
  z-index: 9999;
  width: 10px;
  height: 10px;
  transform: translate(-50%,-50%);
  background-color: red;
  opacity: 0.7;
  pointer-events: none;
}


#joystick {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.4);
}

pre#dom-log {
	position: fixed;
	padding: 10px;
	height: 50px;
	overflow-y: auto;
	font-size: 10px;
	top: calc(50% - 35px);
	left: 0;
	background-color: rgba(255,255,255,0.25);
	opacity: 0.5;
	font-family: monospace;
	display: none;
}
body.DEV pre#dom-log {
  display: block;
}
#dom-log span {
  display: block;
}






.nowrap {
  white-space: nowrap;
}






.display-none {
  display: none !important;
}
.z1 {
  z-index: 1;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.uppercase {
  text-transform: uppercase;
}
[data-before-content]::before {
  content: attr(data-before-content);
}
[data-after-content]::after {
  content: attr(data-before-content);
}

.fixed-top-left,
.fixed-top-right,
.fixed-bottom-left,
.fixed-bottom-right,
.fixed-top-center,
.fixed-bottom-center,
.fixed-center-center,
.fixed-center-left,
.loaded-fixed-top-left {
  position: fixed;
}
.loaded-fixed-top-left {
    top: 30%;
    top: 23%;
    left: 50%;
    transform: translateX(-50%);
}
body.loaded .loaded-fixed-top-left {
  transform: none;
}
.fixed-top-left, .fixed-top-right, .fixed-top-center,
body.loaded .loaded-fixed-top-left {
  top: 40px;
  top: calc(100vh * 0.049321824907522);
}
.fixed-top-left, .fixed-bottom-right, .fixed-bottom-center,
body.loaded .loaded-fixed-top-left {
  bottom: 40px;
  bottom: calc(100vh * 0.049321824907522);
}
.fixed-top-left, .fixed-bottom-left, .fixed-center-left,
body.loaded .loaded-fixed-top-left {
  left: 40px;
  left: calc(100vw * 0.027758501040944);
}
.fixed-top-right, .fixed-bottom-right {
  right: 40px;
  right: calc(100vw * 0.027758501040944);
}
.fixed-top-center, .fixed-bottom-center, .fixed-center-center {
  left: 50%;
  transform: translateX(-50%);
}
.fixed-center-center, .fixed-center-left {
  top: 50%;
  transform: translate(-50%, -50%);
}
.fixed-center-left {
  top: 50%;
  transform: translateY(-50%);
}

.w-100, .w-100-m40 {
  width: 100%;
  width: 100vw;
}
.w-100-m40 {
  width: calc(100vw - 40px);
}


span.key {
    border: 1px solid black;
    border-radius: 6px;
    padding: 2px 12px;
    margin: 0 6px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
}
@keyframes throbKey {
  0% {
    padding: 2px 12px;
    margin: 0 15px;
  }
  30% {
    padding: 2px 12px;
    margin: 0 15px;
  }
  50% {
    padding: 2px 20px;
    margin: 0 7px;
  }
  70% {
    padding: 2px 12px;
    margin: 0 15px;
  }
  100% {
    padding: 2px 12px;
    margin: 0 15px;
  }
}
span.key.key-throbbing {
  padding: 2px 12px;
  margin: 0 15px;
  animation: 2s ease-in-out 1s infinite throbKey;
}





#logo {
    width: 300px;
    height: 68px;
    cursor: pointer;
    display: block;
    background: url("/img/qqq-ncaa-logo3.svg") scroll no-repeat 0 0 transparent;
    background-size: 300px 68px;
    /*transition: top 0.5s, left 0.5s, transform 0.5s, width 0.5s, height 0.5s, background-size 0.5s;*/
    
    width: calc(300px * 0.8);
    height: calc(68px * 0.8);
    background-size: calc(300px * 0.8);
    bottom: auto !important;
}
body.show-meter #logo {
  transition: none !important;
}
body.hide-intro #logo {
  
}
body.loaded #logo {
    height: calc(46px * 0.8);
    background-size: calc(300px * 0.8);
}


#center-message, #center-above-message {
    line-height: 24px;
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    pointer-events: none;
    right: 40px;
    right: calc(100vw * 0.027758501040944);
}
#center-message, #center-above-message {
	line-height: 20px;
	font-family: 'Graphik-Medium', sans-serif;
	font-weight: 500;
	pointer-events: none;
	right: 40px;
	right: calc(100vw * 0.027758501040944);
	font-size: 16px;
}
#center-message {
    top: 67% !important;
}
#center-above-message {
    top: calc(50% - 55px);
    font-size: 44px;
    font-size: 72px;
    line-height: 72px;
    letter-spacing: -2px;
}
#center-above-message {
    top: calc(67% - 55px);
}
@keyframes transitionInUpTransform {
  0% {
    opacity: 0.0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1.0;
    transform: translateY(0px);
  }
}
@keyframes transitionInUpMoreTransform {
  0% {
    opacity: 0.0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1.0;
    transform: translateY(0px);
  }
}
@keyframes transitionOutUpTransform {
  0% {
    opacity: 1.0;
    transform: translateY(0px);
  }
  100% {
    opacity: 0.0;
    transform: translateY(-20px);
  }
}
@keyframes transitionInUpMargin {
  0% {
    opacity: 0.0;
    margin-top: 20px;
  }
  100% {
    opacity: 1.0;
    margin-top: 0px;
  }
}
@keyframes transitionInUpMarginBottom {
  0% {
    opacity: 0.0;
    margin-bottom: -20px;
  }
  100% {
    opacity: 1.0;
    margin-bottom: 0px;
  }
}
@keyframes transitionInUpMoreMargin {
  0% {
    opacity: 0.0;
    margin-top: 60px;
  }
  100% {
    opacity: 1.0;
    margin-top: 0px;
  }
}
@keyframes transitionOutUpMargin {
  0% {
    opacity: 1.0;
    margin-top: 0px;
  }
  100% {
    opacity: 0.0;
    margin-top: -20px;
  }
}


.transition-in-up-margin {
  margin-top: 20px;
  opacity: 0.0;
  animation: 1s ease-out 0s forwards transitionInUpMargin !important;
}
.transition-in-up-margin-bottom {
  margin-top: -20px;
  opacity: 0.0;
  animation: 1s ease-out 0s forwards transitionInUpMarginBottom !important;
}
.transition-in-up-more-margin {
  margin-top: 40px;
  opacity: 0.0;
  animation: 1s ease-out 0s forwards transitionInUpMoreMargin !important;
}
.transition-out-up-margin {
  margin-top: 0px;
  opacity: 1.0;
  animation: 1s ease-out 0s forwards transitionOutUpMargin !important;
}
.transition-in-up-transform {
  transform: translateY(20px);
  opacity: 0.0;
  animation: 1s ease-out 0s forwards transitionInUpTransform !important;
}
.transition-in-up-more-transform {
  transform: translateY(40px);
  opacity: 0.0;
  animation: 1s ease-out 0s forwards transitionInUpMoreTransform !important;
}
.transition-out-up-transform {
  transform: translateY(0px);
  opacity: 1.0;
  animation: 1s ease-out 0s forwards transitionOutUpTransform !important;
}




@keyframes transitionInWidth33p {
  0% {
    opacity: 0.0;
    width: 23%;
  }
  100% {
    opacity: 1.0;
    width: 33%;
  }
}
@keyframes transitionInWidth36p {
  0% {
    opacity: 0.0;
    width: 26%;
  }
  100% {
    opacity: 1.0;
    width: 36%;
  }
}
@keyframes transitionInHeight50vh {
  0% {
    opacity: 0.0;
    height: 40vh;
  }
  100% {
    opacity: 1.0;
    height: 50vh;
  }
}
.transition-in-width-33p {
  width: 23%;
  opacity: 0.0;
  animation: 1s ease-out 0s forwards transitionInWidth33p !important;
}
.transition-in-width-36p {
  width: 26%;
  opacity: 0.0;
  animation: 1s ease-out 0s forwards transitionInWidth36p !important;
}
.transition-in-height-50vh {
  height: 40vh;
  opacity: 0.0;
  animation: 1s ease-out 0s forwards transitionInHeight50vh !important;
}



.delay-05 { animation-delay: 0.5s !important; }
.delay-1 { animation-delay: 1s !important; }
.delay-15 { animation-delay: 1.5s !important; }
.delay-2 { animation-delay: 2s !important; }
.delay-25 { animation-delay: 2.5s !important; }
.delay-3 { animation-delay: 3s !important; }
.delay-35 { animation-delay: 3.5s !important; }
.delay-4 { animation-delay: 4s !important; }
.delay-45 { animation-delay: 4.5s !important; }


.stopped .transition-in-up-margin,
.stopped .transition-out-up-margin,
.stopped .transition-in-up-transform,
.stopped .transition-out-up-margin {
  animation: none !important;
}


#mute-ui {
  width: 275px;
  font-family: 'Graphik-Medium', sans-serif;
  font-weight: 500;
  display: none;
}
div#mute-info {
    width: 50%;
    display: inline-block;
    font-size: 12px;
}
button#mute-btn {
    display: inline-block;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-color: rgba(0,0,0,0.05);
    border: none;
    width: auto;
    padding: 4px 0px 0px 4px;
    margin-left: 20px;
    border-radius: 40px;
}
button#mute-btn img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
}




div#shot-meter-container {
  width: 40vw;
  width: 432px;
  width: 532px;
  pointer-events: none;
  visibility: hidden;
}
body.unfocused div#shot-meter-container {
    background-color: rgb(255 204 20 / 45%);
    border-radius: 30px;
}
h4#shot-meter-text {
    padding-left: 50%;
    padding-left: calc(50% - 12.5%);
    font-family: 'Graphik-Medium', sans-serif;
    font-weight: 500;
    font-size: 12px;
    width: 25%;
    text-align: center;
    color: white;
    margin-bottom: 4px;
}
div#shot-meter {
    width: 100%;
    position: relative;
    border-radius: 6px;
    height: 10px;
    background: linear-gradient(90deg, white 0%, white 50%, #5CF0FF 50%, #5CF0FF 75%, white 75%, white 100%);
    background: linear-gradient(90deg, white 0%, white calc(50% - 12.5%), #5CF0FF calc(50% - 12.5%), #5CF0FF calc(75% - 12.5%), white calc(75% - 12.5%), white 100%);
}
@keyframes meterThrob {
  0% {
    width: 1.5%;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 1.5%;
  }
}
div#shot-meter-bar {
    background-color: #000AD2;
    height: 6px;
    border-radius: 6px;
    position: absolute;
    left: 2px;
    top: 2px;
    width: 1.5%;
    bottom: 1px;
}
body.throb-meter div#shot-meter-bar {
    animation: meterThrob 2s linear infinite;
}
div#shot-meter-range {
    position: absolute;
    top: 0;
    left: calc(50% - 12.5%);
    border-right: 2px solid #5CF0FF;
    border-left: 2px solid #5CF0FF;
    bottom: 0;
    width: calc(25% - 4px);
}
h4#shot-meter-needs-focus-text {
    visibility: hidden;
    position: absolute;
    top: 0;
    font-family: 'Graphik-Medium', sans-serif;
    font-size: 12px;
    text-align: center;
    width: 100%;
    width: calc(100% - 20px);
    line-height: 28px;
    padding: 0 10px;
}
body.unfocused h4#shot-meter-needs-focus-text {
  visibility: visible;
}
body.unfocused div#shot-meter-bar, body.unfocused h4#shot-meter-text, body.unfocused div#shot-meter-range, body.unfocused div#shot-meter {
  visibility: hidden;
}
body.show-meter div#shot-meter-container{
  visibility: visible;
}



h2#countdown {
    font-size: 36px;
    color: #000AD2;
    font-family: 'Graphik-Medium', sans-serif;
    transition: color 0.5s;
}
#countdown::before {
    position: relative;
    top: -5px;
}
h2#countdown.red {
  color: red;
}
h2#rewards {
    font-size: 20px;
    font-family: 'Graphik-Semibold', sans-serif;
    color: #000AD2;
}
@media (min-width: 768px) {
  h2#rewards {
  	font-size: 2em;
  	line-height: 1.5em;
  }
}



#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  height: 100%;
  transition: opacity 1s, transform 1s;
  opacity: 1.0;
/*   transform: scale(1.1); */
  pointer-events: all;
}
body.hide-intro #intro {
  opacity: 0.0;
/*   transform: scale(1.1); */
  pointer-events: none;
}
body.calculate-outro #intro {
  opacity: 1.0;
/*   transform: scale(1.0); */
  pointer-events: all;
}
#intro {
	background: linear-gradient(180deg, #e1f3fc 0%, #FFF 50%);
}
body.loaded svg .st0 {
  fill: white;
}
body.calculate-outro svg .st0  {
  fill: #DCDBDC;
}

#grant-intro, #candice-intro {
  position: absolute;
}
#grant-intro {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 31%;
}
/*#candice-intro {
	right: 0;
	bottom: 0;
	width: auto;
	height: 90%;
}*/
#candice-intro {
	right: 4%;
	top: 50%;
	transform: translateY(-34%) !important;
	width: 36%;
}
#intro-text {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 84px;
  transform: translate(-50%, -50%);
}
#intro-text div {
  font-family: 'Graphik-Semibold', sans-serif;
  color: #000bd1;
  font-weight: 600;
  line-height: 64px;
}
body.calculate-outro #intro-text,
body.show-outro #intro-text {
  font-size: 6vw;
}


@keyframes scaleUp {
  0% {
    transform: scaleY(0.0);
  }
  100% {
    transform: scaleY(1.0);
  }
}
#outro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  height: 100%;
  transition: opacity 1s, transform 1s;
  opacity: 0.0;
/*   transform: scale(1.1); */
  pointer-events: none;
  overflow: auto;
  overflow-x: hidden;
}
body.show-outro #outro {
  opacity: 1.0;
/*   transform: scale(1.0); */
  pointer-events: all;
}
div#outro-container {
    max-width: 600px;
    margin: 100px auto;
}

div#graphs-container {
    position: relative;
    height: 300px;
    margin-bottom: 60px;
}

div#player-earnings-container {
    width: 50%;
    width: calc(50% - 8px);
    position: absolute;
    bottom: 0;
}
#player-earnings-container p.uppercase {
  font-size: 12px;
  font-family: 'Graphik-Medium', sans-serif;
}
h1#player-earnings {
    margin: 10px 0;
    font-size: 64px;
    font-family: 'Graphik-Medium', sans-serif;
}
#player-earnings-container .graph {
/*     height: calc(1px * ( calc(var(--earnings) / var(--earnings-divisible) )) ); */
    height: 22px;
    background-color: black;
}

div#invested-earnings-container {
    width: 50%;
    width: calc(50% - 8px);
    position: absolute;
    bottom: 0;
    right: 0;
}
#invested-earnings-container p.uppercase,
#invested-earnings-container p.uppercase span {
  font-size: 12px;
  font-family: 'Graphik-Medium', sans-serif;
  color: #000AD2;
}
h1#invested-earnings {
    margin: 10px 0;
    color: #000bd1;
    font-size: 64px;
    font-family: 'Graphik-Medium', sans-serif;
}
#invested-earnings-container .graph {
/*     height: calc( 6.3829px * ( calc(var(--earnings) / var(--earnings-divisible) )) ); */
    /*height: calc(30px * 6.3829);*/
    height: calc(22px * 7.8517);
    height: calc(22px * 4.8153);
    height: calc(22px * 4.4885);
    height: calc(22px *  5.6788);
    background-color: #000bd1;
}

h2#if-invested-text {
    margin-bottom: 30px;
    font-size: 32px;
    font-family: 'Graphik-Medium', sans-serif;
}

a#how-to-invest-btn {
    display: inline-block;
    padding: 16px 25px;
    font-size: 22px;
    text-decoration: none;
    color: #000bd1;
    border: 2px solid #000bd1;
    margin-bottom: 60px;
    text-align: center;
    font-size: 16px;
    font-family: 'Graphik-Medium', sans-serif;
    cursor: pointer;
}
h3#if-invested-text {
    margin-bottom: 30px;
    font-size: 32px;
    line-height: 40px;
    font-family: 'Graphik-Medium', sans-serif;
}
div#small-print {
    font-size: 14px;
    font-family: 'Graphik-Regular', sans-serif;
    line-height: 22px;
}
div#sharing {
    margin: 40px 0;
}
div#legal {
    background-color: #000bd1;
    color: white;
    padding: 60px 0;
    font-size: 14px;
  font-family: 'Graphik-Medium', sans-serif;
}
div#legal-container {
    max-width: 738px;
    margin: 0 auto;
}
div#legal-container a {
    color: white;
    text-decoration: none;
    padding: 0 15px;
}
div#legal-container a:first-child {
    padding-left: 0;
}

.dynamic-invested-earnings {
  color: #000bd1;
}

body.show-outro #logo {
	/*
  border: 25px solid white;
	display: block;
	transform: translate(-25px, -25px);
	*/
	background-image: url("/img/qqq-ncaa-logo3.svg");
}

.pointer-events-none {
  pointer-events: none;
}


@keyframes pillFadeAway {
  0% { transform: translateX(-50%) translateY(0px); opacity: 1.0; }
  100% { transform: translateX(-50%) translateY(-160px); opacity: 0.0; }
}
#rim-pill-container {
  position: fixed;
  width: 200px;
  height: 200px;
  top: -100px;
  left: -100px;
  margin: -200px 0 0 -100px;
}
#rim-pill-container div {
  background-color: #000AD2;
  color: #FFFFFF;
  animation: 2s ease-out 1s forwards pillFadeAway;
  position: absolute;
  bottom: 15px;
  left: 50%;
  padding: 2px 8px;
  border-radius: 30px;
  transform: translateX(-50%) translateY(0px);
  font-size: 12px;
  font-family: 'Graphik-Semibold', sans-serif;
  letter-spacing: 0.25px;
}
#rim-pill-container div.red {
  background-color: red;
  color: white;
}




#reset-btn {
    font-family: 'Graphik-Medium', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 39px;
    cursor: pointer;
    display: none;
}
#reset-btn img {
    margin: -7px 7px;
}
body.show-outro #reset-btn {
  display: block;
}



















img#intro-tallent-mobile {
	position: absolute;
	bottom: 3%;
	height: 50vh;
	left: 50%;
	transform: translateX(-54%) !important;
	display: none;
}


body::before {
	content: "";
	position: fixed;
	bottom: 0;
	width: 100%;
	left: 0;
	right: 0;
	height: 118px;
	background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,1));
	opacity: 0;
	z-index: 1;
	display: none;
}
body.show-meter::before {
  display: block;
  animation: 1s ease-out 0s forwards fadeIn25;
}


header#header-bar {
	background-color: white;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 110px;
}
body.show-outro header#header-bar {
  display: block;
}


.mobile-only {
  visibility: hidden !important;
}
.desktop-only {
  visibility: visible !important;
}


@media (max-width: 767px) {
  
  body::before {
    display: none !important;
  }
  
  body.loaded.calculate-outro #basketball-paint {
      bottom: auto;
      top: 175px;
  }
  
  .mobile-only {
    visibility: visible !important;
  }
  .desktop-only {
    visibility: hidden !important;
  }
  
  #logo {
    top: 30px;
  }
  h2#countdown {
    top: 100px;
  }
  #intro-text {
  	top: 80px;
  	top: 109px;
  	transform: translate(-50%, 0%);
  	font-size: 60px;
  }
  #basketball-paint {
  	bottom: auto;
  	top: 170px;
  	top: 192px;
  }
  /*#grant-intro {
  	width: 60%;
  	top: 66%;
  }*/
  /*#candice-intro {
  	width: 60%;
  	height: auto;
  }*/
  /*#candice-intro {
  	width: 60%;
  	top: 66%;
  }*/
  #grant-intro, #candice-intro {
    display: none !important;
  }
  img#intro-tallent-mobile {
    display: block;
  }
  #shot-meter-container {
    display: none !important;
  }
  div#outro-container, div#legal-container {
      padding: 0 15px;
  }
  h1#player-earnings, h1#invested-earnings {
    font-size: calc(10% + 6vw);
  }
  #basketball-paint {
  	position: fixed;
  	width: 80px;
  	height: 50px;
  	top: 202px;
  }
  header#header-bar {
    height: 93px;
  }
  
  
  
  #logo {
    transform: translateX(-50%) scale(0.75);
  }
  body.loaded #logo {
      height: calc(46px * 0.6);
      background-size: calc(300px * 0.6);
  }
  body.loaded #logo {
      transform: translate(5px, 5px);
  }
  body.loaded.show-outro #logo  {
/*     transform: translate(-22px, -15px); */
  }
  #intro-text div {
      line-height: 60px;
  }
  body.calculate-outro #intro-text div {
      line-height: 44px;
  }
  #intro h1 .line-1::before, #intro h1 .line-2::before {
    font-size: 55px;
  }
  #basketball-paint {
    width: 75px;
    height: 45px;
  }
  
}

@media (min-aspect-ratio: 10/12) and (max-aspect-ratio: 12/10) {
  /*#grant-intro {
    height: 85%;
    width: auto;
    top: 57%;
    left: calc(-20px + 1vw);
  }*/
  /*#candice-intro {
  	height: 60%;
  	width: auto;
  }*/
  /*#candice-intro {
    height: 85%;
    width: auto;
    top: 57%;
    right: calc(-20px + 1vw);
  }*/
}


.dg.ac {
  z-index: 100 !important;
  right: 42px !important;
}
.dg .property-name {
  width: 75% !important;
}
.dg .c {
  width: 25% !important;
}
.dg li:not(.folder) {
    height: 21px !important;
    line-height: 21px !important;
}
.dg .selector {
    margin-top: 21px !important;
}

body.UI-NONE > *:not(canvas), body.UI-NONE::before, body.UI-NONE::after {
  display: none !important;
}


@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
#white-curtain {
  background-color: white;
  z-index: 4;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  width: 100vw;
  height: 100%;
  height: 100vh;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
body.white-curtain #white-curtain {
  /*animation: 3s linear fadeInOut;*/
  opacity: 1;
}

body.white-curtain div#intro.z1,
body.white-curtain div#intro.z1,
body.white-curtain #logo,
body.white-curtain #rewards,
body.white-curtain #countdown {
  opacity: 0 !important;
}

body.show-outro canvas,
body.calculate-outro canvas,
body.show-outro #shot-meter-container,
body.calculate-outro #shot-meter-container,
body.show-outro #center-message,
body.show-outro #center-above-message,
body.calculate-outro #center-message,
body.calculate-outro #center-above-message,

body.show-outro #countdown,
body.calculate-outro #countdown,

body.show-outro #rewards,
body.calculate-outro #rewards {
  visibility: hidden !important;
} 


#rewards {
    top: 40px;
  }


@media (min-width: 768px) {
  body.show-outro #logo {
    top: 30px;
    left: 40px;
    left: calc(100vw * 0.027758501040944);
  }
  body[class=""] #logo {
      top: calc(50% - 170px) !important;
  }
  body.calculate-outro #logo {
      top: calc(50% - 170px) !important;
      left: 50% !important;
      transform: translate(-50%, 100%);
  }
  body[class=""] #basketball-paint {
    top: calc(50% + 65px) !important;
  }
}

@media (min-width: 768px) and (min-aspect-ratio: 3/2) {
  #grant-intro {
      height: 85%;
      width: auto;
      top: 50%;
      left: 25%;
      transform: translate(-75%, -50%);
  }
  #candice-intro {
      height: 71%;
      width: auto;
      top: calc(50% + 36px);
      right: 25%;
      transform: translate(66%, -50%) !important;
  }
}




@media ( orientation: portrait ) and ( max-height: 705px ) and (max-width: 767px) {
  #player-earnings-container .graph {
    height: 20px;
  }
  #invested-earnings-container .graph {
    height: calc(20px * 7.8517);
    height: calc(20px * 4.8153);
    height: calc(20px * 4.4885);
    height: calc(20px * 5.6788);
  }
  h3#if-invested-text {
    font-size: 22px;
    line-height: 30px;
  }
  div#graphs-container {
    margin-bottom: 30px;
    height: 255px;
  }
  body[class=""] div#basketball-paint::after { top: -21px; position: relative; }
  body[class=""] div#basketball-paint svg { display: none; }
  body.loaded #basketball-paint {
    width: 80px;
    height: 51px;
  }
  #center-above-message {
      font-size: 52px;
      line-height: 52px;
  }
  body.loaded.show-outro #logo {
/*     transform: translate(-22px, -27px); */
  }
  div#outro-container {
      max-width: 600px;
      margin: 90px auto;
  }
  #intro-text div {
    line-height: 50px;
  }
  #intro h1 .line-1::before, #intro h1 .line-2::before {
    font-size: 45px;
  }
}

@media ( orientation: portrait ) and ( max-height: 560px ) and (max-width: 767px) {
  #player-earnings-container .graph {
    height: 10px;
  }
  #invested-earnings-container .graph {
    height: calc(10px * 7.8517);
    height: calc(10px * 4.8153);
  }
  h3#if-invested-text {
    font-size: 22px;
    line-height: 30px;
  }
  div#graphs-container {
    margin-bottom: 30px;
    height: 170px;
  }
  body[class=""] div#basketball-paint::after { top: -21px; position: relative; }
  body[class=""] div#basketball-paint svg { display: none; }
  body.loaded #basketball-paint {
    width: 80px;
    height: 51px;
  }
  #center-above-message {
    font-size: 42px;
    line-height: 42px;
  }
  body.loaded.show-outro #logo {
    transform: translate(-22px, -27px);
  }
  div#outro-container {
    max-width: 600px;
    margin: 90px auto;
  }
  #intro-text div {
    line-height: 50px;
  }
  #intro h1 .line-1::before, #intro h1 .line-2::before {
    font-size: 45px;
  }
}

#idle-video {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	cursor: pointer;
	display: none;
}
body.idling #idle-video {
  display: block;
}
#idle-video video {
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	position: absolute;
	object-fit: cover;
	pointer-events: none;
}
#idle-video button {
	position: absolute;
	top: 25%;
	left: 50%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	appearance: none;
	-webkit-appearance: none;
	border: none;
	color: white;
	font-family: "Graphik-Medium";
	padding: 1em 1.5em;
	font-size: 1.75em;
	background-color: #0090d9;
	background-color: #000AD2;
	font-weight: 100;
	/*mix-blend-mode: hard-light;*/
}
body.TOUCH-KIOSK #reset-btn {
	color: #000AD2;
	font-size: 1.5em;
	margin-top: -8px;
	margin-right: 5px;
}
body.TOUCH-KIOSK #reset-btn img {
	width: 50px;
	margin: -13px 7px;
}
body.TOUCH-KIOSK #candice-intro {
	display: none;
}
@media {
  body.TOUCH-KIOSK #intro-tallent-mobile {
  	object-position: -2000px 0px;
  	background: url("/img/intro-tallent-mobile-touch-kiosk.png?v2") scroll no-repeat center center transparent;
  	background-size: contain;
  }
}



body.TOUCH-KIOSK #grant-intro {
	left: 50%;
	transform: translateX(-50%);
	top: 40%;
	margin-left: -45px;
}
body.TOUCH-KIOSK #intro-text {
	top: 33%;
}



body.p1080 {
  transform: rotate(-90deg) !important;
  transform-origin: 540px 540px !important;
}
body.p1080, body.p1080 canvas {
  width: 1080px !important;
  height: 1920px !important;
}
body.p1080 #shot-meter-container,
body.p1080 #center-message {
  display: none !important;
}

