@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@100..900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Teko:wght@300..700&display=swap');

body {
  overflow: hidden;
  padding: 0;
  margin: 0;
  background-image: url(../assets/wood_bg.jpg);
}

.main {
  height: 1000px;
  position: relative;
  perspective: 800px;
  overflow: hidden;
  perspective-origin: center;
}

.img-map {
  position: absolute;
  transform-style: preserve-3d;
  transform: rotateX(45deg);
  translate: 0px -100px;
  height: 850px;
  z-index: -1;
  transition: transform 0.4s ease;
}

.hero {
  position: fixed;
  top: 280px;
  left: 360px;
  max-width: 100%;
  width: 190px;
  z-index: 20;
  transition: top 0.5s ease, left 0.5s ease;
}

.hero-text {
  position: fixed;
  top: 398px;
  left: 368px;
  z-index: 20;
  color: white;
  background-color: #333;
  width: 100px;
  height: 40px;
  text-align: center;
  border-radius: 10px;
  font-weight: bold;
  font-family: 'Teko';
  line-height: 13px;
  margin: 0 auto;
  /* padding-top: 15px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.level {
  color: yellow;
  font-size: 11px;
}

/* champs: */

.galek {
  position: fixed;
  top: 90px;
  left: 490px;
  max-width: 100%;
  width: 220px;
  z-index: 20;
  cursor: pointer;
}

.zargala {
  position: fixed;
  top: 170px;
  left: 690px;
  max-width: 100%;
  width: 220px;
  z-index: 20;
  cursor: pointer;
}

.alure {
  position: fixed;
  top: 280px;
  left: 520px;
  max-width: 100%;
  width: 220px;
  z-index: 20;
  cursor: pointer;
}

.talia {
  position: fixed;
  top: 300px;
  left: 270px;
  max-width: 100%;
  width: 220px;
  z-index: 20;
  cursor: pointer;
}

.luthiea {
  position: fixed;
  top: 430px;
  left: 380px;
  max-width: 100%;
  width: 220px;
  z-index: 20;
  cursor: pointer;
}

.champions p {
  transition: font-weight 0.1s ease;
}

.champions p:hover {
  font-weight: bold;
}

.stops-div {
  position: relative;
  z-index: 1;
}

.stops {
  z-index: 10;
  position: fixed;
  top: 150px;
  left: 440px;
  max-width: 1200px;
}

.arrow {
  z-index: 10;
  position: fixed;
  top: 102px;
  left: 964px;
  width: 38px;
  animation: jump 1s ease-in-out infinite;
  display: none;
}

/* test */
.hp-bar,
.hp-bar-g {
  position: fixed;
  top: 256px;
  left: 381px;
  z-index: 20;
  width: 70px;
  height: 10px;
  background-color: #333;
  border: 2px solid #555;
  border-radius: 15px;
  overflow: hidden;
}

.hp1 {
  position: fixed;
  top: 142px;
  left: 735px;
}

.hp2 {
  position: fixed;
  top: 352px;
  left: 704px;
}

.hp3 {
  position: fixed;
  top: 326px;
  left: 985px;
}

.hp4 {
  left: 1208px;
  top: 122px;
}

.hp5 {
  left: 1239px;
  top: 403px;
}

.hpf {
  left: 1487px;
  top: 193px;
}

.hp-fill {
  width: 100%;
  /* Adjust percentage to change HP level */
  height: 100%;
  background: linear-gradient(90deg, #00ff22, #25ea1a);
  border-radius: 15px;
  animation: pulse 0.5s infinite;
}

.hp-enemy {
  width: 100%;
  /* Adjust percentage to change HP level */
  height: 100%;
  background: linear-gradient(90deg, #eb2b04, #ea1a1a);
  border-radius: 15px;
  /* animation: pulse 0.8s infinite; */
}

@keyframes pulse {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.3);
  }
}

/* end */

@keyframes jump {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes delayCursor {
  0% {
    cursor: default;
  }

  99% {
    cursor: default;
  }

  100% {
    cursor: not-allowed;
  }
}

.attacking {
  /* animation: glow 0.5s infinite alternate, shake 0.2s infinite alternate; */
  animation: glow 0.5s infinite alternate;
  filter: brightness(1.5) saturate(1.8);
  transition: filter 0.3s ease-in-out;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 5px rgb(106, 0, 255));
  }

  to {
    filter: drop-shadow(0 0 15px rgb(255, 68, 0));
  }
}

