* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}
body {
  width: 100%;
  height: 100svh;
  background-image: url(../images/bg.webp);
  background-size: cover;
  background-position: center center;
}

main {
  max-width: 550px;
  width: 100%;
  position: relative;
  margin: 0 auto;
  background-image: url(../images/bg.webp);
  background-color: #191d1d;
  background-repeat: no-repeat;
  background-size: 100%;
  /* height: inherit; */
}
.logo {
  width: 250px;
}
.logo,
.img_title,
.hero {
  position: relative;
  z-index: 3;
}
.explosion {
  position: absolute;
  z-index: 2;
  bottom: 10%;
  left: 0;
  width: 100%;
}
.center {
  text-align: center;
}
.hero1_bg,
.hero2_bg {
  position: absolute;
  left: 0;
  top: 0;
}
.hero_wrapper {
  overflow: hidden;
  position: relative;
}
.hero_wrapper,
.img_title {
  padding-top: 1rem;
}
.hero {
  width: 100%;
}

.img_title,
.banner {
  width: 90%;
}
.btns {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  position: relative;
}
.btns img {
  width: 80%;
}
.hero1,
.hero2 {
  transition: all 0.5s;
  position: relative;
  padding: 6rem 2rem 2rem;
}

.hero2:hover,
.hero2:hover .animation_hero2:hover {
  transform: scale(1.1);
}
.hero1:hover,
.hero1:hover .animation_hero1:hover {
  transform: scale(1.1);
}

.hero2_img {
  position: relative;
  z-index: 2;
}
.fire {
  position: relative;
  z-index: 1;
}
.csr {
  position: absolute;
  z-index: 5;
  right: 10px;
  top: 25%;
  animation: animateHeart 0.5s infinite alternate;
}
.csr img {
  width: 70px;
}

.animation_hero1 img,
.animation_hero2 img {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}
@keyframes animateHeart {
  0% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1.1);
  }
}

@media screen and (max-width: 550px) {
  /* .hero_wrapper img {
    width: 50vw;
  } */
  .img_title,
  .banner {
    width: 90vw;
  }
  .logo {
    width: 50vw;
  }
  .btns img {
    width: 35vw;
  }
  main {
    height: unset;
  }
  body {
    background-image: unset;
    background-color: #191d1d;
  }
}

@media screen and (max-width: 500px) {
  .csr img {
    width: 15vw;
  }
}
/*@media screen and (max-width: 600px){*/
    .overlay {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        justify-content: center;
        z-index: 9999;
    }
    .popup {
        height: 100%;
        border-radius: 5px;
        max-width: 550px;
        width: 100%;
    }
    .popup-dragon img, .popup-decor img{
        max-width: 100%;
        height: auto;
    }
    .popup-dragon{
        padding: 0 1rem;
    }
    .popup div{
        max-width: 100%;
        height: auto;
        text-align: center;
    }
    .popup-btn{
        width: 100%;
        position: relative;
    }
    .btn-text{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        justify-content: center;
        font-size: 30px;
        color: transparent;
        font-weight: 700;
        background: linear-gradient(#eebe52, #efc360);
        background-clip: text;
    }
    #close{
        position: absolute;
        right: 10px;
        top: 10px;
        display: block;
        background: linear-gradient(#ff8438, #e13d19);
        color: #fff;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid #fbe489;
        cursor: pointer;
    }
    .popup-btn a img{
        width: 250px;
    }
/*}*/
@media screen and (max-width: 600px){
.popup-btn a img{
        width: 70vw;
    }
    .btn-text{
     font-size: 8vw;
    }
}
