html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  font-family: "Poppins", sans-serif;
}

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

b {
  font-weight: bold;
}

body {
  background-color: #000000;
  font-family: "Poppins", sans-serif;
  overscroll-behavior: contain;
  overflow: hidden;
  position: fixed;
  top: 0px;
  width: 100%;
}

html, body {
  overflow: hidden;
  overscroll-behavior: contain;
}

#all {
  overflow: hidden;
  position: fixed;
  top: 0px;
  width: 100%;
}

.bold {
  font-weight: 800;
}

header {
  background: #ffffff;
  padding: 5px;
  position: relative;
}

header .instructions-button {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

header .instructions-button img {
  height: 100%;
  width: auto;
}
#logotype {
  font-size: 30px;
  margin: 10px 0px 10px 55px;

  font-size: 40px;
  margin: 5px 0px 5px 55px;

  color: #000000;
  line-height: 1;
  font-weight: 300;
  display: inline-block;
}
#logo {
  position: absolute;
  top: 10px;
  left: 10px;
}

.small #logotype {
  font-size: 25px;
  margin-left: 40px;
}
.small #logo {
  height: 30px;
  top: 5px;
  left: 5px;
}
.small .instructions-button {
  height: 30px;
  top: 5px;
  right: 5px;
}
h2 {
  font-size: 2em;
  margin: 40px 0px;
  text-align: center;
}
p {
  margin: 10px auto;
  font-size: 1em;
}
.center {
  text-align: center;
}

.message-board button {
  margin: 20px;
  padding: 10px 25px;
}

#clue {
  color: #ffffff;
  text-align: center;
  font-size: 25px;
  margin-top: 10px;
  font-weight: 300;
  line-height: 1.25;
}

#timer {
  margin: 20px auto;
  border: 4px solid #ffffff;
  position: relative;
  height: 25px;
}

#timer-bar {
  background: #ffffff;
  position: absolute;
  top: -3px;
  left: 0px;
  width: 0%;
  height: 30px;
}
#timer-bar img {
  width: 20px;
  margin: 5px 0 0 8px;
  background: #000000;
  border-radius: 999px;
}

#win-content {
  position: absolute;
  width: 100%;
  height: 100%;
}

#win-message {
  margin: 0px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  height: 27px;
}

#credit-block {
  position: relative;
  padding: 10px;
  margin: 0px;
  font-size: 1em;
  background-color: #ffffff;
}
#win-message h2 {
  color: #000000;
  text-align: left;
  font-size: 20px;
  margin: 2px 10px;
}
#give-up {
  text-align: center;
  position: absolute;
  width: 100%;
  left: 0px;
  top: -75px;
  display: none;
}
#give-up img {
  display: inline-block;
  height: 55px;
  border-radius: 999px;
  background-color: #000000;
  border: 4px solid #ffffff;
  margin-bottom: 8px;
  cursor: pointer;
}
#give-up h2 {
  font-size: 18px;
  font-weight: bold;
  margin: 0px;
  background: #ffffff;
  padding: 5px;
}
#win-links {
  position: absolute;
  left: 0px;
  bottom: 5px;
  width: 100%;
  height: calc(100% - 45px);

  display: flex;
  justify-content: space-around;
  flex-direction: column;
}
.win-link {
  margin: 5px 10px 5px 0;
  padding: 1px 5px;
  flex: 1 1 0;
  cursor: pointer;
  overflow: hidden;
  background-color: #FFFFFF;
  color: #000000;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 30px;
  position: relative;
}
#win-links img {
  max-height: 30px;
  height: 100%;
  display: inline-block;
  margin-right: 10px;
}
#win-links h4 {
  font-size: 1em;
  color: #000000;
  text-align: left;
}
.small .win-link h4 {
  font-size: 0.8em !important;
}
.small .win-link {
  padding: 0px 2px;
  margin: 2px 5px 3px 0;
}
#win-links img {
  display: inline-block;
}
#clipboard-message {
  position: absolute;
  top: calc(40% - 20px);
  left: calc(50% - 120px);
  width: 240px;
  background: #000000;
  color: #ffffff;
  font-weight: bold;
  padding: 30px 10px;
  font-size: 1em;
  box-sizing: border-box;
  display: none;
  text-align: center;
}

