@charset "UTF-8";

html {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  height: 100vh;
}

body {
  background: rgb(15, 100, 10);
  background: linear-gradient(
    90deg,
    hsl(120, 80%, 22%) 0%,
    hsl(120, 50%, 45%) 46%,
    hsl(120, 80%, 22%) 100%
  );
  color: white;
  text-align: center;
}

* {
  box-sizing: inherit;
}

#root {
  display: flex;
  flex-direction: column;
  height: 100%;
}

header {
  padding: 1.5rem 0;
}

header h1 {
  display: flex;
  justify-content: center;
  margin: 0;
}

.char-rotate {
  display: block;
  transform: rotateY(180deg);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: space-between;
  flex-grow: 1;
}

footer {
  width: 100%;
  padding: 20px;
}

a:link,
a:visited {
  color: #ffffff;
}

a:focus,
a:hover,
a:active {
  color: blue;
}

.icon-container {
  display: flex;
  justify-content: center;
  gap: 2em;
}

.icon-container a {
  font-size: 1.5rem;
  text-decoration: none;
  padding-bottom: 0.2em;
}

img {
  max-width: 100%;
}

.feedback-text {
  display: none;
  font-weight: 800;
  text-transform: uppercase;
}

.feedback-text span {
  display: inline-block;
  white-space: nowrap;
  margin-left: -5px;
}

.feedback-text p {
  margin: 0.6rem;
}

.feedback-text span {
  color: #fffb00;
  text-shadow: 2px 2px hsla(0, 0%, 0%, 0.5);
  animation: wave 1.25s 2;
}

.feedback-text span:nth-child(1) {
  animation-delay: 0s;
}

.feedback-text span:nth-child(2) {
  animation-delay: 0.1s;
}

.feedback-text span:nth-child(3) {
  animation-delay: 0.2s;
}

.feedback-text span:nth-child(4) {
  animation-delay: 0.3s;
}

.feedback-text span:nth-child(5) {
  animation-delay: 0.4s;
}

.feedback-text span:nth-child(6) {
  animation-delay: 0.5s;
}

.feedback-text span:nth-child(7) {
  animation-delay: 0.6s;
}

.feedback-text span:nth-child(8) {
  animation-delay: 0.7s;
}

.feedback-text span:nth-child(9) {
  animation-delay: 0.8s;
}

.feedback-text span:nth-child(10) {
  animation-delay: 0.9s;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  align-content: space-between;
  flex-grow: 1;
}

.grow {
  transform: scale(1.4);
}

.reverse-grow {
  transform: scale(1);
}

button {
  background-color: blue;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: .3em;
  border: 1px solid black;
}

button:hover {
  background-color: white;
  color: blue;
  border: 1px solid black;
}

.resetButton {
  display: inline-block;
  cursor: pointer;
  color: white;
  font-size: 3em;
  text-decoration: none;
}

.resetButton:hover {
  transform: rotateZ(30deg);
}

.nextLevelButton { 
  display: inline-block;
  cursor: pointer;
  color: white;
  font-size: 3em;
  text-decoration: none;
}

.resetButton:active {
  position: relative;
  top: 1px;
}

footer button {
  border: none;
  background-color: transparent;
  color: white;
  font-size: 1rem;
}

footer button:hover {
  background-color: transparent;
  border: none;
  color: blue;
  text-decoration: underline;
}
@keyframes wave {
    0% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-20px);
    }
    100% {
      transform: translateY(0px);
    }
  }
