#battle-lower {
  margin: 0;
  position: absolute;
  top: 80%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#hand {
  padding-top: 13px;
  display: flex;
  width: 1300px;
  height: 200px;
  justify-content: center;
  border-radius: 10px;
  border-style: solid;
  border-width: 5px;
  border-color: white;
  background-image: url("/art/other/transp.png");
}

#enemies {
  display: flex;
  flex-direction: row;
  position: absolute;
  left: 440px;
  top: 100px;
  width: 1000px;
}

.enemyname {
  background-color: rgb(216, 187, 216);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin-bottom: 5px;
}

.enemystats {
  background-color: rgb(223, 213, 228);
  margin-bottom: 5px;
}

.enemy-info {
  border: 3px solid #7a6ce0;
  color: #7a6ce0;
  border-radius: 10px;
  padding: 5px;
  width: 150px;
  position: absolute;
  top: 160px;
  background-color: white;
  font-family: nasalization;
  opacity: 0.9;
  z-index: 2;
}

[owner="player"] .effectHover {
  top: 0px;
  left: 170px;
}

[owner="enemy"] .effectHover {
  top: 0px;
  left: 180px;
}

.effectHover {
  position: absolute;
  width: 100px;
  border: 3px solid #7a6ce0;
  color: #655ab4;
  border-radius: 10px;
  background-color: rgb(231, 219, 243);
  padding: 10px;
  font-size: 14px;
}

.effect {
  background-color: #d5ccee;
  color: #5c4ec2;
  margin-top: 5px;
  margin-bottom: 5px;
}

.effect .effectHover {
  visibility: hidden;
}

.effect:hover .effectHover {
  visibility: visible;
}

.effect:hover {
  background-color: #c0b3e2;
}

.enemyimg {
  height: 600px;
  padding-bottom: 20px;
}

.charimg {
  position: absolute;
  left: -70px;
  top: -10px;
  height: 650px;
}

@keyframes char-anim {
  0% {
    top: 10px;
  }
  50% {
    top: 40px;
  }
  100% {
    top: 10px;
  }
}

.enemyimg:hover {
  filter: contrast(1.2);
}

.enemybtn {
  width: 380px;
  height: 600px;
  background-color: Transparent;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  overflow: visible;
  outline: none;
  padding: 0px;
  z-index: 1;
}

#character {
  position: absolute;
  left: 100px;
  top: 100px;
}

#stamina {
  width: 40px;
  height: 40px;
  background-color: rgb(234, 225, 255);
  border: 3px solid #7a6ce0;
  border-radius: 10px;
  font-size: 40px;
  position: absolute;
  top: 400px;
  left: 110px;
  color: #7a6ce0;
  text-align: center;
  padding-bottom: 5px;
  z-index: 5;
}

#items {
  position: absolute;
  background-color: white;
  width: 500px;
}

.card {
  width: 150px;
  height: 180px;
  background-color: white;
  margin-left: 10px;
  border-radius: 6px;
  border-style: solid;
  border-width: 3px;
  border-color: rgb(112, 86, 160);
  font-family: nasalization;
  box-shadow: 8px 9px 2px -3px #1f1f4b;
  color: #40387c;
  position: relative;
}

.cardHover {
  background-color: #c0b3e2;
}

.cardHover {
  visibility: hidden;
}

.card:hover .cardHover {
  visibility: visible;
}

.cardHover {
  position: absolute;
  top: -100px;
}

.cardcontent {
  position: absolute;
  display: block;
  top: 0px;
  width: 122px;
  margin: 5px;
}

.cardcontent p {
  margin-bottom: 5px;
  margin-top: 5px;
}

.cardname {
  background-color: #c5bdf1;
  padding: 2px;
  margin-bottom: 5px;
}

.cardcost {
  color: white;
  background-color: rgb(170, 138, 212);
  margin-bottom: 5px;
}

