html,
body {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: none;
  background: #000;
}

body {
  background-size: 100% 100%;
  background-position: top;
  /* Center the image */
  background-repeat: no-repeat;
  /* Do not repeat the image */
  /* background-image: url('../img/bg.webp'); */
}

:root {
  --animate-duration: 2s;
}

.scroll-animate {
  opacity: 0;
}

.f2 h1 {
  font-size: 82px;
  color: #d8ecf7;
}

#navbar {
  display: flex;
  justify-content: space-around;
}

.navbar>ul>li {
  margin: 0 20px;
}

.float-btn-nap {
  position: fixed;
  left: 0;
  bottom: 25vh;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  zoom: 80%;
}
.float-btn-nap:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}
@media (max-width: 768px) {
  .float-btn-nap {
    left: 16px;
    bottom: 16px;
    width: 64px;
    height: 64px;
  }
  .float-btn-nap img {
    width: 64px;
    height: 64px;
  }
}

/* TODO: REMOVE AT HOME */
.hfc {
  /* opacity: 0.2;  */
  /* display: none !important; */
}

.btn-cta {
  display: inline-block;
  background-image: url("../img/f1/cta_bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding: 10px 30px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 36px;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-cta:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  color: #fff;
  text-decoration: none;
}

.btn-cta span {
  display: block;
  line-height: 1.2;
}

.btn-cta.white {
  background-image: url("../img/cta_white_bg.png");
}

.btn-cta.white, .btn-cta.white:hover {
  color: #5b00c1;
}

.btn-cta.white.unvote {
  background-image: url("../img/f4/cta_devote_bg.png");
}
.btn-cta.white.unvote, .btn-cta.white.unvote:hover {
  color: #fff;
}


.footer {
  /* padding-top: 50px; */
  background-color: #1c1c1c;
  position: relative;
}

.footer-social-item {
  margin: 0 15px;
  width: 83px;
  height: 83px;
  text-align: center;
  position: relative;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.footer-social-item:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.warning-icon {
  margin-right: 4px;
}

.footer-social-item:hover:after {
  width: 100%;
}

.footer-social-item.fb {
  background: url(../img/vng/fb.png);
}

.footer-social-item.fb:after {
  background: url(../img/vng/fb_hover.png);
}

.footer-social-item.tt {
  width: 83px;
  height: 82px;
  background: url(../img/vng/tt.png);
}

.footer-social-item.tt:after {
  background: url(../img/vng/tt_hover.png);
}

.footer-social-item.yt {
  background: url(../img/vng/yt.png);
}

.footer-social-item.yt:after {
  background: url(../img/vng/yt_hover.png);
}

.footer .footer-content {
  background: #1c1c1c;
  padding: 60px 0 30px 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 11;
  position: relative;
}

.footer .more-text {
  height: 24px;
  width: auto;
}

#footer-social-items {
  z-index: 10;
  position: relative;
}

.riotbar-footer-copyright-text {
  color: #8c8c8c;
  font-family: "Neue Frutiger World", "Source Sans Pro", sans-serif;
}

.mb-20 {
  margin-bottom: 20px;
}

a[disabled] {
  pointer-events: none;
  cursor: default;
}

.full-frame {
  min-height: 100vh;
  height: 100vh;
}

.custom-pagination {
  margin-bottom: 10px;
}

.pagination ul {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  padding-left: 0;
}

.pagination ul li a {
  margin: 0 10px;
  border: solid 1px #a0bcb3;
  padding: 7px 16px;
  border-radius: 50px;
  background-color: #cacaca;
  color: #1b2b25;
  font-weight: bold;
  cursor: pointer;
}

.pagination ul li.active a {
  background-color: #f65160;
  color: #fff;
}

.image-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
}

.social-containter .float-btn {
  background-image: url('../img/float/float_btn_bg.png');
  width: 198px;
  height: 49px;
  color: #fff;
  font-weight: 500;
  /* font-size: 18px; */
}