.modal-container {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal {
  background-color: whitesmoke;
  color: hsl(0, 0%, 10%);
  margin: auto;
  padding: 20px;
  border: 1px solid black;
  width: 80%;
  max-width: 800px;
  border-radius: 3em;
}

ul {
  display: flex;
  gap: 1em;
  justify-content: center;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a:link,
a:visited {
  color: #ffffff;
  text-decoration: none;
}

a:focus,
a:hover,
a:active {
  text-decoration: underline;
}

form {
  width: 100%;
}

form ul {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

label {
  display: block;
  text-align: left;
  width: 100%;
}

input,
textarea {
  width: 100%;
  max-width: 500px;
  border: none;
  box-shadow: 4px 4px 4px hsla(0, 0%, 20%, 0.4);
  border-radius: 1em;
  padding: 0.6em 1em;
  font: inherit;
}

textarea {
  resize: none;
  height: 6em;
}

input[type="submit"] {
  border: 1px solid black;
  background-color: darkblue;
  color: white;
  width: 50%;
}

input[type="submit"]:hover {
  border: 1px solid black;
  background-color: whitesmoke;
  color: blue;
}

.modal-container button {
  background-color: blue;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: .3em;
  border: 1px solid black;
}

.modal-container button:hover {
  background-color: white;
  color: blue;
  border: 1px solid black;
}

.board-container {
  /* display: flex;
  align-items: center;
  justify-content: center; */
  height: 100%;
}

.flex { 
  display: flex;
}

.flex.center { 
  align-items: center;
  justify-content: center;
}

*,
*:before,
*:after { 
  box-sizing: border-box;
}

.board {
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 8px 8px 16px hsla(0, 0%, 20%, 0.5);
  background-color: hsl(30, 30%, 95%);
  border-radius: 12px;
  padding: 0px 40px 40px 0px;
  width: 96vw; /* needs to be set via media queries */
  max-width: 600px;
  user-select: none; /* Prevent Highlighting */
}

/* resize emoji icon based on parent size, i.e. card width */

.board > div {
  position: absolute;
  will-change: transform, width, height, opacity;
  padding: 3px;
}

.board > div > div {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0px 10px 50px -10px hsla(0, 0, 0, 0.5);
} 

.board-back { 
  display: flex;
  justify-content: center;
  justify-items: center;
  align-content: center;
  align-items: center;
  position: absolute;
  max-width: 500px;
  max-height: 500px;
  width: 350px;
  height: 200px;
  will-change: transform, opacity;
}

.card-container {
  perspective: 1000px;
  /* width: 11.75vw;
  height: 11.75vw; */
  will-change: transform;
}

.card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  transform-style: preserve-3d;
  user-select: none;
  /* border: 1px solid black; */
  border-radius: 12px;
  box-shadow: 0px 10px 50px -10px hsla(0, 0, 0, 0.5);
} 

.card-face,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  /* Safari */
  backface-visibility: hidden;
}

.card-container.flip .card {
  transform: rotateY(180deg);
}

/* Used for quick testing only--commented out otherwise */
/* .flip:hover {
  transform: rotateY(180deg);
} */

.card-face {
  background-color: hsl(0, 100%, 100%);
  transform: rotateY(180deg);
  border-radius: inherit;
}

.card-back {
  background-color: hsl(240, 100%, 50%);
  /* Firefox 31 */
  transform: rotateY(0);
  border-radius: inherit;
}

.card-emoji {
  color: black;
  z-index: 10;
  /* max-width: 1.25em; */
  /* TEMP FIX: CODE BELOW TEMP FIXES MULTIPLE EMOJI OVERLAP BY CUTTING OFF EXCESS EMOJI TEXT */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* .card-back img {
  width: 60%;
}

.card-back::before, .card-back::after {
  content: "";
  position: absolute;
  border: 2px solid white;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.card-back::before {
  width: 80%;
  height: 80%;
  border-radius: 4px;
  top: 2px;
}

.card-back::after {
  width: 78%;
  height: 78%;
  border-radius: 50%;
  top: 6%;
}


.icon-wrapper span:hover {
  font-size: 1.5em;
}
} */

.game-stats {
  width: 100%;
  height: 70px;
  max-width: 530px;
  font-size: 20px;
  margin-bottom: 1em;
  /* flex-grow: 1; */
  justify-self: flex-end;
  padding: 0 .25em;
}

.game-stats ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: .5em;
}

.stat-text {
  font-weight: bold;
}

.game-configs {
  margin-top: 1rem;
}

.game-icons {
  margin-top: 1em;
}

.icon {
  width: 3em;
  height: 3em;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.game-icon:hover {
  background-color: blue;
  border-radius: .3em;
}

.social-icon:hover {
  color: blue;
}

.game-icon svg {
  width: 100%;
}

/*# sourceMappingURL=main.21d4fc873d71de88bfca.css.map*/