.areaBox {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  gap: 10px
}

h2 {
  font-size: 15px
}

.location-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 160px;
  border: 3px solid white;
  position: relative;
  background-position: center;
  background-size: cover;
  margin: 10px;
  text-shadow: 0 0 3px black, 0 0 3px black, 0 0 3px black, 0 0 3px black, 0 0 3px black, 0 0 3px black, 0 0 3px black, 0 0 3px black, 0 0 3px black, 0 0 3px black, 0 0 3px black, 0 0 3px black, 0 0 3px black, 0 0 3px black
}

.location-grid-item:hover {
  color: #00f;
  cursor: pointer;
  box-shadow: 1px 1px 100px #ffffffb3
}

.right-parent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center
}

.selectedCard {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
  width: 250px;
  height: 300px;
  margin: 10px;
  position: relative;
  border: 3px solid #ccc;
  box-shadow: 1px 1px 20px #ffffffb3
}

.newCard {
  border: 3px solid #ccc;
  padding: 10px;
  text-align: center;
  width: 150px;
  height: 200px;
  margin: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center
}

.newCard:hover {
  box-shadow: 1px 1px 100px #ffffffb3
}

.newCard button {
  position: absolute;
  bottom: 10px;
  display: block;
  margin: unset
}

.newCard p {
  position: absolute;
  bottom: 80px
}

.newCard .stat {
  font-size: 70%
}

.selectedcardStat,
.cardStat {
  display: flex;
  justify-content: space-between;
  margin-top: 10px
}

.selectedcardStat {
  position: relative;
  margin: 0 10px
}

.selectedCard p {
  position: relative;
  padding: 30px;
  font-size: 120%
}

.selectedImgDiv {
  width: 100%;
  height: 180px
}

.selectedImgDiv img {
  max-width: 250px;
  height: 178px
}

.imgDiv img {
  max-width: 150px;
  height: 110px;
  font-size: 70%
}

.imgDiv {
  width: 100%;
  height: 110px
}

button {
  padding: 5px;
  margin: 10px;
  cursor: pointer
}

.fightComponent {
  background-image: url(/pokemon-app-2.0/assets/arena_bg-or5S-ZMY.png);
  opacity: .3;
  background-color: #000;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative
}

.fightDiv {
  position: fixed;
  top: 0
}

.wrapper {
  width: 100vw;
  display: flex;
  justify-content: space-around
}

.one,
.two {
  margin: 0 20px
}

.cardTitle {
  padding: 10px
}

.selectCard {
  border: 1px solid #000000;
  background-color: #242424;
  padding: 10px;
  text-align: center;
  width: 250px;
  height: 300px;
  margin: 10px;
  position: relative;
  border: 3px solid #000000;
  box-shadow: 3px 3px 20px #ff0000d7
}

.selectCard.enemy.swipe {
  animation: swipeRight .5s forwards
}

.selectCard.own.swipe {
  animation: swipeLeft .5s forwards
}

button img {
  width: auto;
  height: 50px;
  padding: 10px
}

.win {
  background: none;
  border: 1px solid white;
  color: #fff;
  padding: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 40px auto
}

.defeatedPokemon {
  padding: 0;
  width: auto;
  height: 90px
}

.control {
  display: flex;
  flex-direction: column;
  align-items: center
}

.fightcardStat {
  display: flex;
  justify-content: space-between;
  margin-top: -5px
}

.selectcardStat {
  position: relative;
  margin: 0 10px
}

.selectCard p {
  position: relative;
  padding: 30px;
  font-size: 120%
}

.selectImgDiv {
  width: 100%;
  height: 180px
}

.selectImgDiv img {
  max-width: 250px;
  height: 178px
}

.cardStat {
  position: absolute;
  bottom: 45px;
  margin: 0 5px
}

.winnerCard {
  border: 1px solid #000000;
  background-color: #242424;
  padding: 10px;
  text-align: center;
  width: 350px;
  height: 400px;
  margin: 20px auto;
  position: relative;
  border: 3px solid #000000;
  box-shadow: 3px 3px 20px #ffffffd7
}

.winnerCard .pokeHP {
  margin: 20px 0
}

.winnerCard>p {
  font-size: 150%
}

.winnerImgDiv {
  width: 100%;
  height: 250px
}

.winnerImgDiv img {
  max-width: 350px;
  height: 225px
}

.winnerCardStat {
  display: flex;
  justify-content: space-evenly;
  margin-top: 25px
}

.stat {
  display: flex;
  flex-direction: column
}

.startFight:hover:not(:disabled) {
  background-color: red;
  box-shadow: 3px 3px 20px #ff0000d7
}

@keyframes swipeLeft {
  0% {
    transform: translate(0)
  }

  to {
    transform: translate(-100%)
  }
}

@keyframes swipeRight {
  0% {
    transform: translate(0)
  }

  to {
    transform: translate(100%)
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: 0;
  font-family: inherit
}

#root {
  text-align: center
}

h1 {
  color: #fff;
  margin: 0 0 20px;
  padding: 20px;
  display: flex;
  justify-content: center
}

h2 {
  margin: 20px 0;
  display: flex;
  justify-content: center
}

button {
  background-color: #f0f8ff;
  color: #242424
}

button:hover:not(:disabled) {
  background-color: #c8cbcd
}

button:disabled {
  background-color: #fefefe23;
  cursor: default
}

.left-parent {
  display: flex;
  justify-content: center;
  align-items: center
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(.5, 0, .5, 1) infinite;
  transform-origin: 40px 40px
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin: -4px 0 0 -4px
}

.lds-roller div:nth-child(1) {
  animation-delay: -36ms
}

.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px
}

.lds-roller div:nth-child(2) {
  animation-delay: -72ms
}

.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px
}

.lds-roller div:nth-child(3) {
  animation-delay: -.108s
}

.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px
}

.lds-roller div:nth-child(4) {
  animation-delay: -.144s
}

.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px
}

.lds-roller div:nth-child(5) {
  animation-delay: -.18s
}

.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px
}

.lds-roller div:nth-child(6) {
  animation-delay: -.216s
}

.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px
}

.lds-roller div:nth-child(7) {
  animation-delay: -.252s
}

.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px
}

.lds-roller div:nth-child(8) {
  animation-delay: -.288s
}

.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px
}

@keyframes lds-roller {
  0% {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

.row {
  display: flex;
  flex-wrap: wrap
}

.column1,
.column2,
.column3 {
  flex: 1;
  padding: 10px
}

.column2 {
  display: flex;
  flex-direction: column;
  align-items: center
}

@media screen and (max-width: 768px) {
  .row {
    justify-content: center
  }

  .column1,
  .column2,
  .column3 {
    flex: 100%
  }
}

:root {
  font-family: "Press Start 2P", system-ui;
  color-scheme: light dark;
  color: #ffffffde;
  background-color: #242424
}