.charspecificstats {
  border: 3px solid #7a6ce0;
  color: #7a6ce0;
  border-radius: 10px;
  padding: 10px;
  width: 130px;
  position: absolute;
  top: 70px;
  left: 10px;
  background-color: rgb(231, 219, 243);
  z-index: 5;
}

#effectApplied {
  z-index: 20;
  background-size: contain;
  width: 1505px;
  height: 730px;
  position: absolute;
  z-index: 9;
  overflow: hidden;
  opacity: 0;
  display: none;
  top: 0px;
  padding-top: 100px;
  flex-direction: column;
  background-image: url("/art/other/innerglowbg.png");
}

.badEffectAppliedDiv {
  width: 1505px;
  height: 75px;
  background-color: rgb(226, 30, 30);
  font-size: 60px;
  z-index: 21;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.goodEffectAppliedDiv {
  width: 1505px;
  height: 75px;
  background-color: rgba(149, 108, 204, 0.918);
  font-size: 60px;
  z-index: 21;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.enemyEffectApplied {
  width: 380px;
  height: 300px;
  z-index: 1;
  position: absolute;
  flex-direction: column;
}

.enemyEffectApplied .badEffectAppliedDiv {
  width: 380px;
  height: 20px;
  background-color: rgb(226, 30, 30);
  font-size: 20px;
  z-index: 21;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 5px;
  margin-top: 5px;
  margin-bottom: 10px;
  font-family: nasalization;
}

.enemyEffectApplied .goodEffectAppliedDiv {
  width: 380px;
  height: 20px;
  background-color: rgba(149, 108, 204, 0.918);
  font-size: 20px;
  z-index: 21;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 5px;
  margin-top: 5px;
  margin-bottom: 10px;
  font-family: nasalization;
}

#shield {
  position: absolute;
  width: 500px;
  left: 500px;
  top: 100px;
  z-index: 5;
  display: none;
}

#circularSlash {
  position: absolute;
  width: 400px;
  left: 20px;
  top: 200px;
  z-index: 5;
  display: none;
}

.enemyEffectImg {
  width: 380px;
  height: 300px;
  z-index: 3;
  position: absolute;
  display: none;
  flex-direction: column;
  justify-content: space-evenly;
}

.enemyslash {
  /* position: absolute;
  top: 100px;
  left: -30px; */
  z-index: 3;
  height: 200px;
  opacity: 1;
  margin-bottom: -50px;
}

.enemyhpbar {
  height: 17px;
  background-color: rgb(255, 126, 126);
  margin-bottom: 10px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.enemyhp {
  font-size: 15px;
  position: absolute;
  left: 55px;
  color: rgb(124, 0, 0);
}

.enemyblockicon {
  width: 35px;
  left: -10px;
  top: -6px;
  position: absolute;
}

.enemyblock {
  width: 35px;
  font-size: 22px;
  left: -10px;
  top: 0px;
  position: absolute;
  color: white;
}

#characterstats {
  border: 3px solid #7a6ce0;
  color: #7a6ce0;
  border-radius: 10px;
  padding: 5px;
  width: 150px;
  background-color: white;
  position: absolute;
  left: -70px;
  top: 140px;
  z-index: 2;
}

.charhpbar {
  height: 17px;
  background-color: rgb(255, 126, 126);
  padding-top: 2px;
  padding-bottom: 2px;
}

.charhp {
  font-size: 15px;
  position: absolute;
  left: 55px;
  color: rgb(124, 0, 0);
}

.charblockicon {
  width: 40px;
  left: -10px;
  top: -10px;
  position: absolute;
}

.charblock {
  width: 35px;
  font-size: 22px;
  left: 2px;
  top: 0px;
  position: absolute;
  color: white;
}

button[category="Attack"] .cardname {
  background-color: #fda9da;
}

button[category="Power"] .cardname {
  background-color: #a9d4fd;
}

button[category="Affliction"] .cardname {
  background-color: #dbdbdb;
}
