* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}
body {
  display: flex;
  /* background-image: url("../images/bg.webp"); */
  background-image: url("../images/vn6_update_bg.png");
  background-repeat: no-repeat;
  background-position: top center;
  width: 100%;
  height: 100vh;
  background-size: cover;
}
table {
  width: 100%;
}
td, th {
  text-align: center;
}
td, th {
  vertical-align: middle; 
}
/* left start */
.left {
  flex: 1;
}
.logo_wrapper {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 20px;
  gap: 1rem;
}
.btn_history,
.logo_wrapper a {
  cursor: pointer;
  z-index: 7;
}
.history {
  width: 100px;
}
.hero_left {
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 650px;
}
.logo {
  width: 150px;
}
/* left end */
/* main start */
.main {
  flex: 2;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  row-gap: 5em;
}

.new_height {
 height : 43vh;
}
/* .rollete_sparkle {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
} */

.rollete_sparkle {

    position: absolute;
    top: 323%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 150px;
   
    height: 920px;
    width: 818px;
    /* z-index: ; */
    object-fit: cover;
}
.info {
  position: relative;
  margin-top:40px !important;
}
.center_text_scroll p {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}
.center_text_scroll ol li {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}
.center_text_scroll table tr th {
  text-align: center;
}
#list tr th {
  text-align: center;
}
.center_text_scroll {
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 415px;
  height: 235px;
  overflow-y: auto;
  scrollbar-width: none;
}
.rollet_wapper {
  width: 580px;
  position: relative;
}
.rollet_light1 {
  z-index: 4;
}
.rollet_light2 {
  z-index: 3;
}
.rollet_frame {
  z-index: 2;
}
.rollet_prize {
  width: 80% !important;
  z-index: 1;
}
.rollet_light1,
.rollet_light2 {
  display: block;
  width: 90% !important;
  opacity: 0;
}
.rollet_light1 {
  animation: toggleVisibility1 3s infinite;
}
.rollet_light2 {
  animation: toggleVisibility 3s infinite;
}
.rollet_main {
  height: 123px;
}
.arrow {
  position: absolute;
  top: 58px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 120px;
}
.btn_form_show .btn {
  position: absolute;
  top: 240%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  z-index: 6;
  border: none;
}
.absolute-center {
  position: absolute;
  top: 240%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
@keyframes toggleVisibility1 {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes toggleVisibility {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* main end */

/* right start */
.right {
  flex: 1;
  position: relative;
}
.winners {
  width: 300px;
  position: absolute;
  top: 10px;
  right: 165px;
  z-index: 2;
}
.winners_modal {
  width: 100%;
}
.winners_wrapper {
  position: absolute;
  top: 24px;
  left: 47px;
  width: 206px;
  height: 244px;
  overflow: hidden;
}
.all_winners {
  display: flex;
  flex-direction: column;
}
.winners_text {
  display: flex;
  flex-direction: column;
}
.winners_text span,
.winners_text p {
  font-size: 14px;
}
.winners_title {
  color: #e7422c;
  font-size: 15px;
  text-align: center;
  border-bottom: 1px solid #e7422c;
}
.prize_text {
  text-align: center;
  color: #e7422c;
  font-size: 15px;
  font-weight: 600;
}
.hero_right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 650px;
}
.top {
  display: flex;
  justify-content: space-between;
}
.marquee .all_winners {
  overflow: hidden;
  white-space: nowrap;
  height: 100%;
}
.marquee .all_winners .winners_text {
  animation: marquee 8s linear infinite;
  display: inline-flex;
  font-size: 4rem;
}
@keyframes marquee {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-100%);
  }
}
/* right end */

/* form popup start */
.form_popup {
  z-index: 99;
  display: none;
}
button {
  background: transparent;
  border: none;
}
.form_popup,
.wrap {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}
.wrap {
  background-color: rgba(0, 0, 0, 0.71);
  width: 100%;
  height: 100%;
  z-index: 0;
}
.form {
  width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
}
.form_modal {
  width: 600px;
}
.error_wrapper {
  width: 90%;
  background: #fff;
  border-radius: 8px;
  padding: 1rem 0.5rem;
  display: none;
}
.error_text {
  padding-bottom: 0;
  margin-bottom: 0;
  color: red;
  font-weight: bold;
  text-align: center;
}
#form_popup_modal {
  position: absolute;
  width: 357px;
  top: 68%;
  left: 53%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
#phone {
  height: 50px;
  width: 90%;
  border-radius: 8px;
  border: none;
  font-size: 2rem;
  color: #646464;
  padding-left: 0.5rem;
}
.form_title {
  width: 90%;
}
.btn_form {
  width: 95%;
  cursor: pointer;
}
/* form popup end */

