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

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:after, blockquote:before, q:after, q:before {
  content: '';
  content: none;
}

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

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

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

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

audio, canvas, video {
  display: inline-block;
  max-width: 100%;
}

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

[hidden] {
  display: none;
}

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

a:focus {
  outline: thin dotted;
}

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

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}

figure {
  margin: 0;
}

form {
  margin: 0;
}

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

legend {
  border: 0;
  padding: 0;
  white-space: normal;
}

button, input, select, textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
}

button, input {
  line-height: normal;
}

button, select {
  text-transform: none;
}

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

button[disabled], html 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;
}

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

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

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

button, html, input, select, textarea {
  color: #222;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

img {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.chromeframe {
  margin: .2em 0;
  background: #ccc;
  color: #000;
  padding: .2em 0;
}

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

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

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

description
.visuallyHidden:not(:focus):not(:active) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0);
  overflow: hidden;
}

html {
  font-size: 62.5%;
  padding: 0;
  margin: 0;
}

body {
  font-size: 2.3rem;
  line-height: 3rem;
  letter-spacing: 0.2rem;
  background-image: url(`../../../assets/dariuszSankowskiMapUnsplash.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
}

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

.blueColon {
  color: #0024e6;
  text-shadow: black 3px 3px 10px;
}

.numberColor {
  color: #ffd900;
}

.goldVariable {
  color: #ffd900;
  text-shadow: black 3px 3px 10px;
}

.islandSearched {
  color: #fc0000;
  text-shadow: black 3px 3px 10px;
}

.gameRules,
.gameInfo,
.islandGrid {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 0 20px;
  margin-top: 50px;
}

.updatedGameInfo,
.playAgainButtonBox {
  background-color: rgba(0, 0, 0, 0.7);
  padding-bottom: 50px;
}

.updatedGameInfo p {
  color: #ffd900;
  text-align: center;
}

fieldset,
.playAgainButtonBox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

body {
  font-family: 'Bree Serif', serif;
}

h1
h2 {
  font-family: 'Pirata One', cursive;
}

h1,
h2 {
  color: #ffd900;
  text-shadow: black 1px 1px 10px;
  padding: 10px 0;
}

h1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 7rem;
  padding-bottom: 30px;
  line-height: 7rem;
}

h2 {
  font-size: 3.5rem;
}

header .gameRules {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 50px 50px;
}

header div p {
  color: #e3e3e3;
  text-shadow: black 3px 3px 10px;
  padding: 20px 0;
}

input[type="text"] {
  border: #ffd900;
  max-width: 250px;
  padding: 10px;
}

input[type="submit"],
input[type="button"],
input::-webkit-input-placeholder {
  color: #0024e6;
  background-color: #e9e9e9;
  border: #ffd900;
}

input[type="submit"],
input[type="button"],
input:-ms-input-placeholder {
  color: #0024e6;
  background-color: #e9e9e9;
  border: #ffd900;
}

input[type="submit"],
input[type="button"],
input::-ms-input-placeholder {
  color: #0024e6;
  background-color: #e9e9e9;
  border: #ffd900;
}

input[type="submit"],
input[type="button"],
input::placeholder {
  color: #0024e6;
  background-color: #e9e9e9;
  border: #ffd900;
}

input[type="submit"] {
  padding: 0 10px;
}

.islandButtons {
  padding: 50px;
}

.islandButtonsIcon1,
.islandButtonsIcon2,
.islandButtonsIcon3 {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.islandButtonsIcon1 {
  background-image: url(`../../../assets/islandIconCyan.png);
}

.islandButtonsIcon2 {
  background-image: url(`../../../assets/islandIconPink.png);
}

.islandButtonsIcon3 {
  background-image: url(`../../../assets/islandIconGreen.png);
}

.playAgainButton {
  padding: 10px;
}

input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="button"]:hover,
input[type="button"]:focus {
  color: black;
  background-color: #ffd900;
}

input[type="submit"]:active,
input[type="button"]:active {
  color: #fc0000;
  background-color: #0024e6;
}

form input,
.gameInfo li {
  padding: 10px 0;
}

.gameInfo,
.islandGrid,
.islandGrid li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.gameInfo {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 50px;
}

.gameInfo li {
  padding: 20px 0;
  width: calc(100% / 3);
}

.gameInfo p,
.updatedGameInfo p {
  color: #e3e3e3;
  text-shadow: black 3px 3px 10px;
  min-width: 300px;
}

.islandGrid li {
  margin: 50px 30px;
}

.islandButtons {
  padding: 140px;
}

.updatedGameInfo {
  padding: 0 0 50px 0;
}

.islandSearched {
  padding-top: 15px;
}

.treasureImg {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 50px 0;
}

footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  font-size: 3rem;
}

footer p {
  color: #ffd900;
  text-shadow: black 1px 1px 10px;
  padding: 50px 0;
}

@media (max-width: 1000px) {
  h1,
  footer p {
    text-align: center;
  }
  footer p {
    font-size: 2rem;
  }
}

@media (max-width: 642px) {
  input[type="text"] {
    width: 200px;
    height: 50px;
  }
  input[type="submit"] {
    padding: 10px;
  }
}

@media (max-width: 579px) {
  input[type="text"] {
    margin-top: 20px;
    width: 100%;
  }
  input[type="submit"] {
    padding: 10px;
    margin-top: 40px;
  }
  .gameInfo p {
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 6rem;
  }
  h2 {
    font-size: 2.8rem;
  }
  .gameInfoWrapper {
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
  }
}