@keyframes shake {
  from {
    transform: translateX(-4px);
  }

  to {
    transform: translateX(4px);
  }
}

.up {
  z-index: 13;
  position: fixed;
  max-width: 900px;
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: none;
  top: 260px;
  left: 600px;
  animation: delayCursor 0.3s forwards;
  /* Adjust the delay here */
}

.hero-btn {
  background-color: red;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.up-1 {
  top: 170px;
  left: 730px;
  height: 65px;
  width: 65px;
}

.enemy-1 {
  position: fixed;
  top: 147px;
  left: 683px;
  z-index: 12;
  width: 190px;
}

.enemy-2 {
  position: fixed;
  top: 373px;
  left: 656px;
  z-index: 12;
  width: 190px;
}

.enemy-3 {
  position: fixed;
  left: 933px;
  top: 334px;
  z-index: 12;
  width: 204px;
}

.enemy-4 {
  position: fixed;
  left: 1160px;
  top: 96px;
  z-index: 12;
  width: 204px;
}

.enemy-5 {
  position: fixed;
  left: 1182px;
  top: 422px;
  z-index: 12;
  width: 204px;
}

.enemy-f {
  position: fixed;
  top: 167px;
  left: 1438px;
  z-index: 12;
  width: 208px;
}

.alert {
  z-index: 13;
  position: fixed;
  left: 0;
  right: -922px;
  margin: auto;
  bottom: 564px;
  width: 200px;
  font-size: 27px;
  text-align: center;
  color: rgb(74, 73, 73);
  height: 50px;
}

@keyframes blink-border {
  0% {
    border-color: rgb(255, 215, 0);
    /* צבע התחלה */
  }

  50% {
    border-color: transparent;
    /* צבע באמצע האנימציה (מסגרת שקופה) */
  }

  100% {
    border-color: rgb(255, 215, 0);
    /* צבע בסוף האנימציה */
  }
}

.up-2 {
  top: 153px;
  left: 1205px;
  width: 65px;
  height: 65px;
  z-index: 15;
  border: none;
}

.mid {
  left: 982px;
  top: 353px;
  height: 65px;
  width: 65px;
}

.final {
  top: 223px;
  left: 1485px;
  width: 65px;
  height: 65px;
  z-index: 13;
  border-radius: 50%;
  width: 150px;
}

.down-1 {
  top: 375px;
  left: 698px;
  height: 65px;
  width: 65px;
}

.glow {
  border: 3px solid rgb(255, 215, 0);
  animation: blink-border 1s infinite;
  cursor: pointer;
  border-radius: 50%;
  width: 70px;
  /* Adjust size as needed */
  height: 70px;
}

.glow::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 80px;
  /* Slightly larger than the main circle */
  height: 80px;
  border: 3px solid rgb(255, 215, 0);
  border-radius: 50%;
  animation: blink-border 1s infinite;
  opacity: 0.5;
  /* Slightly dimmer than the inner circle */
}

.glow-final {
  border-bottom: 7px solid red;
  animation: blink-border 1s infinite;
  cursor: pointer;
}

.x-mark {
  background-image: url(../assets/img/x.png);
  background-position: center;
  background-repeat: no-repeat;
  width: 65px;
  height: 65px;
}

.down-2 {
  top: 435px;
  left: 1242px;
  z-index: 15;
}

/* .scroll {
  z-index: 10;
  position: fixed;
  top: 70px;
  right: -10px;
  width: 610px;
  margin: auto;
} */

.scroll {
  z-index: 13;
  position: fixed;
  left: 0;
  right: -952px;
  margin: auto;
  width: 610px;
  bottom: 120px;
}

.header {
  z-index: 13;
  position: fixed;
  left: 0;
  right: -922px;
  margin: auto;
  bottom: 730px;
  width: 200px;
}

.chluk {
  z-index: 13;
  position: fixed;
  left: 0;
  right: -922px;
  margin: auto;
  bottom: 480px;
  margin-bottom: 20px;
}

.text {
  z-index: 13;
  position: fixed;
  left: 0;
  right: -922px;
  margin: auto;
  bottom: 441px;
  width: 300px;
  font-size: 27px;
  text-align: center;
  color: rgb(74, 73, 73);
}

.text-2 {
  bottom: 590px;
  font-size: 25px;
}