.timer-goal {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 25px;
  border-right: 4px solid #ffffff;
}
.timer-goal h3 {
  text-align: right;
  padding: 5px;
  font-size: 15px;
  color: #ffffff;
}

#stars {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-bottom: 10px;
}

.star {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 0px;
  width: 0px;
  margin: 0 5px;
}

#streak {
  color: #FFFFFF;
  text-align: center;
}
#streak-count {
  font-weight: bold;
}

.button {
  position: absolute;
  color: #ffffff;
  background-color: #000000;
  border: 0px solid #000000;
  padding: 10px 5px;
  font-size: 2em;
  font-weight: 700;
  text-decoration: none;
  display: block;
}

.view {
  width: 90%;
  margin: 0px auto;
  overflow: hidden;
}
#board {
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  border: 4px solid #ffffff;
  background-color: #ffffff;
}

#intro-clue {
  margin: 25px 0;
  font-size: 2em;
}
#subtitle {
  display: block;
  margin-top: 2px;
  font-size: 0.6em;
}

.message-board {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  display: none;
}
.message-board .button {
  position: relative;
}
.message-board p {
  margin: 10px 20px;
  text-align: center;
  line-height: 1.25;
}

.message-board h3 {
  font-weight: bold;
  margin: 10px 20px;
  font-size: 26px;
  text-align: center;
  line-height: 1.25;
}

.message-board .title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  margin: 0px;
  padding: 5px 0px;
}

.message-board .content {
  padding-top: 50px;
}

.message-board .content p {
  margin: 10px 30px;
  text-align: center;
  line-height: 1.25;
  font-size: 1em;
}

.small .message-board .content p {
  margin: 10px 4px;
  text-align: center;
  font-size: 1em;
}

.small .message-board .title {
  display: none !important;
}

#before-message {
  margin-top: 10px;
  overflow: hidden;
  text-align: center;
  background-color: #ffffff;
  border: 4px solid #ffffff;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center center;
}
#before-message h3 {
  margin: 20px 10px 20px 10px;
  text-align: center;
  font-size: 2em;
  font-weight: 800;
}
#before-message .content {
  font-size: 1em;
  margin: 10px 20px;
  line-height: 1.5;
}

#before-message a {
  font-weight: bold;
  text-decoration: underline;
}

#before-button {
  position: relative;
  display: inline-block;
  padding: 10px 25px;
  font-size: 2em;
  margin: 20px 0px;
}
#after-button {
  position: absolute;
  display: block;
  top: 30%;
  left: 20%;
  width: 60%;
  padding: 5px 10px;
  font-size: 2em;
  border: 4px solid #ffffff;
}

.small #after-button, .small #start-button, .small #intro-clue, .small #clue, .small p {
  font-size: 1em;
}

#board > canvas {
  position: absolute;
  top: 0;
  left: 0;
}

#board #paint0 {
  position: static;
}

#pic {
  opacity: 0;
}
#hit {
  opacity: 0;
  mix-blend-mode: darken;
  filter: blur(10px);
}

.view.hidden {
  display: none !important;
}

#detail {
  display: none;
}

footer {
  position: fixed;
  left: 0;
  bottom: 5px;
  width: 100%;
}
footer p {
  color: #ffffff !important;
  font-size: 15px;
  text-align: center;
  margin: 5px auto;
  line-height: 1.3;
}
footer a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
}

#instructions {
  width: 100% !important;
}
#instructions-block {
  background-color: #ffffff;
  padding: 10px;
  margin: 10px auto;
  max-width: 600px;
  overflow: auto;
}
#instructions h2 {
  color: #000000;
  font-size: 26px;
  font-weight: 800;
  margin: 20px;
}
#instructions p {
  color: #000000;
  line-height: 1.3;
  font-size: 15px;
  overflow: hidden;
}

#instructions .button {
  color: #ffffff;
  position: relative;
  display: inline;
  margin: 10px auto;
  display: block;
}
#instructions .button img {
  position: relative;
  top: 5px;
  margin: 0px 10px;
}
#stats {
  box-sizing: border-box;
  overflow: auto;
}

#stats-graph-block {
  background: #ffffff;
  margin: 20px 0px;
  overflow: hidden;
}