.btn-tiktok {
  background-color: #e5e5e5;
  padding: 5px 10px;
  border-radius: 7px;
  color: #000;
}

.carousel-indicators {
  margin-bottom: -4rem;
}

.gslide-inline {
  background: none !important;
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.rotating {
  -webkit-animation: rotating 2s linear infinite;
  -moz-animation: rotating 2s linear infinite;
  -ms-animation: rotating 2s linear infinite;
  -o-animation: rotating 2s linear infinite;
  animation: rotating 2s linear infinite;
}

@keyframes btnSmallhover {
  0% {
    opacity: 1;
    clip-path: ellipse(0px 50px at 0% -75%);
  }

  100% {
    opacity: 1;
    clip-path: ellipse(100% 100px at 16% 20%);
  }
}

@keyframes btnSmallhoverReverse {
  0% {
    opacity: 1;
    clip-path: ellipse(100% 100px at 16% 20%);
  }

  100% {
    opacity: 1;
    clip-path: ellipse(0px 50px at 0% -75%);
  }
}


@keyframes btnhover {
  0% {
    opacity: 1;
    clip-path: ellipse(0px 200px at 0% -100%);
  }

  100% {
    opacity: 1;
    clip-path: ellipse(100% 200px at 16% 0%);
  }
}

@keyframes btnhoverReverse {
  0% {
    opacity: 1;
    clip-path: ellipse(100% 200px at 16% 0%);
  }

  100% {
    opacity: 1;
    clip-path: ellipse(0px 200px at 0% -100%);
  }
}

.common-form {
  background-color: transparent;
  border: 1px solid #9db9ae;
  border-radius: 20px;
  font-weight: 500;
  min-width: 150px;
  padding-left: 20px;
}

.btn.common-form {
  border: 1px solid #9db9ae;
  border-radius: 20px;
}

#f4-lang-select {
  margin-right: 20px;
}

.card-custom .card-footer {
  text-align: left;
  font-weight: 500;
  font-size: 18px;
  padding: 5px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.navbar .dropdown ul li:hover {
  cursor: pointer;
  background-color: rgba(128, 128, 128, .3);
  border-radius: 6.4px;
}

.navbar .dropdown ul li {
  margin: 5px 16px;
}

.navbar .dropdown ul li:first-of-type {
  margin: 0;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  background-color: rgba(128, 128, 128, .3);
}

.navbar .dropdown ul {
  background-color: #292929;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, .2);
  border-radius: 0 0 2px 2px;
}

@media (max-width: 1279px) {
  .custom-submenu-underline {
    display: none;
  }
}

.profile-dropdown {
  background: none;
  border: none;
}

.profile-area .dropdown-menu {
  min-width: 120px;
}

.profile-area .dropdown-toggle {
  color: #fff !important;
  /* padding: .375rem 0 .375rem 0; */
}

.noti-content {
  /* font-weight: bold; */
  font-size: 18px;
  padding: 0 20px;
  text-align: center;
}

.info-content {
  /* font-size: 18px; */
  padding: 20px 20px;
}

.sticky-social-icons {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  width: max-content;
  /* Ensure the container's width is as wide as the widest child */
  margin-right: 20px;
  transition: transform 0.3s ease;
  zoom: 73%;
}

.sticky-social-icons .social-icon,
.sticky-social-icons .social-button {
  margin: 5px 0;
  /* Spacing between icons */
  display: flex;
  /*flex-direction: row-reverse;*/
}

.sticky-social-icons .social-icon img {
  display: block;
  width: 69px;
  /* Width of icons */
  height: 70px;
  /* Height of icons */
  transition: transform 0.3s ease;
}

.sticky-social-icons .social-button img {
  display: block;
  width: 200px;
  /* Width of icons */
  height: 201px;
  /* Height of icons */
  transition: transform 0.3s ease;
}

.sticky-social-icons .social-icon:hover img {
  transform: scale(1.1);
  /* Slightly increase size on hover */
  filter: brightness(110%)
}

.sticky-social-icons .connect-message {
  display: block;
  margin-top: 10px;
  /* Spacing between the last icon and the message */
  width: auto;
  /* Width of the message image, adjust as needed */
  height: 110px;
  /* Height of the message image, 1/3 of the width */
  align-self: flex-end;
  /* Align to the right */
}

.black-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  /* Màu đen với độ mờ 50% (có thể điều chỉnh độ mờ bằng giá trị trong rgba) */
  z-index: 0;
  /* Đảm bảo lớp nền đen ở phía trên video */
}

