/***** BOF RESET BROWSER DEFAULTS *****/

html {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	background:#ffffff;
}

body {
	border: 0;
	margin: 0;
	padding: 0;
	color: #666666;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	background:#ffffff;
}

a, a:visited {
	text-decoration: none;
	outline: none;
	color: #000000;
}

a.whiteLink, a.whiteLink:visited {
	text-decoration: none;
	outline: none;
	color: #ffffff;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: 0;
}

p {
	line-height: 125%;
}

label {
	margin: 0;
}

.button a {
	color: #ffffff !important;
}

/***** EOF RESET BROWSER DEFAULTS *****/

/***** BOF SCROLLING MODULES *****/

.scroller {
	width: 100%;
	position: relative;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

.scrolled {
	position: relative;
	height: auto;
}

::-webkit-scrollbar {
	width: 4px;
}

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: #dddddd;
}

/***** EOF SCROLLING MODULES *****/

/***** BOF FOR PWA DISABLED *****/

#pwaUpdate {
	display: none;
}

/***** EOF PWA DISABLED *****/

/***** BOF ORIENTATION HELPERS *****/

.orientationHelper
{
color:#ffffff;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.9);
position: fixed;
top: 0;
left: 0;
z-index: 999999999;
}

.orientationHelper .mdi
{
font-size:32px;
}

#onlyPortraitOverlay {
display: none;
}

#onlyLandscapeOverlay {
display: none;
}

@media screen and (orientation:portrait) {
	#onlyLandscapeOverlay {
		display: flex;
	}
}

@media screen and (orientation:landscape) {
	#onlyPortraitOverlay {
		display: flex;
	}
}

/***** EOF ORIENTATION HELPERS *****/

/***** BOF FORM *****/

label {
	margin: 0;
}

.form-group {
	margin-bottom: 20px;
}

.form-group input[type="text"], .form-group input[type="password"] {
	display: block;
	background: #ffffff;
	width: 100%;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 1px solid #cccccc;
	padding: 5px 15px;
	border-radius: 0;
	font-size: 17px;
}

.form-group textarea {
	display: block;
	background: #ffffff;
	width: 100%;
	min-height: 2em;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 1px solid #cccccc;
	padding: 5px 0;
	border-radius: 0;
	font-size: 17px;
}

/***** EOF FORM *****/

.loading {
	background-image: url(../../media/loading.gif);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 32px 32px;
	min-width: 32px;
	min-height: 32px;
}

.loading>* {
	visibility: hidden;
}



:root {
--pink:#eb3c96;
--cyan:#2dbecd;
--green:#007a73;
}


@font-face {
  font-family: "MarkPro-Bold";
  src:url("../fonts/Mark.Pro.Bold.otf") format("opentype");
}

body
{
/*font-family:"MarkPro-Bold";*/
font-weight:bold;
}


#back
{
position:absolute;
top:20px;
left:0;
z-index:999999;
}


#intro
{
position:absolute;
top:0;
left:0;
width:100vw;
height:100vh;
background:transparent url(../media/intro.jpg) no-repeat center center / cover;
z-index:9;
}

/* BOF DICE */

#dice
{
position:absolute;
right:0;
width: 200px;
height: 200px;
margin: 20px;
perspective:600px;
}

#cube
{
width:200px;
height: 200px;
position: relative;
transform-style: preserve-3d;
transform: translateZ(-100px);
transition: transform .25s linear;
}

#cube.rolling  { transform: translateZ(-100px) rotateY(-45deg) rotateX(-45deg); }

#cube.show-1  { transform: translateZ(-100px) rotateY(   0deg); }
#cube.show-2  { transform: translateZ(-100px) rotateY(-180deg); }
#cube.show-3  { transform: translateZ(-100px) rotateY( -90deg); }
#cube.show-4  { transform: translateZ(-100px) rotateY(  90deg); }
#cube.show-5  { transform: translateZ(-100px) rotateX( -90deg); }
#cube.show-6  { transform: translateZ(-100px) rotateX(  90deg); }

.cube__face
{
position: absolute;
width: 200px;
height: 200px;
border: 4px solid white;
line-height: 200px;
font-size: 120px;
font-weight: bold;
color: white;
text-align: center;
}

.cube__face--1,
.cube__face--2,
.cube__face--3,
.cube__face--4,
.cube__face--5,
.cube__face--6
{
background:var(--pink);
opacity:0.75;
}

.cube__face--1  { transform: rotateY(  0deg) translateZ(100px); }
.cube__face--2   { transform: rotateY(180deg) translateZ(100px); }
.cube__face--3  { transform: rotateY( 90deg) translateZ(100px); }
.cube__face--4   { transform: rotateY(-90deg) translateZ(100px); }
.cube__face--5   { transform: rotateX( 90deg) translateZ(100px); }
.cube__face--6 { transform: rotateX(-90deg) translateZ(100px); }


@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
  
  100% {
    transform: scale(1);
  }
}

.pulse
{
animation: 1s linear infinite pulse;
}

/* EOF DICE */

#questionModal
{
background:#00000088;
}

.modal-header, .modal-footer
{
border:0;
}

.modal-content
{
background:transparent;
}

.modal-body
{
padding:0;
}

#question
{
/*margin-top:100px;*/
margin:0 60px;
}

#questionText
{
background:var(--pink);
color:#ffffff;
font-size:48px;
border-radius:50px;
width:100%;
margin:20px auto;
padding:30px 60px;
min-height:560px;
line-height:115%;
}

.answer
{
background:#ffffff;
color:var(--cyan);
border:10px solid var(--cyan);
font-size:36px;
border-radius:50px;
width:100%;
margin:20px auto;
padding:30px 40px calc(40px - 0.15rem);
line-height:115%;
}

.answer.wrong
{
background:var(--bs-danger);
color:#ffffff;
border:10px solid #ffffff;
}

.answer.right
{
background:var(--cyan);
color:#ffffff;
border:10px solid #ffffff;
}

#continue
{
background:var(--cyan);
color:#ffffff;
/*border:10px solid #e64647;*/
text-align:center;
font-size:48px;
border-radius:50px;
width:33%;
margin:20px auto;
padding:40px 60px calc(40px - 0.15rem);
line-height:115%;
transition:all 1s;
/*box-shadow:8px 8px 24px #00000088;*/
}

#continue.hide
{
opacity:0;
transform:scale(0);
}


#ref
{
position:absolute;
bottom:0;
width:100%;
color:#ffffff;
font-size:16px;
/*margin-top:auto;*/
text-align:center;
text-shadow:0 0 4px #888888;
width:100%;
}


#code
{
font-size:16px;
line-height:16px;
position:fixed;
bottom:8px;
right:16px;
color:#333333;
z-index:99999999;
}
