/*
RESET
*/
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;
}

button {
  border: none;
  outline: none;
  margin: 0;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  font-size: calc(14px + (20 - 14) * ((100vw - 1200px) / (2000 - 1200)));
}

.container .overlay .modal form button, .container .game-area .player-answer button, .container .interface-area .game-new {
  padding: 1rem 1.75rem;
  font-size: 2.5rem;
  color: white;
  background: #010101;
  border: 4px solid #94FEED;
  font-family: 'VT323', monospace;
}

.container .overlay .modal form button:hover, .container .game-area .player-answer button:hover, .container .interface-area .game-new:hover {
  background: #d02751;
  cursor: pointer;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'VT323', monospace;
  background: #747474;
}

main {
  background: #747474;
}

header {
  background: #010101;
  height: 20vh;
  min-height: 150px;
  max-height: 250px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-direction: column;
      flex-direction: column;
}

header h1 {
  font-size: 5rem;
  color: #d02751;
  padding-bottom: 6px;
  text-align: center;
}

header .game-end {
  text-align: center;
  color: #EDC472;
  font-size: 2rem;
}

.container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column-reverse;
      flex-direction: column-reverse;
  max-width: 1500px;
  margin: 0 auto;
}

.container .overlay {
  display: none;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
}

.container .overlay.show {
  display: -ms-flexbox;
  display: flex;
}

.container .overlay .modal {
  padding: 25px 0;
  width: 100%;
  margin: 0 10px;
  background: #010101;
  border: 8px solid #94FEED;
  display: none;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
  text-transform: uppercase;
  position: relative;
}

.container .overlay .modal h4 {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #d02751;
  font-size: 1.5rem;
  font-weight: 700;
}

.container .overlay .modal h4:hover {
  cursor: pointer;
  color: #94FEED;
}

.container .overlay .modal h2 {
  font-size: 4.25rem;
  color: #d02751;
}

.container .overlay .modal p {
  color: #EDC472;
  font-size: 1.5rem;
}

.container .overlay .modal p:first-of-type {
  padding-bottom: 25px;
}

.container .overlay .modal p.close-modal-press {
  padding-top: 25px;
  padding-bottom: 0;
  animation: .5s click-to-continue infinite;
}

@keyframes click-to-continue {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.container .overlay .modal form {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-pack: center;
      justify-content: center;
}

.container .overlay .modal form label {
  color: #EDC472;
  font-size: 1.75rem;
  padding: 20px 0 10px 0;
}

.container .overlay .modal form input {
  line-height: 1.5;
  font-size: 1.5rem;
  padding: .5rem 1.25rem;
  width: 250px;
  background: #010101;
  border: 2px solid #94FEED;
  color: white;
  font-family: 'VT323', monospace;
  text-transform: uppercase;
}

.container .overlay .modal form input[type=number]::-webkit-inner-spin-button, .container .overlay .modal form input[type=number]::-webkit-outer-spin-button {
  opacity: 0;
}

.container .overlay .modal form p {
  position: absolute;
}

.container .overlay .modal form button {
  width: 60%;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  margin: 40px 0 20px 0;
  padding: .75rem 2.5rem;
  font-size: 1.75rem;
}

.container .overlay .modal .score-table-wrapper {
  max-height: 300px;
  overflow-y: scroll;
}

.container .overlay .modal .score-table-wrapper::-webkit-scrollbar {
  width: 20px;
  background: #d02751;
}

.container .overlay .modal .score-table-wrapper::-webkit-scrollbar-track {
  border: 2px solid #d02751;
}

.container .overlay .modal .score-table-wrapper::-webkit-scrollbar-thumb {
  background: #010101;
  border: 2px solid #d02751;
  border-left: none;
}

.container .overlay .modal .score-table-wrapper table {
  border: 2px solid #d02751;
  border-right: none;
}

.container .overlay .modal .score-table-wrapper table th, .container .overlay .modal .score-table-wrapper table td {
  line-height: 1.8;
  width: 100px;
  font-size: 1.25rem;
  text-align: center;
  color: white;
}

.container .overlay .modal .score-table-wrapper table th:nth-child(2), .container .overlay .modal .score-table-wrapper table th:nth-child(3), .container .overlay .modal .score-table-wrapper table td:nth-child(2), .container .overlay .modal .score-table-wrapper table td:nth-child(3) {
  width: 145px;
}

.container .overlay .modal .score-table-wrapper table th.winner, .container .overlay .modal .score-table-wrapper table td.winner {
  background: #d02751;
}

.container .overlay .modal.show {
  display: -ms-flexbox;
  display: flex;
}

.container .game-area {
  padding: 40px 10px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: center;
      align-items: center;
}

.container .game-area .comp {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  padding-bottom: 5rem;
  padding-top: 1.5rem;
}

.container .game-area .comp .comp-answer {
  width: 250px;
  height: 250px;
  border: 8px solid #94FEED;
  background: #010101;
  color: white;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  font-size: 70px;
}

.container .game-area .comp .comp-answer div.move {
  color: #d02751;
  position: relative;
  animation: screensaver 5s linear infinite;
}

@keyframes screensaver {
  0% {
    left: 33.5%;
    bottom: 25%;
  }
  20% {
    left: -5%;
    bottom: 40%;
  }
  47% {
    left: -36%;
    bottom: 4%;
  }
  73% {
    left: 10%;
    bottom: -36%;
  }
  100% {
    left: 33.5%;
    bottom: 25%;
  }
}

.container .game-area .comp img {
  height: 300px;
  width: auto;
  padding-right: 60px;
  display: none;
}

.container .game-area h2 {
  padding-bottom: 3.75rem;
  text-align: center;
  font-size: 3.5rem;
  color: #EDC472;
}

.container .game-area .player-answer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: space-evenly;
      justify-content: space-evenly;
  width: 100%;
}

.container .interface-area {
  background: #006332;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  padding: 2.5rem 1.75rem;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
}

.container .interface-area .output {
  display: none;
  height: 350px;
  width: 100%;
  background: #010101;
  overflow-y: scroll;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0 25px;
  color: white;
  margin-bottom: 2.5rem;
}

.container .interface-area .output::-webkit-scrollbar {
  width: 20px;
  background: #010101;
}

.container .interface-area .output::-webkit-scrollbar-thumb {
  background: white;
}

.container .interface-area .score {
  font-size: 5.75rem;
  color: white;
  margin-right: 10vw;
  text-align: center;
  color: #EDC472;
}

footer {
  background: #006332;
  padding: 10px;
  color: white;
  font-size: 1.5rem;
  text-align: center;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}

@media (min-width: 1024px) {
  .container {
    -ms-flex-direction: row;
        flex-direction: row;
    height: 80vh;
    min-height: calc(100vh - 250px);
    max-height: calc(100vh - 150px);
  }
  .container .overlay .modal {
    padding: 25px 50px;
    width: auto;
  }
  .container .overlay .modal form input {
    width: 400px;
  }
  .container .game-area {
    width: 66%;
  }
  .container .game-area .comp img {
    display: block;
  }
  .container .interface-area {
    width: 34%;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-pack: start;
        justify-content: flex-start;
  }
  .container .interface-area .output {
    display: block;
  }
  .container .interface-area .score {
    width: 100%;
    margin: 0;
    padding-bottom: 2.5rem;
  }
}
/*# sourceMappingURL=style.css.map */