/* form prize start */
.form_prize {
  z-index: 99;
  display: none;
}
.form_prize {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}
.prize_content {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#btn_prize_title {
  width: 180px;
}
#btn_prize_image {
  width: 200px;
}
#prize {
  color: #fff600;
  font-size: 30px;
  font-weight: bold;
  line-height: 27px;
}
#chance {
  color: #fff600;
  font-weight: bold;
}
.chance_text {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
.prize_modal {
  width: 600px;
}
.prize {
  width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
}
.form_prize_modal {
  position: absolute;
  width: 405px;
  top: 272px;
  left: 43%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  height: 284px;
}
.btn_prize {
  width: 95%;
  cursor: pointer;
  position: absolute;
  bottom: -227px;
  left: 15px;
}
/* form prize end */

/* form history start */
.form_history {
  z-index: 99;
  display: none;
}
.form_history {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}

#history {
  color: #fff600;
  font-size: 30px;
  font-weight: bold;
}
.history_modal {
  width: 600px;
}
.history_div {
  width: 600px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
}
#form_history_modal {
  position: absolute;
  top: 65px;
  left: 41%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 53%;
}
#history_phone {
  height: 32px;
  width: 114%;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  color: #646464;
  padding-left: 0.5rem;
}
#btn_history_submit {
  background-color: #fff;
  padding: 2px 4px;
  border-radius: 2px;
}
.table-container {
  position: absolute;
  top: 87px;
  width: 428px;
  left: 85px;
  height: 160px;
  overflow-y: scroll;
  scrollbar-width: none;
  padding: 0 1rem;
  background-color: #fff;
  border-radius: 8px;
}
#tbl_history thead {
  background-color: #fff;
}

/* form history end */

/* media query */
.desktop {
  display: block;
}
.mobile {
  display: none;
}

#mobile_bg {
  display: none ;
}






@media screen and (max-width: 1360px) {
  .winners {
    opacity: 0;
  }
}
@media screen and (max-width: 768px) {
 
  .rollete_sparkle {
    display: none !important;
  }
  #mobile_bg {
  display: block !important;
  position: absolute;
  top: 0;
  height: 100vh !important;
  width: 100%;
  object-fit: cover;
  /* z-index: 555; */
}

  body {
  display: flex;
  /* background-image: url("../images/bg.webp"); */
  background-image:none !important;
  /* background-repeat: no-repeat;
  background-position: top center;
  width: 100%;
  height: 100vh;
  background-size: cover; */
}
  .winners {
    opacity: 1;
  }
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }


  .logo_wrapper {
    display: none !important;
  }
  body {
    background-image: url("../images/vn6_mobile_bg.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    display: block;
    height: 100%;
  }
  .history,
  .logo {
    width: 18vw;
  }
  .logo_wrapper {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    gap: 1rem;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
  }
  /* rollet */
  .rollet_main {
    height: 100%;
    
  }
  .rollet_wapper {
    width: 70%;
    position: relative;
        top: 40px;
    height: 500px;
  }
  .absolute-center {
    top: 50%;
    width: 90%;
  }
  .rollet_light1,
  .rollet_light2 {
    width: 80% !important;
  }
  .rollet_prize {
    width: 72% !important;
  }
  .btn_form_show .btn {
    top: 50%;
    width: 18vw;
  }
  /* end rollet */
  .winners {
    width: 100%;
    top: 0;
    right: unset;
    left: 0;
    position: relative;
  }
  .winners_wrapper {
    top: 23%;
    left: 25%;
    width: 48%;
    height: 59%;
  }
  .top span {
    color: #fff;
  }
  .winners_text span,
  .winners_text p {
    font-size: 3vw;
  }
  .prize_text {
    color: #f6ff00;
  }
  .center_text_scroll {
    position: absolute;
    bottom: 17%;
    left: 18%;
    transform: unset;
    width: 61%;
    height: 55%;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .center_text_scroll p,
  .center_text_scroll table tr th {
    font-size: 3vw;
  }
  .center_text_scroll ol li {
    font-size: 3vw;
  }
  .main {
    height: 50%;
  }
  .right {
    height: 30%;
  }
  section.mobile {
    height: 50%;
    display: flex;
    align-items: end;
  }
  .history_div,
  .history_modal {
    width: 100%;
  }
  #form_history_modal {
    top: 19%;
  }
  .table-container {
    top: 27%;
    width: 68%;
    left: 15%;
    height: 38%;
  }
  #tbl_history tr th,
  #tbl_history tr td {
    font-size: 3vw;
  }
  #history_phone {
    height: 10%;
    width: 114%;
    font-size: 4vw;
  }
  #btn_history_submit {
    background-color: #fff;
    padding: 0 1vw;
    border-radius: 5px;
  }
  #btn_history_submit i {
    font-size: 4vw;
  }
  .form,
  .form_modal {
    width: 100%;
  }
  #form_popup_modal {
    width: 56%;
    top: 68%;
    left: 52%;
  }
  #phone {
    height: 8vw;
    font-size: 4vw;
  }
  .error_wrapper {
    padding: 2vw 0.5rem;
  }
  .error_text {
    font-size: 3vw;
  }
  .prize,
  .prize_modal {
    width: 100%;
  }
  .form_prize_modal {
    width: 67%;
    top: 42%;
    left: 46%;
    height: 48%;
  }
  #btn_prize_title {
    width: 55%;
  }
  #btn_prize_image {
    width: 55%;
  }
  #prize {
    font-size: 5vw;
  }
  .btn_prize {
    width: 95%;
    bottom: -87%;
    left: 15px;
  }
  .hero {
    position: absolute;
    top: 42%;
    /* right: 0;
    width: 32%; */
    right: 12%;
    width:75%;
  }
}
@media screen and (max-width: 600px) {
  .rollet_wapper {
    width: 100%;
            position: relative;
        top: 40px;
  }
  .btn_form_show .btn {
    width: 23vw;
  }
}
@media screen and (max-width: 500px) {
  body {
    height: 100vh; 
  }
 .right {
  display : none !important;
 }
}

