@import url("https://fonts.googleapis.com/css2?family=Abel&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  list-style-type: none;
}

body {
  background-color: rgb(65, 65, 65);
  height: 100vh;
  width: 100%;
  font-family: "Abel", sans-serif;
  color: white;
  box-sizing: border-box;
  -webkit-animation: fadeIn 2s;
          animation: fadeIn 2s;
  overflow: hidden;
}

header {
  width: 100%;
  height: 25vh;
  background-color: rgba(139, 0, 0, 0.822);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  display: fixed;
  padding: 10px 0 10px 0;
  border-bottom-left-radius: 30%;
  border-bottom-right-radius: 30%;
}

nav {
  width: 90%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.titleImage {
  width: 90%;
  height: 15vh;
  background-image: url("/assets/images/pokemon-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: 10px 0 0 0;
  padding: 10px 0 10px 0;
}

main {
  width: 100%;
  height: 70vh;
  padding: 20px 10px 10px 10px;
  display: flex;
  justify-content: center;
}

.box {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
}
.box__container {
  width: 100%;
  max-width: 400px;
  max-height: 400px;
  min-height: 300px;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 15px;
  opacity: 1;
  -webkit-animation: fadeIn 2s linear;
          animation: fadeIn 2s linear;
}
.box__container--scene {
  width: 75px;
  height: 75px;
  perspective: 1000px;
  cursor: pointer;
}
.box__container--card {
  width: 75px;
  height: 75px;
  max-width: 140px;
  max-height: 140px;
  aspect-ratio: 1/1;
  background-color: rgba(134, 134, 134, 0.514);
  border-radius: 50%;
  position: relative;
  transition: transform 1s;
  transform-style: preserve-3d;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.box__container--card--front {
  width: 100%;
  height: 100%;
  text-align: center;
  background-image: url("/assets/images/3Dpokeball.png");
  background-position: center;
  background-size: cover;
  background-size: 270%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.377);
  border-radius: 100%;
  position: absolute;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.box__container--card--back {
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.616);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.377);
  border-radius: 100%;
  transform: rotateY(180deg);
  position: absolute;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.wrong {
  box-shadow: 0 0 5px 5px inset rgba(255, 17, 17, 0.747);
  transition: 1s;
}

.correct {
  box-shadow: 0 0 5px 5px inset rgba(79, 255, 73, 0.699);
  transition: 1s;
}

.image {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  padding: 5px;
}

.box__container--card.is-flipped {
  transform: rotateY(180deg);
}

.oak {
  width: 50%;
  height: 25%;
  max-height: 300px;
  max-width: 300px;
  background-image: url("/assets/images/oak.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 20px 40px -12px 0;
  opacity: 1;
  -webkit-animation: fadeIn 2s linear;
          animation: fadeIn 2s linear;
}
.oak--text {
  width: 200px;
  height: 160px;
  background-color: white;
  font-size: 10px;
  color: rgb(46, 46, 46);
  padding: 10px 20px 20px 20px;
  border-radius: 20px;
  position: relative;
  bottom: 65%;
  right: 50%;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeOut {
  100% {
    opacity: 0;
  }
  0% {
    opacity: 1;
  }
}
@keyframes fadeOut {
  100% {
    opacity: 0;
  }
  0% {
    opacity: 1;
  }
}
.fadeOut {
  -webkit-animation: fadeOut 1s linear;
          animation: fadeOut 1s linear;
}

.fadeIn {
  -webkit-animation: fadeIn 1s linear;
          animation: fadeIn 1s linear;
}

.hide {
  display: none;
}

p {
  margin-bottom: 10px;
}

.start {
  font-size: 15px;
  font-weight: bold;
  color: red;
  text-align: center;
  cursor: pointer;
}

.ash {
  width: 50%;
  height: 25%;
  max-height: 300px;
  max-width: 300px;
  background-image: url("/assets/images/ash3.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 20px 40px -12px 0;
}
.ash--text {
  width: 200px;
  height: 160px;
  background-color: white;
  font-size: 10px;
  color: rgb(46, 46, 46);
  padding: 10px 20px 20px 20px;
  border-radius: 20px;
  position: relative;
  bottom: 65%;
  right: 50%;
}

.reset {
  font-size: 15px;
  font-weight: bold;
  color: red;
  text-align: center;
  cursor: pointer;
}/*# sourceMappingURL=pokememory.css.map */