* {
  font-family: "Kanit", sans-serif;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.container {
  max-width: 1220px;
}

.text-blue {
  color: #007ffe;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
}

.video-popup, .image-popup {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}
.video-popup video {
  min-width: 320px;
  max-width: 1200px;
  /* max-height: 380px; */
  max-height: 380px;
}
@media (min-width: 992px) {
  .video-popup video {
    max-height: 750px;
  }
}

.video-popup .close-popup, .image-popup .close-popup{
  position: absolute;
  top: 5%;
  right: 5%;
  z-index: 1;
  color: #FFF;
  font-size: 32px;
}


.image-popup img{
  width: 100%;
  max-width: 960px;
}
/* Header */
.video-cover {
  width: 100%;
  height: 40vh;
  position: relative;
}

.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.video-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 25%);
  position: absolute;
  top: 0;
}

.play-button {
  width: clamp(75px, 25vmin, 100px);
  height: clamp(75px, 25vmin, 100px);
  background-image: url("../images/page01/play.svg");
  background-size: cover;
  cursor: pointer;
}

/* interested-section */
.total-interested {
  position: fixed;
  bottom: 3%;
  right: 0;
  z-index: 9998;
  cursor: pointer;
}

.interested-text {
  margin: 0;
  position: absolute;
  z-index: 9999999 !important;
  top: 57%;
  left: 40px;
  transform: translateY(-50%);
  color: #6e1f1f;
}

.interested-text h4 {
  color: #6e1f1f;
  font-size: clamp(18px, 3vmin, 24px);
}

.interested-text h6 {
  font-size: clamp(13px, 3vmin, 16px);
}

.total-interested img {
  width: 100%;
  object-fit: cover;
}
/* App content Section */

.app-content {
  overflow: hidden;
  width: 100%;
  background: url("../images/page01/bg.png") no-repeat;
  background-size: cover;
  position: relative;
}

.swordman {
  position: absolute;
  width: 30%;
  min-width: 500px;
  top: 120px;
}

.sword-male {
  right: 0;
}

.app-content::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 50%;
  background: linear-gradient(179.68deg, rgba(255, 255, 255, 0) 7.04%, #ffffff 75.41%);
  transform: rotate(180deg);
}

.app-content::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 60%;
  bottom: 0;
  background: linear-gradient(180.39deg, rgba(255, 255, 255, 0) 1.93%, rgba(255, 255, 255, 0.72) 55.31%);
  transform: matrix(-1, 0, 0, 1, 0, 0);
}

.app-detail {
  background: #fff;
  z-index: 9998;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8vh 75px 20px;
}

.app-header {
  padding-bottom: 50px;
  border-bottom: 0.5px solid #b3b3b5;
}

.app-header h5{
  font-size: clamp(14px,4.5vmin,20px);

}
.app-icon {
  border-radius: clamp(10px, 5vmin, 50px);
  width: clamp(50px, 28vmin, 250px);
  /* box-shadow: 0px 4px 17px -7px rgba(0, 0, 0, 0.13); */
}
@media (min-width: 768px) {
  .app-icon {
    width: 100px;
    border-radius: 20px;
  }
}
@media (min-width: 1200px) {
  .app-icon {
    border-radius: clamp(10px, 5vmin, 50px);
    width: clamp(50px, 28vmin, 250px);
  }
}
/* @media (min-width: 768px)
@media (min-width: 992px)
@media (min-width: 1200px)
@media (min-width: 1440px) */

