body {
  font-family: arial;
}

/* Sets the background image for the wheel */
.the_wheel {
  display: block;
  background-image: url(http://blogkienthuc247.com/wp-content/uploads/2023/10/wheel_back.png);
  background-position: center;
  background-repeat: no-repeat;

}

/* Do some css reset on selected elements */
h1, p {
  margin: 0;
}

div.power_controls {
  margin-right: 70px;
}

div.html5_logo {
  margin-left: 70px;
}

/* Styles for the power selection controls */
table.power {
  background-color: #cccccc;
  cursor: pointer;
  border: 1px solid #333333;
}

table.power th {
  background-color: white;
  cursor: default;
}

td.pw1 {
  background-color: #6fe8f0;
}

td.pw2 {
  background-color: #86ef6f;
}

td.pw3 {
  background-color: #ef6f6f;
}

/* Style applied to the spin button once a power has been selected */
.clickable {
  cursor: pointer;
}

/* Other misc styles */
.margin_bottom {
  margin-bottom: 5px;
}

#spin_button {
  position: absolute;
  top: 47%;
  left: 44.5%;
  border-radius: 50%;
  width: 80px;
  height: 80px;

  color: red;
  border: none;
  padding: 0px;
  font-size: 18px;
  cursor: pointer;
}



.Click-here {
  cursor: pointer;
  background-image: linear-gradient(190deg, #f83600 0%, #fee140 100%);
  color: #fff;
  width: 180px;
  text-align: center;
  font-size: 16px;
  padding: 18px 0;
  margin: 0 auto;
  transition: background-image 3s ease-in-out;
}

.Click-here:hover {
  transition: background-image 3s ease-in-out;
  background-image: linear-gradient(90deg, #fee140 0%, #f83600 100%);
}

.nd-custom-model-main {
  text-align: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* z-index: 1050; */
  -webkit-overflow-scrolling: touch;
  outline: 0;
  opacity: 0;
  -webkit-transition: opacity 0.15s linear, z-index 0.15;
  -o-transition: opacity 0.15s linear, z-index 0.15;
  transition: opacity 0.15s linear, z-index 0.15;
  z-index: -1;
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 300px;
  min-height: 300px;
}

.model-open {
  z-index: 99999;
  opacity: 1;
  overflow: hidden;
}

.nd-custom-model-inner {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  display: inline-block;
  vertical-align: middle;
  width: 600px;
  margin: 30px auto;
  max-width: 97%;
}

.nd-custom-model-wrap {
  display: block;
  width: 100%;
  position: relative;
  background-color: #fff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: 0;
  text-align: left;
  padding: 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.model-open .nd-custom-model-inner {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  position: relative;
  z-index: 999;
}

.model-open .bg-overlay {
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}

.bg-overlay {
  background: rgba(0, 0, 0, 0);
  height: 100vh;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-transition: background 0.15s linear;
  -o-transition: background 0.15s linear;
  transition: background 0.15s linear;
}

.nd-close-btn {
  position: absolute;
  right: 0;
  top: -30px;
  cursor: pointer;
  z-index: 99;
  font-size: 30px;
  color: #fff;
}

@media screen and (min-width:800px) {
  .nd-custom-model-main:before {
    content: "";
    display: inline-block;
    height: auto;
    vertical-align: middle;
    margin-right: -0px;
    height: 100%;
  }
}

@media screen and (max-width:799px) {
  .custom-model-inner {
    margin-top: 45px;
  }
}

.nd-title-gift {
  text-align: center;
  font-size: 22px;
}

.nd-form-input {
  width: 80%;
}

.nd-form-submit {
  background-color: #333333;
  color: #fff;
  width: 18%;
  ;
}

.pop-up-content-wrap h2 {
  text-transform: capitalize;
}

.nd_huong_dan {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding: 10px 50px;
  background-color: #333333;
  color: #fff;
}

.nd-mt-1 {
  margin-top: 10px;
}

/* The Modal (background) */
.ebcf_modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 9999999;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content */
.ebcf_modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.ebcf_close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.ebcf_close:hover,
.ebcf_close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#wheelOfFortune {
  display: inline-flex;
  position: relative;
  /* height: 720px;
width: 720px; */
  overflow: hidden;
}

#wheel {
  display: block;
}

#spin {
  font: 1.5rem/0 sans-serif;
  user-select: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  height: 30%;
  margin: -15%;
  background: #fff;
  color: #fff;
  box-shadow: 0 0 0 8px currentColor, 0 0px 15px 5px rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transition: 0.8s;
}

#spin::after {
  content: '';
  position: absolute;
  top: -17px;
  border: 10px solid transparent;
  border-bottom-color: currentColor;
  border-top: none;
}

.as-console-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 150px;
  overflow-y: scroll;
  overflow-x: hidden;
  border-top: 1px solid #000;
  display: none;
}

.as-console {
  background: #e9e9e9;
  border: 1px solid #ccc;
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.as-console-row {
  display: table-row;
  font-family: monospace;
  font-size: 13px;
}

.as-console-row:after {
  display: table-cell;
  padding: 3px 6px;
  color: rgba(0, 0, 0, .35);
  border: 1px solid #ccc;
  content: attr(data-date);
  vertical-align: top;
}

.as-console-row+.as-console-row>* {
  border: 1px solid #ccc;
}

.as-console-row-code {
  width: 100%;
  white-space: pre-wrap;
  padding: 3px 5px;
  display: table-cell;
  font-family: monospace;
  font-size: 13px;
  vertical-align: middle;
}

.as-console-error:before {
  content: 'Error: ';
  color: #f00;
}

.as-console-assert:before {
  content: 'Assertion failed: ';
  color: #f00;
}

.as-console-info:before {
  content: 'Info: ';
  color: #00f;
}

.as-console-warning:before {
  content: 'Warning: ';
  color: #e90
}

@-webkit-keyframes flash {
  0% {
    background: rgba(255, 240, 0, .25);
  }

  100% {
    background: none;
  }
}

@-moz-keyframes flash {
  0% {
    background: rgba(255, 240, 0, .25);
  }

  100% {
    background: none;
  }
}

@-ms-keyframes flash {
  0% {
    background: rgba(255, 240, 0, .25);
  }

  100% {
    background: none;
  }
}

@keyframes flash {
  0% {
    background: rgba(255, 240, 0, .25);
  }

  100% {
    background: none;
  }
}

.as-console-row-code,
.as-console-row:after {
  -webkit-animation: flash 1s;
  -moz-animation: flash 1s;
  -ms-animation: flash 1s;
  animation: flash 1s;
}
#link {
    text-align: center;
    width: 30%;
    margin: 0 auto;
}

.link_huong_dan {
    color: red;
    display: block;
    background: #21f307;
    color: #fff!important;
    padding: 10px;
    font-weight: bold;
    text-transform: capitalize;
}
