@font-face {
  font-family: vivoRegular;
  src: url("../vivofont/vivotype简-Regular.ttf");
}

@font-face {
  font-family: vivoMedium;
  src: url("../vivofont/vivotype简-Medium.ttf");
}

@font-face {
  font-family: vivoHeavy;
  src: url("../vivofont/vivotype简-Heavy.ttf");
}

@font-face {
  font-family: vivoBold;
  src: url("../vivofont/vivotype简-Bold.ttf");
}
html, body {
    overflow-x: hidden;
    width: 100%;
}
body{
  font-family: vivoRegular !important;
}

.vivo-lucky-draw-main-box {
  min-height: 100vh;
  background-repeat: repeat;
  background-position: center center;
  background-size: cover;
  max-width: 500px;
  position: relative;
  margin: 0 auto;
}

.action-btn {
  margin-top: 100px;
}

.action-btn .btn {
    background: linear-gradient(to bottom, #78210c, #c73a22);
    color: #fcd793 !important;
    border-radius: 20px !important;
    padding: 15px 30px !important;
    font-size: 18px;
    line-height: 30px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    font-family: vivoHeavy !important;
}
.personal-detail-box {
    width: 90%;
    margin: 0 auto;
}
.personal-detail-box {
  background: linear-gradient(to bottom, #78210c, #c73a22);
  border-radius: 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.personal-detail-box p {
      font-size: 20px;
    color: #fcd793;
    font-family: 'vivoHeavy';
    margin-bottom: 24px;
}
p.errormessage {
    font-size: 14px;
    background-color: #ffc107;
    border-radius: 40px;
    margin: -7px -13px -7px !important;
    padding: 6px 0px 5px;
    color: #78210c;
    border: 1px solid #78210c;
}

.personal-detail-box input,
select {
  background-color: transparent !important;
  border-radius: 20px !important;
  height: 42px !important;
  border-color: #fcd793 !important;
  color: #fcd793 !important;
}

#info_box {
  border: 1px #fcd793 solid !important;
  border-radius: 20px;
  padding: 0.375rem 0.75rem;
  margin-bottom: 10px;
}
.personal-detail-box input::placeholder {
  color: #fcd793 !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
.form-control:focus {
  box-shadow: none !important;
}
select:focus {
  box-shadow: none !important;
}
.parsley-errors-list {
  text-align: left;
}
select option {
  background-color: #78210c !important;
}

.spin-wheel {
  background-color: #78210c !important;
}

.winner-text h5 {
  font-size: 46px;
  font-weight: 400;
  color: #78210c;
}

.winner-text p {
  font-size: 24px;
  font-weight: 400;
  color: #78210c;
}

.btn-check:focus + .btn,
.btn:focus {
  outline: 0;
  box-shadow: none;
}

.submit-btn {
  background-color: #78210c !important;
  color: #fcd793 !important;
  border-radius: 20px !important;
  padding: 10px 30px !important;
  font-size: 18px;
  line-height: 30px;
  border: 1px solid #fcd793 !important;
      font-family: 'vivoHeavy';
}

.gift-vouchers-box {
background: linear-gradient(to bottom, #78210c, #c73a22);
    border-radius: 5px;
    max-width: 100%;
    height: 150px;
    margin: 3rem auto 0rem;
    transform: scale(0);
    animation:scaleCard 0.4s linear 0.5s both;
}
@keyframes scaleCard{
  100%{
    transform: scale(1);
  }
}

.gift-vouchers-box h5 {
  color: #f6c366 !important;
  font-size: 22px !important;
  font-weight: 500 !important;
}
.gift-vouchers-box p {
  color: #f6c366 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
}
.btn-check:focus + .btn,
.btn:focus {
  outline: 0;
  box-shadow: none !important;
}

.scan-btn {
  position: absolute;
  right: 15px;
  top: 0px;
}
.footer-images {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    width: 92%;
    margin: 0 auto;
}
.winner-text {
    margin-top: 1rem;
}
@media screen and (max-width: 2600px) {
  
  .header-image img {
    width: 100%;
    margin: 0 auto;
  }

  .winner-text> h5 {
    font-size: 38px;
    font-weight: 400;
    color: #78210c;
    font-family: 'vivoHeavy';
  }
  .winner-text p {
    font-size: 18px;
    font-weight: 400;
    color: #78210c;
  }
  .gift-img img {
    width: 100px;
  }
}
@media screen and (max-width: 1280px) {
  
  .header-image img {
    width: 100%;
  }

  .winner-text h5 {
    font-size: 34px;
    font-weight: 400;
    color: #78210c;
  }
  .winner-text p {
    font-size: 16px;
    font-weight: 400;
    color: #78210c;
  }
  .gift-img img {
    width: 100px;
  }

 
}

@media screen and (max-width: 500px) {
  .action-btn {
    margin-top: 150px;
  }
  .gift-img img {
    width: 90px;
  }

  .spin-wheel {
    margin-top: 100px;
  }
  .personal-detail-box{
    width: 95%;
  }
      .personal-detail-box p {
        font-size: 14px;
    }
}

@media screen and (max-width: 430px) {
  .action-btn {
    margin-top: 130px;
  }
  .action-btn .btn {
    font-size: 16px;
  }
 .header-image img {
        width: 100%;
        transform: scale(1.2) translateY(22px);
    }
  .spin-wheel {
    margin-top: 100px !important;
  }
  .personal-detail-box input, select {
    font-size: 14px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 14px;
}
  
}
@media screen and (max-width: 425px) {
  .action-btn {
    margin-top: 130px;
  }
  .action-btn .btn {
    font-size: 15px;
  }
 
  
 
  .spin-wheel {
    margin-top: 100px !important;
  }
}
@media screen and (max-width: 390px) {
  .action-btn {
    margin-top: 100px;
  }
 
  
  .spin-wheel {
    margin-top: 100px !important;
  }
}

@media screen and (max-width: 375px) {
  .action-btn {
    margin-top: 60px;
  }

  .spin-wheel {
    margin-top: 100px !important;
  }
}

video {
  display: none;
}

canvas {
  border: 1px solid black;
  width: 300px;
  height: 200px;
  /* This will limit the visible area */
}

.select2-container--default .select2-selection--single {
  background-color: transparent !important;
  border-radius: 20px !important;
  height: 42px !important;
  border-color: #fcd793 !important;
  color: #fcd793 !important;
  text-align: left;
  padding: 0.375rem 0.75rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fcd793 !important;
  padding-left: 0px !important;
  max-width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  color: #fcd793 !important;
  top: 8px !important;
  right: 20px !important;
}

.select2-container--default .select2-selection--single:focus {
  box-shadow: none !important;
}

.select2-container--default .select2-results__option {
  background-color: #78210c !important;
  color: #fcd793 !important;
}

.select2-container--default .select2-results__option--highlighted {
  background-color: #fcd793 !important;
  color: #78210c !important;
}

/* Remove focus outline */
.select2-container--default .select2-selection--single:focus {
  outline: none !important;
}
/* Style for the checkbox container */
.checkbox-container {
  display: flex;
  align-items: center;
  margin-top: 15px;
  font-size: 14px; /* Adjust as per design */
  color: #fff; /* Adjust color to match form style */
}

/* Style for the checkbox */
.checkbox-container input[type="checkbox"] {
  margin-right: 10px;
  width: 16px;
  height: 16px;
}
