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;
}

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

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;
}
#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: 1em;
  font-weight: bold;
  margin: 20px 20px;
  text-align: center;
  color: #ffffff;
}
p {
  margin: 10px 20px;
}
.center {
  text-align: center;
}
b {
  font-weight: bold;
}
.button {
  position: absolute;
  color: #ffffff;
  background-color: #000000;
  border: 0px solid #000000;
  padding: 5px 10px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  font-size: 1em;
}

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

#advanced-options {
  display: none;
  margin: 20px 0px;
  width: 80%;
}

#advanced-options input {
  width: 100%;
  margin: 5px 0px;
  display: block;
}
.admin #advanced-options {
  display: block;
}

.widgetFrame {
  margin: 30px auto;
}

.board {
  margin: 10px auto;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.board canvas {
  position: absolute;
  top: 0px;
  left: 0px;
}
#canvases {
  opacity: 0.6;
  filter: blur(2px);
}

#pic {
  position: absolute;
  top: 0px;
  left: 0px;
}

#upload {
  background: #ffffff;
  position: absolute;
  top: 0px;
  left: 0px;
  text-align: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.medium #upload {
  background-image: none !important;
}

#upload p {
  margin: 5px 20px;
}
.small #upload p {
  margin: 2px 10px;
}

#upload h2 {
  color: #000000;
  margin: 10px 20px;
}
#upload p {
  color: #000000;
  line-height: 1.25;

}

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

#upload-field {
  display: none;
}
#upload-label {
  color: #ffffff;
  background-color: #000000;
  border: 0px solid #000000;
  padding: 5px 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  max-width: 90%;
  margin: 10px;
  line-height: 1.2;
  text-align: center;
}

#hit {
  position: absolute;
  top: 0px;
  left: 0px;
}

.controls {
  background-color: #ffffff;
  margin: 30px auto;
  text-align: center;

}

.controls .button {
  font-size: 1em;
  display: inline-block;
  position: relative;
  padding: 5px 10px;
  margin: 10px 5px;
}

.controls input {
  font-size: 1em;
  padding: 1px 5px;
  border: 4px solid black;
  margin: 10px 5px;

}

.instructions-modal {
  position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  width: 80%;
  background: #FFFFFF;
  border: 4px solid black;
  text-align: center;
}
.instructions-modal p {
  font-size: 1em;
  line-height: 1.25;
}
.instructions-modal .button {
  display: inline-block;
  position: relative;
}

#message {
  background-size: cover;
  background-image: url("../img/themes/bgs/1.jpg");
  position: absolute;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#message-title {
  color: #000;
  padding: 10px;
  margin: 10px 0;
  font-size:1.5em;
  font-weight: bold;
  text-align: center;
  border: none;
  background: transparent;
  width: 80%;
  outline: none;
}
#message-title:focus {
  outline: none;
  border: none;
  box-shadow: none;
}
#message #message-body {
  margin: 10px 0;
  padding: 5px 2px;
  text-align: center;
  border: none;
  background: transparent;
  resize: none;
  height: 100px;
  font-size: 1em;
  width: 80%;
  outline: none;
}
#message #message-body:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

#theme-select img {
  border: 4px solid black;
  width: 15%;
  margin: 2px;
}
#theme-select p {
  font-weight: bold;
}

#confirm {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}
#confirm h2 {
  color: #000000;
  font-size: 2em;
  margin: 0px 20px;
}

#confirm p {
  margin: 20px 40px;
  text-align: center;
}

#confirm a {
  display: block;
  text-align: center;
  font-weight: bold;
}
#clue-field {
  border: 2px solid black;
  padding: 3px 5px;
  min-width: 220px;
  font-size: 1em;
}

.medium #disclaimer {
  font-size: .7em;
}
.small #logotype {
  font-size: 30px;
}

/* Mode-specific styles */
#create-intro, #holiday-intro {
  width: 100%;
}

#create-intro li {
  text-align: left;
  margin-bottom: 3px;
}
#create-intro ul {
  margin: 0px auto;
  display: inline-block;
  text-align: left;
}
#create-intro {
  text-align: center;
}

#create-intro b {
  display: inline-flex;
  background-color: #000000;
  margin-right: 5px;
  border-radius: 999px;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  font-size: 0.9em;
  line-height: 1;
}

/* Hide elements by default */
#message, #message-controls, #confirm {
  display: none;
}

#hit, #hit-controls, #clue-controls {
  display: none;
}