.theme-button {
  width: clamp(96px, 36vmin, 240px);
  height: clamp(30px, 10vmin, 70px);
  background-image: url("../images/page01/button.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  position: relative;
}

.theme-button:hover{
  background-image: url("../images/page01/button-hover.png");
}

.theme-button-mobile {
  width: clamp(150px, 40vmin, 180px);
  min-width: 150px;
  height: 50px !important;
}
@media (min-width: 768px) {
  .theme-button-mobile {
    width: clamp(200px, 40vmin, 180px);
  }
}
.theme-button-mobile h4 {
  font-size: 16px !important;
}
.load-pc-popup {
  width: 90%;
  background: #fff;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.29);
  border: 1px solid rgba(214, 214, 214, 0.5);
  font-size: clamp(14px, 2.2vmin, 24px);
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 115%;
  display: flex;
  flex-direction: column;
  transform: translateX(-50%);
  transition: 0.25s;
}

.load-pc-popup a:hover {
  background: #007ffe;
  color: #fff;
}

.load-pc-popup a {
  padding: 7px 2.25vw;
  text-align: left;
  color: #6a6a6a;
  text-decoration: none;
  transition: 0.1s;
}

.load-pc-popup2 {
  width: 90%;
  background: #fff;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.29);
  border: 1px solid rgba(214, 214, 214, 0.5);
  font-size: clamp(14px, 2.2vmin, 24px);
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 115%;
  display: flex;
  flex-direction: column;
  transform: translateX(-50%);
  transition: 0.25s;
}

.load-pc-popup2 a:hover {
  background: #007ffe;
  color: #fff;
}

.load-pc-popup2 a {
  padding: 7px 2.25vw;
  text-align: left;
  color: #6a6a6a;
  text-decoration: none;
  transition: 0.1s;
}

.border-buttom-section {
  border-bottom: 0.5px solid #b3b3b5;
}

.theme-button h4 {
  color: #fff;
  font-size: clamp(16px, 2.2vmin, 32px);
  font-weight: 400;
  margin-bottom: 2px;
}

/* App Review Section */

.avg-rating-score h1 {
  font-size: clamp(60px, 15vmin, 82px);
  color: #007ffe;
  line-height: 0.8;
  margin-right: 10px;
  font-weight: 600;
}

.avg-rating-score h3 {
  color: #707070;
  font-weight: 400;
  font-size: clamp(18px, 6vmin, 29px);
}

.rating-bar {
  position: relative;
  margin-left: 10px;
  overflow: hidden;
}
.rating-bar::before {
  position: absolute;
  content: "";
  z-index: -1;
  bottom: 5%;
  left: 3px;
  width: 98%;
  height: 70%;
  border-radius: 500px;
  background: linear-gradient(89.94deg, #fefeff -9.63%, #e4e5ea 38.18%, #d4d6de 77.28%);
}


.all-star-rating {
  padding-bottom: 20px;
  margin-left: 20px;
  display: flex;
  justify-content: flex-end;
}

.avg-rating {
  min-height: 169px;
  padding-bottom: 65px;
  margin-right: 20px;
}
.rating-bar-total {
  z-index: -1;
  height: 19px;
  position: absolute;
  left: 5px;
  top: 62%;
  overflow: hidden;
  border-radius: 500px;
  transform: translateY(-50%);
  background-color: #FABE32;
  /* background: linear-gradient(179.97deg, #2d63a8 -74.67%, #1f58a1 -37.28%, #007ffe 37.51%, #007ffe 86.07%); */
}

.rating-bar img {
  width: 100%;
}
.rating-bar-total::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 50%;
  background-color: #FABE32;
  /* background: linear-gradient(0deg, #2d63a8 12.14%, #265da4 41.79%, #134f9b 83.93%, #007ffe 114.5%); */
}

.star-rating-wrapper .star:not(:first-child) {
  margin-left: 4px;
}
.rating-star-contain {
  display: flex;
}

.star {
  width: 23px;
  height: 23px;
  background-image: url("../images/page01/star.svg");
  background-size: contain;
}

/* image app */
.app-carousel {
  overflow-x: scroll;
  scrollbar-width: none;
}
.app-carousel::-webkit-scrollbar {
  display: none;
}

.app-carousel-item {
  min-width: 400px;
  height: 250px;
  margin-right: 25px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.app-carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.carousel-button {
  width: fit-content;
  height: fit-content;
  font-size: 36px;
  color: #707070;
  transition: 0.25s;
  padding: 0 !important;
  margin-right: 15px;
}
.carousel-button:hover {
  font-size: 36px;
  color: #007ffe;
}
/* review-section */

.review-item {
  width: 100%;
  min-width: 300px;
  background: #f3f2f8;
  padding: 20px clamp(15px, 1.5vw, 30px);
  border-radius: 10px;
  margin-bottom: 20px;
}

.review-item .star {
  margin-left: 3px;
}

.reviews-page .review-item:first-child {
  margin-right: 20px;
}

.reviews-page {
  flex-shrink: 0;
  width: fit-content;
  padding: 0 10px;
}

.app-reviews{
  display: flex;
  overflow-x: scroll;
  margin-bottom: 10px;
  position: relative;
  scrollbar-width: none;
}

.app-reviews::-webkit-scrollbar {
  display: none;
}

.app-reviews-button button{
  width: 19px;
  height: 19px;
  background-color: #c7c7c7;
  border-radius: 100%;
  padding: 0;
}

.app-reviews-button button.active{
  background: #007ffe;
}

/* app-describe-section */
.app-describe {
  position: relative;
  top: -30px;
  padding-bottom: 70px;
}

@media (max-width: 992px) {
  .avg-rating,
  .all-star-rating {
    border-bottom: none;
    margin: 0;
    padding-bottom: 0;
    min-width: 300px;
  }
  .avg-rating {
    text-align: center;
    align-items: center;
  }
  .all-star-rating {
    width: 100% !important;
    justify-content: center;
  }
  .rating-star-item {
    margin: 0 auto;
    justify-content: flex-start;
  }
  .app-ratings {
    border-bottom: 0.5px solid #b3b3b5;
  }
  .app-describe h2{
    font-size: 20px;
  }
  .app-detail {
    padding: 8vh 35px 20px;
  }
}

@media (max-width: 490px) {
  .rating-star-item {
    flex-direction: column;
    margin-bottom: 15px !important;
  }
  .rating-bar {
    margin-left: 0;
  }
  .carousel-button {
    display: none;
  }
  .rating-bar {
    width: 80%;
  }
  .star-rating-wrapper {
    padding-left: 55px;
  }
  .rating-bar-total {
    height: 14px;
  }
  .rating-star-item .star {
    width: 18px;
    height: 18px;
  }
  .avg-rating {
    min-height: 0;
  }
  .video-popup video {
    max-height: 360px;
  }
  .rating-bar::before{
    bottom: 3px;
    height: 59.5%;
    width: 95.25%;
    left: 5px;
    border-radius: 500px;

  }
  .rating-bar-total{
    top: 59%;
  }
  .app-detail {
    padding: 8vh 15px 20px;
  }
  .app-carousel-item{
    min-width: 300px;
    height: 150px;
  }
}

@media (max-width: 640px) {
  .total-interested {
    width: 260px;
    right: 0;
  }
  .interested-text {
    top: 57%;
    left: 38px;
    color: #fff;
  }

}

.modal,.lity {
  z-index:99999;
}

.socialbox-item {
  max-width: 25px;
}

.collapse:not(.show) {
  display: block;
  overflow: hidden;
  height: 150px;
}

.collapsing {
  height: 150px;
  overflow: hidden;
}

.icon-language {
  max-width: 30px;
}

.rounded-4 {
  border-radius: .5rem!important;
}

.rounded-5 {
  border-radius: .75rem!important;
}

.btn-style1.dropdown-toggle::after {
  display: none;
}
.btn-style1 {
  min-height: 60px;
}

.downloadactive {
  width: 100%;
}
@media (min-width: 768px) {
  .downloadactive {
    width: auto;
  }
}
@media (min-width: 1200px) {
  .btn-style1 {
    min-width: 215px;
    min-height: 70px;
    font-size: 1.2rem;
  }
}
/* @media (min-width: 1440px) {} */