@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Roboto:wght@100;300;400;700&display=swap');
:root {
  --bg: #f6f8fa;
  --primary: #0369FF;
  --primary-dark: #0369FF;
  --white: #ffffff;
  --shadow: #cccccc;
  --text: #121212;
}
html, body {
  margin: 0px;
  padding: 0px;
  outline: none;
}
body{
  color: var(--text);
  font-family: "Roboto","Helvetica","Arial",sans-serif;
  background:var(--bg);
  font-style:normal;
  font-weight:400;
  max-width:100%;
  min-height:100vh;
  text-align: center;
}
header {
  height:60px;
  width:100%;
  z-index:2;
  background-color:#ffffff;
  text-align:center;
  padding:5px 0px;
  border-bottom:2px solid #EEEEED;
  vertical-align:middle;
  background-size:auto 33px;
  background-position:center;
}
main {
  margin: 0px auto 60px;
  padding:10px;
  display:block;
}
section {
  margin: 0px auto;
  max-width:1200px;
  padding:20px;
  background:#ffffff;
} 
a, .link { 
  color:#0369FF;
  text-decoration:none;
} 
a.white, .link.white {
  color: #ffffff;
  text-decoration: underline;
}	
a:hover, .link:hover { 
  color:#0369FF !important;
  text-decoration:underline !important;
  cursor:pointer !important;
}     
input[type=text], input[type=password], input[type=email], textarea,  select {
  display:inline-block;
  width: 100%;
  margin: 0px auto 10px;
  padding: 8px 10px;
  box-sizing: border-box;
  border: none;
  border: 1px solid #ccc;
  border-radius:2px;
  text-align:left;
  max-width:300px;
  height: 35px;
  font-family:inherit;
  vertical-align:middle;
}
input[type=text].error, input[type=password].error, input[type=email].error, textarea.error,  select.error {
  border-bottom: 2px solid red;
}
textarea {
  width:300px;
  max-width:100%;
  font-family:inherit;
}
input[type=button], .button {
  color:#FFFFFF;
  background: #0369FF;
  border:2px solid #0369FF;
  padding: 10px 20px;
  display: inline-block;
  margin: 10px auto 10px;
  font-weight: bold;
  min-width: 150px;
  box-sizing: border-box;
  border-radius: 2px;
  font-size:13px;
  text-transform: capitalize;
  min-height:40px;
  vertical-align: middle;
  max-width: 250px;
  text-align: center;
  -webkit-appearance: none;
  font-family:inherit;
  transition: 0.2s background-color ease-in-out;
}
input[type=button]:hover, .button:hover {
  color:#FFFFFF !important;
  cursor: pointer !important;
  background: #0155c4 !important;
  border:2px solid #0155c4 !important;
  text-decoration:none !important;
}
input[type=button].secondary, .button.secondary {
  background: transparent !important;
  color:#0369FF !important;
  border:2px solid #0369FF !important;
}
input[type=button].secondary.dark, .button.secondary.dark {
  color:#FFFFFF;
}
input[type=button].secondary:hover, .button.secondary:hover {
  cursor:pointer !important;
  color:#FFFFFF !important;        
  background:#0369FF !important;
  text-decoration:none !important;
}
label {
  display:block;
  color:#0369FF;
  font-weight:bold;
  margin:8px 0px 5px;
}      
.sub {
  font-style:italic;
  font-size:12px;
  margin-top:-5px;
}
.toggle-btn {
  height: 32px;
  margin: 10px auto;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  background: url(https://img.en25.com/EloquaImages/clients/DocuSign/{384fd01e-8f6d-4fe6-8a9a-dfa49cd696ba}_x-icon.png) no-repeat calc(100% - 10px) center #ff2300;
  cursor: pointer;
  transition: background-color .40s ease-in-out;
  vertical-align: middle;
  padding:0 40px;
}
.toggle-btn.active {
  background : url('https://img.en25.com/EloquaImages/clients/DocuSign/{35cfb600-64b6-4fc3-b95e-34200a3299f6}_check-icon.png') no-repeat 10px center #00aa5e;
}
.toggle-btn .toggle-txt {
  display: inline-block;
  vertical-align: middle;
  line-height: 30px;
  color: #ffffff;
}
.toggle-btn .round-btn {
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 3px;
  display: inline-block;
  position: absolute;
  left: 4px;
  top: 50%;
  margin-top: -12px;
  transition: all .30s ease-in-out;
}
.toggle-btn.active .round-btn {
  margin-left: -28px;
  left: 100%;
} 
.toggle-btn .input {
  position: absolute;
  left:0;
  right:0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 9;
  cursor:pointer;
  top:0;
  margin:0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}
footer {
  position:fixed;
  bottom:0px;
  right:10px;
}
footer > * {
  background:#0369FF;
  padding:15px 20px;
  border-radius:5px 5px 0 0;
  font-size:16px;
  transition:all 0.2s ease-in-out;
  color:#ffffff;
  min-width:25px;
  text-align:center;
  display:inline-block;
}
footer > *:before {
  -webkit-font-smoothing: antialiased;
  display:inline-block;
  font-style:normal;
  font-variant:normal;
  text-rendering:auto;
  line-height:1;
  font-family:"Font Awesome 5 Free";
  font-weight:700;
  font-size:20px;
}
footer > *:before {
  content:attr(data-icon);
}
footer > *:hover {
  background: #0155c4 !important;
  cursor:pointer !important;
  color:#ffffff !important;
  text-decoration: none !important;
}
footer > *:hover:after {
  content:attr(title);
  padding-left:7px;
}      
.loading {
  display:block;
  z-index:1000;
  margin:0 auto;
  padding:100px 0px 50px;
  text-align:center;
}
.loading.dark {
  color:#ffffff; 
}
.loading > div {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  z-index: 1500;
  border: 3px solid transparent;
  border-top-color: #005CB9;
  border-radius: 50%;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
.loading > div:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 3px solid transparent;
  border-top-color: #FFCE00;
  border-radius: 50%;
  -webkit-animation: spin 3s linear infinite;
  animation: spin 3s linear infinite;
}
.loading > div:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 3px solid transparent;
  border-top-color: #1e1e1e;
  border-radius: 50%;
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}
.loading.dark > div:after {
  border-top-color: #FFFFFF;
}
@-webkit-keyframes spin {
  0%   {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin {
  0%   {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
#start, #authenticated, #hidden, #loading, #scoreCon, #leaderbtn {
  display:none;
}  
.dataContainer:nth-child(1n) .data {
  background-color:#0369FF;
  background: repeating-linear-gradient(45deg, #0369FF, #0369FF 50%, #000000 50%, #000000);
  background-size: 20px 20px;
}
.dataContainer:nth-child(2n) .data {
  background-color:#ff2300;
  background: repeating-linear-gradient(45deg, #ff2300, #ff2300 50%, #000000 50%, #000000);
  background-size: 20px 20px;
}
.dataContainer:nth-child(3n) .data {
  background-color:#10a8ba;
  background: repeating-linear-gradient(45deg, #10a8ba, #10a8ba 50%, #000000 50%, #000000);
  background-size: 20px 20px;
}
.dataContainer:nth-child(4n) .data {
  background-color:#95d13c;
  background: repeating-linear-gradient(45deg, #95d13c, #95d13c 50%, #000000 50%, #000000);
  background-size: 20px 20px;
}
.dataContainer:nth-child(5n) .data {
  background-color:#ffc820;
  background: repeating-linear-gradient(45deg, #ffc820, #ffc820 50%, #000000 50%, #000000);
  background-size: 20px 20px;
}
.dataContainer:nth-child(6n) .data {
  background-color:#c22dd5;
  background: repeating-linear-gradient(45deg, #c22dd5, #c22dd5 50%, #000000 50%, #000000);
  background-size: 20px 20px;
}
.dataContainer:nth-child(7n) .data {
  background-color:#00aa5e;
  background: repeating-linear-gradient(45deg, #00aa5e, #00aa5e 50%, #000000 50%, #000000);
  background-size: 20px 20px;
}
.dataContainer:nth-child(8n) .data {
  background-color:#785ef0;
  background: repeating-linear-gradient(45deg, #785ef0, #785ef0 50%, #000000 50%, #000000);
  background-size: 20px 20px;
}
.dataContainer:nth-child(9n) .data {
  background-color:#ff7d00;
  background: repeating-linear-gradient(45deg, #ff7d00, #ff7d00 50%, #000000 50%, #000000);
  background-size: 20px 20px;
}
.animation {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.dataContainer {
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  transition: all .3s ease;
  /*depth of the elements */
  -webkit-perspective: 800px;
  -moz-perspective: 800px;
  -o-perspective: 800px;
  perspective: 800px;
  perspective: 800px;
  display: inline-block;
  /*width: 20%;*/
  margin: 20px;
  min-width: 200px;
  position: relative;
  min-height: 200px;
}
.data {
  background-color: #cccccc;
  color: #ffffff;
  aspect-ratio: 1/1;
  vertical-align: middle;
  position: relative;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 0 10px 0 #888888;
  width: 100%;
  min-width:200px;
  min-height:200px;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.6s;
  -moz-transition: -moz-transform 0.6s;
  -o-transition: -o-transform 0.6s;
  transition: transform 0.6s;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.data:not(.flipped):hover {
  -webkit-transform: rotateY( 15deg );
  -moz-transform: rotateY( 15deg );
  -o-transform: rotateY( 15deg );
  transform: rotateY( 15deg );
}
.data.flipped {
  -webkit-transform: rotateY( 180deg );
  -moz-transform: rotateY( 180deg );
  -o-transform: rotateY( 180deg );
  transform: rotateY( 180deg );
}
.data .back {
  height: 100%;
  width: 100%;
  position: absolute;
  top:0;
  left:0;
  background: #646464;
  font-size:18px;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: 3px 5px 20px 2px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 2px 5px rgba(0, 0, 0, 0.26);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 2px 5px rgba(0, 0, 0, 0.26);
  -webkit-transform: rotateY( 180deg );
  -moz-transform: rotateY( 180deg );
  -o-transform: rotateY( 180deg );
  transform: rotateY( 180deg );
}
.back img {
  width:100%;
  height:100%;
}      
.front .text {
  vertical-align: middle;
  top: 50%;
  position: absolute;
  display: inline-block;
  left: 50%;
  text-align: center;
  margin: auto;
  transform: translate(-50%, -50%);
  font-size:50px;
  font-size: 120px;
  font-weight: bold;
}
.back .text {
  position: absolute;
  text-align: center;
  bottom: 0px;
  width: 100%;
  background: rgba(0,0,0,0.3);
  padding: 10px 0px;
}
.number {
  font-weight:bold;
  font-size:45px;
}
.label {
 font-size:18px;
} 
.found {
 opacity:0.3; 
}
#scoreCon {
  position:absolute;
  right:20px;
  top:5px;
  font-weight:bold;
  text-align:center;
}
#score {
  font-size:30px;
}
#scoreText {
  text-transform:uppercase; 
}    
#leaderbtn {
  position:absolute;
  left:20px;
  top:5px;
}
#leaderboard {
  text-align:left;
}
#leaderboard h3 i {
  color:#ffbf00;
}
#time {
  width: 100%;
  height: 100vh;
  position: fixed;
  font-size: 80vh;
  z-index: 99999;
  opacity: 0.8;
  -webkit-text-stroke: #000000 2px;
  color: #ffffff;
  display:none;
}