#stats h2 {
  color: #000000;
  font-size: 2em;
  margin: 20px 0px 0px 0px;
}
#stats p {
  color: #000000;
  font-size: 1em;
  margin: 10px 20px;
  text-align: center;
  line-height: 1.25;
}

#stats-graph {
  border-bottom: 4px solid #000000;
  border-left: 4px solid #000000;
  display: flex;
  margin: 20px 20px 0px 50px;
  flex-direction: column;
  justify-content: space-evenly;
}

.stats-bar {
  height: 40px;
  background-color: #000000;
  position: relative;
  min-width: 50px;
  margin: 4px 4px;
}

.stats-bar.zero {
  background-color: #ffffff;
}

.stats-label {
  position: absolute;
  top: 8px;
  left: -40px;
  text-align: center;
  width: 25px;
  font-size: 24px;
  color: #000000;
}

.stats-value {
  margin: 8px 10px 0 5px;
  text-align: right;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
}
#stats .button {
  position: relative;
  display: block;
  margin: 40px 40px 20px 40px;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
}

#tester-form {
  position: fixed;
  top: 90px;
  left: 5%;
  width: 90%;
  border: 4px solid black;
  background: #ffffff;
  padding: 20px;
  overflow: auto;
  box-sizing: border-box;
}

#tester-form h2 {
  font-size: 25px;
  font-weight: bold;
  margin: 0px 10px;
}

#tester-form p {
  font-size: 16px;
  margin: 20px 0px;
}

#tester-form .option {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 10px;
  padding-left: 20px;
}

#tester-form textarea {
  font-size: 20px;
  width: 100%;
  height: 70px;
}

#tester-form .button {
  position: relative;
  max-width: 230px;
  margin: 0px auto;
  text-align: center;
  padding: 10px;
  color: #ffffff;
}

.error-marker {
  display: none;
  border-radius: 999px;
  background-color: #000000;
  border: 4px solid #ffffff;
  position: absolute;
}
.error-marker img {
  width: 100%;
}
#puzzle-link {
  display: block;
  margin: 25px auto;
  text-align: center;
  text-decoration: underline;
  font-weight: bold;
}
#loading h2 {
  color: #000000;
  font-size: 2em;
  margin-top: 2em;
  border: none;
  background: none;
}

#rotate-message {
  display: none;
  color: white;
  margin: 50px 20px;
  text-align: center;
}
#rotate-message img {
  display: inline-block;
  height: 5em;
  margin: 10px;
}
.landscape .view {
  display: none !important;
}
.landscape #rotate-message {
  display: block !important;
}

#played a {
    font-weight: bold;
    text-decoration: underline;
}

#after-message {
  display: block;
  background-color: #FFFFFF;
  border: 4px solid black;
  padding: 10px;
  margin: 20px;
}
#after-message h2 {
  text-align: center;
  margin: 10px;
  font-weight: bold;
  font-size:1em;
}

.small #after-message h2 {
  display: none;
}
#after-message p {
  text-align: center;
  font-size:1em;
  margin: 10px
}
#after-message a {
  font-weight: bold;
  text-decoration: underline;
}

.small #after-message p {
  font-size:.8em;
}

#global-modal {
  position: fixed;
  top:0px;
  left:0px;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: #000000;
}
#global-modal .block {
  box-sizing: border-box;
  border: 4px solid black;
  background: white;
  width: 90%;
  max-width: 500px;
  text-align: center;
}
#global-modal h2 {
  margin: 10px;
  font-weight: bold;
}
#global-modal p {
  margin: 10px;
  text-align: center;
  line-height: 1.25;
}
#global-modal button {
  margin: 10px;
  text-align: center;
  position: relative;
  display: inline-block;
  margin: 10px auto;
  min-width: 200px;
}

.notes {
  color: #FFFFFF;
}

.notes a {
  color: #FFFFFF;
  text-decoration: underline;
} 

.notes h3 {
  margin: 30px auto 10px auto;
  max-width: 500px;
  font-weight: bold;
  text-align: center;
  padding: 0px 20px;
}
.notes p {
  margin: 10px auto;
  max-width: 500px;
  margin: 10px auto;
  padding: 0px 20px;
}