/* General styling */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary {
  display: block;
}

audio, canvas, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

a:focus {
  outline: thin dotted;
}

a:active, a:hover {
  outline: 0;
}

h1 {
  font-size: 2em;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: 700;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

code, kbd, pre, samp {
  font-family: monospace, serif;
  font-size: 1em;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}

q {
  quotes: \201C \201D \2018 \2019;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -.5em;
}

sub {
  bottom: -.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: .35em .625em .75em;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}

button, input {
  line-height: normal;
}

button, html input[type=button], input[type=reset], input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled], input[disabled] {
  cursor: default;
}

input[type=checkbox], input[type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

input[type=search] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

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

body, figure {
  margin: 0;
}

legend, button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: '';
  clear: both;
  height: 0;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 125%;
}

body {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  font-family: "Oswald", sans-serif;
  color: #262626;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow-x: hidden;
  background-image: url(./../assets/bg-pattern.png);
}

.flex-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.wrapper {
  max-width: 1200px;
  width: 80%;
  margin: 0 auto;
}

@media (max-width: 500px) {
  .wrapper {
    width: 93%;
  }
}

img {
  display: block;
  width: 100%;
  min-width: 100%;
}

.btn:focus, .btn:active,
input:focus,
input:active {
  -webkit-box-shadow: 3px -3px 15px #a4a4ff, -3px 3px 15px #a4a4ff;
          box-shadow: 3px -3px 15px #a4a4ff, -3px 3px 15px #a4a4ff;
}

p,
ol {
  letter-spacing: .01rem;
}

p,
h1,
h2,
h3 {
  margin: 0;
  display: inline-block;
}

h1,
h2,
h3,
button {
  font-family: "Francois One", sans-serif;
}

h1,
button,
h2 {
  text-transform: uppercase;
  color: #fff;
}

h2 {
  font-weight: 400;
  background-color: #ff8170;
}

button {
  border: 10px solid #a0e7fe;
  padding: 10px 30px;
  background: #ff8170;
  color: #fafafa;
  min-width: 200px;
  font-size: 1.5rem;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  max-width: 90%;
}

button:hover {
  border: 10px solid #a4a4ff;
}

.intro-screen,
.game-field,
.round-result-screen,
.final-result-screen {
  background-color: #fff;
  -webkit-box-shadow: 12px 12px #a0e7fe;
          box-shadow: 12px 12px #a0e7fe;
}

.intro-screen {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 100px auto;
  padding: 0 30px 40px;
}

.intro-screen p,
.intro-screen li {
  font-family: "Oswald", sans-serif;
}

@media (max-width: 550px) {
  .intro-screen {
    margin-bottom: 120px;
  }
}

@media (max-width: 500px) {
  .intro-screen {
    padding: 0 15px 40px;
    margin-right: 10px;
  }
}

.intro-screen p {
  margin-left: 20px;
}

@media (max-width: 500px) {
  .intro-screen p {
    margin-left: 10px;
  }
}

.intro-screen p:first-of-type {
  margin-bottom: 10px;
}

@media (max-width: 400px) {
  .intro-screen p {
    font-size: 0.9rem;
  }
}

.intro-screen .how-to-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 851px) {
  .intro-screen .how-to-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}

.intro-screen .how-to-container .how-to-txt {
  width: 70%;
}

