html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
} */

body {
  background: #ffffff url('../img/geometry2.png');
  font-family: 'Coda', cursive;
}

.text-center {
  text-align: center;
}

.container {

}

h1 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

/*
 * Styles for the deck of cards
 */

.deck {
  width: 660px;
  max-width: 100%;
  /* min-height: 680px; */
  background: linear-gradient(160deg, #02ccba 0%, #aa7ecd 100%);
  padding: 32px;
  border-radius: 10px;
  box-shadow: 0px 1px 3px 0 rgba(46, 61, 73, 0.5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 3em;
}

.deck .card {
  height: 125px;
  width: 125px;
  background: #2e3d49;
  font-size: 0;
  color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 5px 2px 20px 0 rgba(46, 61, 73, 0.5);
}

.deck .card.open {
  transform: rotateY(0);
  background: #02b3e4;
  cursor: default;
}

.deck .card.show {
  font-size: 33px;
}

.deck .card.match {
  cursor: default;
  background: #02ccba;
  font-size: 33px;
}

/*
 * Styles for the Score Panel
 */

.score-panel {
  text-align: left;
  /* float: right; */
  width: 625px;
  margin-bottom: 10px;
  max-width: 100%;
}

.middle-box {
  width: 660px;
  max-width: 100%;
  display: block;
  margin: auto;
}

.score-panel .stars {
  margin: 0;
  padding: 0;
  display: inline-block;
  margin: 0 5px 0 0;
}

.score-panel .stars li {
  list-style: none;
  display: inline-block;
}

.score-panel .restart, .score-panel .hint {
  margin-left: 15px;
  float: right;
  cursor: pointer;
}

#deck {
  padding: 32px;
  /* margin-left: auto; */
  margin-bottom: 5px;
}

@media (max-width: 600px) {
  .deck .card {
    height: 105px;
    width: 105px;
  }
  #deck {
    padding: 32px;
    min-height: inherit;
  }
}

@media (max-width: 487px) {
  .deck .card {
    height: 65px;
    width: 65px;
  }
  #deck {
    padding: 28px;
    min-height: inherit;
  }
}

@media (max-width: 320px) {
  .deck .card {
    height: 50px;
    width: 50px;
  }
  #deck {
    padding: 24px;
    min-height: inherit;
  }
}