.champions {
  line-height: 3px;
  font-size: 25px;
  text-transform: capitalize;
}

.champions p {
  cursor: pointer;
}

.promo-text {
  z-index: 13;
  position: fixed;
  left: 0;
  right: -922px;
  margin: auto;
  bottom: 370px;
  width: 200px;
  font-size: 15px;
  text-align: center;
  font-weight: bold;
  color: rgb(34, 32, 32);
}

.pcode {
  font-size: 20px;
  cursor: pointer;
  transform: translateY(-10px);
  color: rgb(75, 73, 73);
}

.bar {
  position: fixed;
  bottom: 30px;
  left: 0;
  right: 0;
  margin: auto;
  width: 470px;
  z-index: 100;
}

.lock {
  position: absolute;
  top: 9px;
  left: 143px;
  z-index: 11;
}
.lock-2 {
  left: 248px;
}

.lock-3 {
  left: 352px;
}

.lost {
  bottom: 622px !important;
}

@media (min-width: 1024px) and (max-width: 1366px) {
  /*.progress-bar {
    position: relative;
    top: 87vh;
    left: 950px;
    transform: translate(-50%, -50%);
    max-width: 90%;
    z-index: 11;
    transform: translate(-600px, -35px);
  }*/

  .lost {
    bottom: 592px !important;
    font-size: 18px;
    width: 150px;
    left: -30px;
  }

  .alert {
    bottom: 659px;
    font-size: 18px;
    width: 150px;
    left: -30px;
  }

  /*.lock {
    position: absolute;
    top: 87vh;
    left: 900px;
    transform: translate(-50%, -50%);
    max-width: 90%;
    z-index: 11;
    transform: translate(-405px, -30px);
  }*/

  .scroll {
    width: 500px;
    right: -820px;
    bottom: 338px;
  }

  .header {
    z-index: 13;
    position: fixed;
    left: 0;
    right: -805px;
    margin: auto;
    bottom: 790px;
    width: 150px;
  }

  .chluk {
    z-index: 13;
    position: fixed;
    left: 0;
    right: -805px;
    margin: auto;
    bottom: 650px;
  }

  .text {
    right: -805px;
    /* bottom: 700px; */
    bottom: 600px;
    font-size: 15px;
  }

  .text-2 {
    bottom: 720px;
    right: -805px;
    font-size: 12px;
  }

  .champions {
    font-size: 15px;
  }

  .promo-text {
    right: -800px;
    margin: auto;
    bottom: 574px;
    font-size: 10px;
    text-align: center;
  }

  .champion-selection {
    transform: translateY(-100px);
  }

  .img-map {
    translate: 0px -230px;
  }

  .stops-div {
    transform: translate(-200px, -150px);
  }

  .pcode {
    font-size: 15px;
    cursor: pointer;
    transform: translateY(-10px);
  }

  .alert {
    right: -825px;
  }
  .lost {
    bottom: 720px !important;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.15),
      inset 1px 1px 3px rgba(255, 255, 255, 0.3);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 3px 3px 15px rgba(255, 230, 180, 0.8),
      inset 1px 1px 5px rgba(255, 255, 255, 0.6);
  }
}

.btn {
  display: inline-block;
  /* Ensures transform works */
  padding: 15px 20px;
  background-color: #501619;
  border-radius: 10px;
  text-decoration: none;
  color: #d1c49c;
  font-size: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  border: 2px solid #6b2e22;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.15),
    inset 1px 1px 3px rgba(255, 255, 255, 0.3);
  background-image: linear-gradient(145deg, #9c5c4f, #501619);
  transition: all 0.3s ease;
  cursor: pointer;
  animation: pulseGlow 1.5s infinite cubic-bezier(0.25, 0.1, 0.25, 1);
}

.btn:hover {
  background-image: linear-gradient(145deg, #72433a, #4c2119);
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3),
    inset 1px 1px 5px rgba(255, 255, 255, 0.4);
}

.hero-right {
  position: relative;
  width: 100%;
  height: 100%;
}

.large-img {
  position: fixed;
  top: 5vh;
  z-index: 2;
  pointer-events: none;
  right: -100px;
  height: 95vh;
}

@media only screen and (min-width: 1024px) and (max-width: 1540px) {
  .large-img {
    right: -92px;
  }

  /*  .hero-right {
    display: none;
  }*/
}