@media (max-width: 851px) {
  .intro-screen .how-to-container .how-to-txt {
    width: 100%;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
}

.intro-screen .how-to-container .how-to-img {
  width: 58%;
  margin-right: -2rem;
}

@media (max-width: 1100px) {
  .intro-screen .how-to-container .how-to-img {
    width: 70%;
    margin-right: -5rem;
  }
}

@media (max-width: 989px) {
  .intro-screen .how-to-container .how-to-img {
    width: 90%;
  }
}

@media (max-width: 851px) {
  .intro-screen .how-to-container .how-to-img {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    width: 100%;
  }
}

.intro-screen h1 {
  text-align: center;
  font-size: 6rem;
  margin-top: -4.2rem;
  margin-bottom: -.5rem;
  background-color: #a4a4ff;
  padding: 0 5%;
  -webkit-box-shadow: 12px 12px #a0e7fe;
          box-shadow: 12px 12px #a0e7fe;
  text-shadow: 5px 3px #3f1d93;
}

@media (max-width: 1350px) {
  .intro-screen h1 {
    margin-bottom: 1rem;
  }
}

@media (max-width: 1150px) {
  .intro-screen h1 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 850px) {
  .intro-screen h1 {
    font-size: 5rem;
    padding: 0 1rem;
  }
}

@media (max-width: 706px) {
  .intro-screen h1 {
    line-height: 1;
    padding: 1rem;
  }
}

.intro-screen h2 {
  font-size: 1.5rem;
  padding: 2px 25px 2px 35px;
  margin: 20px 0 12px -40px;
  display: inline-block;
}

.intro-screen ol {
  margin-top: 0;
}

@media (max-width: 500px) {
  .intro-screen ol {
    padding-left: 30px;
  }
}

.intro-screen ol li {
  list-style: decimal;
  color: #262626;
  font-size: 1rem;
}

@media (max-width: 400px) {
  .intro-screen ol li {
    font-size: 0.9rem;
    margin: 5px 0;
  }
}

.intro-screen ol li span {
  font-weight: 600;
}

.intro-screen button {
  margin-top: -.5rem;
  margin-bottom: -4.2rem;
}

@media (max-width: 1400px) {
  .intro-screen button {
    margin-top: 1rem;
  }
}

@media (max-width: 1150px) {
  .intro-screen button {
    margin-top: 2rem;
    margin-bottom: -3.5rem;
  }
}

@media (max-width: 568px) {
  .intro-screen button {
    margin-top: 1rem;
    margin-bottom: 0;
  }
}

.mobile-guesses {
  display: none;
}

@media (max-width: 1030px) {
  .mobile-guesses {
    position: static;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    max-height: 200px;
    max-width: 70%;
    min-width: 40%;
    -ms-flex-line-pack: center;
        align-content: center;
  }
}

@media (max-width: 400px) {
  .mobile-guesses {
    max-height: 150px;
  }
}

.countdown-screen {
  background-color: #ff8170;
  padding-bottom: 1.2rem;
  z-index: 1;
}

.countdown-screen h2 {
  font-size: 5rem;
}

@media (max-width: 400px) {
  .countdown-screen h2 {
    font-size: 4rem;
  }
}

.round-result-screen,
.final-result-screen {
  padding-bottom: 1.2rem;
}

.round-result-screen p,
.final-result-screen p {
  font-size: 2.4rem;
  font-family: "Francois One", sans-serif;
}

@media (max-width: 550px) {
  .round-result-screen p,
  .final-result-screen p {
    font-size: 1.9rem;
  }
}

@media (max-width: 400px) {
  .round-result-screen p,
  .final-result-screen p {
    font-size: 1.7rem;
  }
}

.round-result-screen h2,
.final-result-screen h2 {
  color: #ff8170;
  background-color: #fff;
  font-size: 3.6rem;
  line-height: 1.15;
}

@media (max-width: 1030px) {
  .round-result-screen h2,
  .final-result-screen h2 {
    width: 60%;
    text-align: center;
    font-size: 2.9rem;
  }
}

@media (max-width: 850px) {
  .round-result-screen h2,
  .final-result-screen h2 {
    width: 100%;
  }
}

@media (max-width: 550px) {
  .round-result-screen h2,
  .final-result-screen h2 {
    font-size: 2.4rem;
  }
}

.final-result-screen .result-msg {
  text-align: center;
  max-width: 60%;
  font-size: 1.2rem;
  margin-top: .5rem;
  margin-bottom: 1.5rem;
}

.round-result-screen p:last-of-type {
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 1.5rem;
}

@media (max-width: 340px) {
  .final-result-screen,
  .round-result-screen {
    margin-top: -80px;
  }
}

.countdown-screen,
.round-result-screen,
.final-result-screen {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.game-play-screen {
  padding-bottom: 30px;
  margin-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 50vh;
  text-align: center;
}

@media (max-width: 325px) {
  .game-play-screen {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    margin-top: 0.5rem;
  }
}

.game-play-screen .game-field {
  position: relative;
  width: 100%;
  margin-top: 20px;
  padding-top: 5rem;
  min-height: 350px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.game-play-screen .user-guesses {
  position: absolute;
  top: 20px;
  left: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  max-height: 320px;
}

@media (max-width: 1030px) {
  .game-play-screen .desktop-guesses {
    display: none;
  }
}

.game-play-screen .play-timer {
  position: absolute;
  top: -30px;
  right: -20px;
}

@media (max-width: 850px) {
  .game-play-screen .play-timer {
    position: absolute;
    top: -20px;
    right: -20px;
  }
}

@media (max-width: 700px) {
  .game-play-screen .play-timer {
    position: absolute;
    top: -30px;
    right: -30px;
  }
}

@media (max-width: 600px) {
  .game-play-screen .play-timer {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    font-size: 2rem;
    position: absolute;
    top: -20px;
    right: -20px;
  }
}

@media (max-width: 400px) {
  .game-play-screen .play-timer {
    width: 70px;
    height: 70px;
    border-radius: 35px;
  }
}

.game-play-screen p {
  margin-top: 10px;
  margin-bottom: .5rem;
  text-transform: uppercase;
  font-family: "Francois One", sans-serif;
}

@media (max-width: 400px) {
  .game-play-screen p {
    margin-top: 5px;
  }
}

.game-play-screen p span {
  font-size: 2rem;
  color: #2E8B57;
}

.game-play-screen label {
  color: #3f1d93;
  display: block;
  font-family: "Francois One", sans-serif;
}

.game-play-screen input {
  border: 0;
  color: #262626;
  background: #a0e7fe;
  padding: 10px;
  margin-top: 10px;
  border: 5px solid #a4a4ff;
}

.game-play-screen h2 {
  margin-top: -8rem;
  font-size: 3rem;
  padding: 0 10px;
  margin-bottom: -.5rem;
  -webkit-box-shadow: 12px 12px #a0e7fe;
          box-shadow: 12px 12px #a0e7fe;
}

@media (max-width: 400px) {
  .game-play-screen h2 {
    font-size: 2.5rem;
    margin-top: -6rem;
  }
}

.game-play-screen h3 {
  font-size: 2.2rem;
  margin-top: 3rem;
  margin-bottom: 15px;
  line-height: 1.2;
}

@media (max-width: 650px) {
  .game-play-screen h3 {
    margin-top: 2.5rem;
  }
}

@media (max-width: 400px) {
  .game-play-screen h3 {
    font-size: 2rem;
    margin-top: 1.5rem;
  }
}

.timer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50px;
  background-color: #262626;
  font-size: 2.8rem;
  color: #FAFAFA;
}

li {
  font-size: 1.3rem;
  color: #ff8170;
  list-style: none;
  text-align-last: left;
  margin-right: 10px;
}

@media (max-width: 500px) {
  li {
    font-size: 1rem;
  }
}

li:before {
  font-family: 'Font Awesome 5 Free';
  display: inline-block;
  margin-right: .4rem;
  font-weight: 900;
}

li.correct {
  color: #2E8B57;
}

li.correct:before {
  content: "\f00c";
}

li.wrong:before {
  content: "\f00d";
}

.hide {
  display: none;
}

.hidden {
  display: none;
}

footer {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #a0e7fe;
  min-height: 44px;
  width: 100%;
  font-size: .8rem;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px;
}

footer p {
  line-height: 2;
  padding: 0 1rem;
}

footer a {
  text-decoration: none;
  padding: 0 5px;
  color: #262626;
  background-color: #a4a4ff;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

footer a:hover {
  background-color: #ff8170;
}

/* === IMAGE CREDITS ===
Wizard image by GraphicMama-team: https://pixabay.com/users/graphicmama-team-2641041/ 
Background pattern edited from www.toptal.com/designers/subtlepatterns/ */
/*# sourceMappingURL=style.css.map */