.header-container {
  padding: 2px 120px;
  align-items: center;
}

.social-containter {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.second-logo {
  padding-right: 60px;
  padding-left: 30px;
}

.animation-updown {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

.img-text {
  z-index: 1;
}

.z1 {
  z-index: 1;
}

.z2 {
  z-index: 2;
}

.hover-light:hover {
  filter: brightness(1.2);
}

.auto-img {
  max-width: 100%;
  height: auto;
}

.mobile {
  display: none !important;
}

.mobile-inline {
  display: none !important;
}

.mobile-flex {
  display: none !important;
}

.desktop {
  display: block !important;
}

.desktop-flex {
  display: flex !important;
}

.glightbox-container .gslide,
.gslide-image img {
  -webkit-user-select: auto !important;
  -moz-user-select: auto !important;
  -ms-user-select: auto !important;
  user-select: auto !important;
}

.popup.join .nav-tabs .nav-link {
  font-size: 18px;
  /* font-weight: bold; */
  background-color: transparent;
  color: #bababa;
  padding: 7px 60px;
  /* border-top-left-radius: 18px; */
  /* border-top-right-radius: 18px; */
  text-transform: uppercase;
  font-family: 'GS3 Druk Text Wide', sans-serif;
  border: none;
  border-bottom: 2px solid #bababa;
  margin: 0;
}

.popup.join .nav-tabs {
  margin-bottom: 20px;
}

.popup.join .nav-tabs .nav-link.active {
  /* background-color: #38c096; */
  color: #ff4655;
  border-bottom: 2px solid #ff4655;
}

.popup.join .popup-body {
  margin-top: 10px;
  /* padding: 0 80px; */
  /* width: 100%; */
}

:lang(vi) .terms-of-service {
  display: inline !important;
}

.custom-lang {
  display: none !important;
}

:lang(vi) .custom-lang.vi {
  display: flex !important;
}

.ql-size-large {
  font-size: 24px;
}

.ql-size-huge {
  font-size: 30px;
}

.ql-align-center {
  text-align: center;
}

.ql-align-right {
  text-align: right;
}

.footer .footer-link {
  padding: 0 10px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.img-hover-src:hover {
  cursor: pointer;
}

@media (min-width: 1400px) {
  .container {
    /* max-width: 1780px; */
  }
}

@media only screen and (min-width: 4001px) {}

@media only screen and (max-width: 3001px) {}

@media only screen and (max-width: 2501px) {}

@media only screen and (max-width: 2301px) {}

@media only screen and (max-width: 2000px) {}

@media only screen and (max-width: 1800px) {}

@media only screen and (max-width: 1600px) {

  .header .container-fluid, 
  .sticky-social-icons, .float-btn-nap {
    zoom: 68%;
  }

}


@media only screen and (max-width: 1400px) {}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {}


/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {}

@media only screen and (max-width: 992px) {}

@media only screen and (max-width: 768px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

  .custom-navbar {
    display: none;
  }

  .mobile {
    display: block !important;
  }

  .mobile-inline {
    display: inline-block !important;
  }

  .mobile-flex {
    display: flex !important;
  }

  .desktop {
    display: none !important;
  }

  .desktop-flex {
    display: none !important;
  }

  .second-logo {
    max-height: 50px !important;
    padding-right: 5px;
  }

  .header .logo img {
    max-height: 40px !important;
    padding-right: 5px;
  }

  .header-container {
    padding: 2px 10px;
  }

  .footer .footer-link {
    padding: 15px 0;
    display: block;
  }

  .social-containter .social-icon {
    padding: 0 2px;
  }

  .pagination ul li a {
    padding: 8px 13px;
    font-size: 12px;
  }

  .pagination ul {
    padding-left: 0;
  }

  .btn-claim-text {
    font-size: 11px;
  }

  .header-text {
    width: 90%;
    font-size: 18px;
  }

  .btn-login {
    font-size: 14px !important;
    width: 300px !important;
  }

  .user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: auto;
    display: inline-flex;
  }

  
}

@media only screen and (max-width: 400px) {

}

@media only screen and (max-width: 375px) {}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {}

/* Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) {}

/* Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {}


/* Landscape */
@media only screen and (max-device-width: 1024px) and (orientation: landscape) {}

/* ----------- iPad 3, 4 and Pro 9.7" ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {}

/* Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {}

/* Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {}

/* ----------- iPad Pro 10.5" ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 834px) and (max-device-width: 1112px) and (-webkit-min-device-pixel-ratio: 2) {}

/* Portrait */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen and (min-device-width: 834px) and (max-device-width: 834px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {}

/* Landscape */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen and (min-device-width: 1112px) and (max-device-width: 1112px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {}

/* ----------- iPad Pro 12.9" ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {}

/* Portrait */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {}

/* Landscape */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen and (min-device-width: 1366px) and (max-device-width: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) {}

@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }

  50% {
    transform: scale(1.5, 1.5);
  }

  100% {
    transform: scale(1, 1);
  }
}

@keyframes customZoomIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  1% {
    /*visibility: visible;*/
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes customUpDown {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}


@keyframes zoomOut {
  from {
    transform: scale(1.2);
    /* Start from 120% of the element size */
    opacity: 0;
    /* Start with the element being invisible */
  }

  to {
    transform: scale(1);
    /* Scale down to the actual size */
    opacity: 1;
    /* Fully visible at the end */
  }
}

.animate__zoomOutElement {
  animation-name: zoomOut;
  /* Reference the keyframes name */
  animation-duration: 2s;
  /* Set the duration of the animation */
  animation-fill-mode: both;
  /* Keep the final state after the animation */
}

@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }

  50% {
    transform: scale(1.2, 1.2);
  }

  100% {
    transform: scale(1, 1);
  }
}

.animate__zoomInOutElement {
  animation: zoom-in-zoom-out 2s ease infinite;
}



.animate-forward:after {
  animation: btnhover 0.3s forwards;
}

.animate-reverse:after {
  animation: btnhoverReverse 0.3s forwards;
}

.animate-forward.small:after {
  animation: btnSmallhover 0.3s forwards;
}

.animate-reverse.small:after {
  animation: btnSmallhoverReverse 0.3s forwards;
}

@keyframes btnSmallhover {
  0% {
    opacity: 1;
    clip-path: ellipse(0px 50px at 0% -75%);
  }

  100% {
    opacity: 1;
    clip-path: ellipse(100% 100px at 16% 20%);
  }
}

@keyframes btnSmallhoverReverse {
  0% {
    opacity: 1;
    clip-path: ellipse(100% 100px at 16% 20%);
  }

  100% {
    opacity: 1;
    clip-path: ellipse(0px 50px at 0% -75%);
  }
}


@keyframes btnhover {
  0% {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  }

  100% {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  }
}

@keyframes btnhoverReverse {
  0% {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  }

  100% {
    opacity: 1;
    clip-path: ellipse(0px 200px at 0% -100%);
  }
}


.animate-forward:after {
  animation: btnhover 0.5s forwards;
}

.animate-reverse:after {
  animation: btnhoverReverse 0.5s forwards;
}

.pointer {
  cursor: pointer;
}