html {
  scroll-behavior: smooth;
  color: white;
}

body {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  min-height: 100vh;
  background-image: url(../assets/main/BG.png);
  background-repeat: repeat-y;
  background-size: cover;
  background-position-x: center;
}

@media screen and (max-width: 1100px) {
  body {
    min-width: 1100px;
    background-size: unset;
  }
}

.conner {
  position: absolute;
  right: 0px;
}
.nav-cus {
  padding: 1rem 2rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.profile-info-con {
  margin-left: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.level {
  font-family: BebasNeue-Regular;
  position: absolute;
  z-index: 3;
  top: -7px;
  left: -7px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #d1b538;
  height: 16px;
  width: 16px;
  background-image: url(../assets/backend/bg-level.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.vip {
  position: absolute;
  top: -4.5px;
  left: -4.5px;
  width: 9px;
  height: 9px;
  object-fit: contain;
}

.profile {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
}
button.button-playgame {
  background: transparent;
  border: none;
}

.profile-img-con {
  position: relative;
  width: 32px;
  height: 32px;
}

.username {
  color: #fedd46;
  text-shadow: 2px 2px #000000;
  font-size: 21px;
  font-family: BebasNeue-Regular;
  margin-left: 4px;
}

.coin-1-text {
  font-family: BebasNeue-Regular;
  text-shadow: 2px 2px #000000;
  margin-left: 10px;
  color: #d1b538;
}

.coin-2-text {
  font-family: BebasNeue-Regular;
  text-shadow: 2px 2px #000000;
  margin-left: 10px;
  color: #812fb0;
}

.coin-icon {
  width: 24px;
  height: 24px;
}

.ring {
  margin-left: 10px;
  width: 24px;
  height: 24px;
  object-fit: contain;
  cursor: pointer;
}

.language-con {
  font-family: BebasNeue-Regular;
  text-shadow: 2px 2px #000000;
  margin-left: 10px;
  color: #ffffff;
  cursor: pointer;
}

.icon-dropdown {
  margin-left: 5px;
  object-fit: contain;
}

.login-logout-btn {
  margin-left: 20px;
  cursor: pointer;
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
}

.main-section {
  position: relative;
  background-image: url("../assets/main/s-luffy.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  bottom: 62px;
}

.overall-news {
  display: flex;
  justify-content: center;
  position: relative;
}

.red-line {
  position: absolute;
  bottom: -100px;
  left: 0;
  right: 0;
  width: 100%;
  user-select: none;
  z-index: 0;
}

.main-btn-con {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.main-btn {
  margin: 0 1rem;
  cursor: pointer;
}

.luffy-chibi {
  position: absolute;
  bottom: -60px;
  right: 10%;
  user-select: none;
  z-index: 0;
}

.support-icon {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translate(0, -50%);
  width: 182px;
  height: 145px;
  cursor: pointer;
  z-index: 4;
}

.side-navigation {
  display: flex;
  flex-direction: column;

  position: fixed;
  top: 50%;
  left: 10px;
  transform: translate(0, -50%);
  z-index: 4;
}

.selecting-section-con {
  display: flex;
  align-items: center;
}

.selecting-section-text-con {
  margin-left: 4px;
  height: 32px;
  width: 200px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  background-image: url("../assets/main/bg-text.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: center;
  transition: 0.6s ease-out;
}

.section-no {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.section-title {
  color: #d1b538;
  text-shadow: 2px 2px #000000;
  font-family: BebasNeue-Regular;
  font-size: 12px;
}

.section-title-description {
  color: #ffffff;
  text-shadow: 2px 2px #000000;
  font-family: BebasNeue-Regular;
  margin-left: 2px;
  font-size: 16px;
}

.vertical-line {
  margin-left: 16px;
  width: 1px;
  height: 3rem;
  background-color: #ffffff;
  transition: 0.6s ease-out;
}

.long {
  height: 3rem;
}

.short {
  height: 1rem;
}

.news-slick {
  width: 50%;
  max-width: 800px;
  background-image: url("../assets/main/news-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: center;
  padding: 6px;
}

.paging {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px;
  color: #d1b538;
  text-shadow: 1px 1px #000000;
  font-family: BebasNeue-Regular;
  width: 22px;
  height: 22px;
  background-image: url("../assets/main/news-paging.png");
  font-size: 12px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: center;
}

.slick-active .paging {
  width: 22px;
  height: 22px;
  background-image: url("../assets/main/news-paging-on.png") !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: center;
}

.news-slide {
  object-fit: contain;
}

.news-btn-con {
  cursor: pointer;
  margin-left: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-btn {
  width: 180px;
  height: 60px;
  margin-top: 1rem;
}

.first {
  margin-top: 0;
}

.news-zoro {
  position: absolute;
  left: -20px;
  bottom: -80px;
  /* 169 269 */
}

.news-card-con {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-card-con > * + * {
  margin-left: 20px;
}
.new-card-each-con {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 200px;
}
.news-card {
  width: 200px;
  height: 250px;
}

.news-tag {
  position: absolute;
  top: -20px;
  right: 0;
}

.news-card-btn {
  width: 100%;
  cursor: pointer;
}

.news-char-right {
  position: absolute;
  right: 0;
  top: 26%;
  transform: translate(0, -50%);
  width: 266px;
  height: 215px;
}
.popup .overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 5;
}
.popup.active .overlay {
  display: block;
}
.popup {
  display: none;
}
.popup.active {
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup.active .content {
  position: absolute;
  top: 0;
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 6;
  text-align: center;
  padding: 20px;
  margin: 50px;
  box-sizing: border-box;
  background-image: url("../assets/select-server/img/bg/BG.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 80vh;
}
.close-btn {
  display: none;
}
.popup.active .content .close-btn {
  display: block;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 30px;
  height: 30px;
  background-color: #222;
  color: white !important;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
}

@media screen and (max-width: 750px) {
  .side-navigation,
  .support-icon {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .popup.active .content {
    height: auto;
  }
}
