* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}

body {
  font-family: Open Sans;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  height: auto;
  /* overflow: hidden; */
  background: url(bg6.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  overflow-x: hidden;
  background-position: bottom -43px center;
}

a:hover {
  text-decoration: none !important;
}

.modal-content .flex {
  align-items: center;
  display: flex;
  justify-content: center;
}

.text-section .container-fluid {
  width: 78%;
  margin: auto;
  display: block;
}

/*WRAPPER*/
#wrapper {
  margin: 214px auto 0;
  width: 266px;
  position: relative;
  height: 69vh;
  margin-right: 9.5em;
}

.smiley-face {
  font-size: 70px;
}

.green-text-style {
  color: #016a0f;
  font-style: italic;
  font-size: 32px !important;
  font-weight: 600 !important;
  margin: 18px 0;
  margin-bottom: 15px !important;
  line-height: 33px;
}

#txt {
  color: #f0f;
}

.button-clicked {
  background-color: #b1b1b1 !important;
  border: 1px solid #b1b1b1 !important;
  width: 113px !important;
}

/*WHEEL*/
#wheel {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  position: relative;
  /* overflow: hidden; */
  border: 8px solid #cca400;
  box-shadow: rgb(0 0 0 / 35%) -10px 13px 10px, rgb(0 0 0 / 5%) 0px 3px 0px;
  transform: rotate(0deg);
  transform: scale(2.2) rotate(344deg);
}

#wheel:before {
  content: "";
  position: absolute;
  /* border: 2px solid rgb(0 0 0); */
  width: 235px;
  height: 235px;
  border-radius: 50%;
  z-index: 1000;
  left: -1px;
  top: 0px;
  box-shadow: inset -2px 1px 10px 4px #292929cc;
}

#inner-wheel {
  width: 100%;
  height: 100%;

  -webkit-transition: all 6s cubic-bezier(0, 0.99, 0.44, 0.99);
  -moz-transition: all 6 cubic-bezier(0, 0.99, 0.44, 0.99);
  -o-transition: all 6s cubic-bezier(0, 0.99, 0.44, 0.99);
  -ms-transition: all 6s cubic-bezier(0, 0.99, 0.44, 0.99);
  transition: all 6s cubic-bezier(0, 0.99, 0.44, 0.99);

  position: relative;
  overflow: hidden;
  border-radius: 50%;
}

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  height: calc(100% + 56px);
  width: calc(100% + 56px);

  height: calc(100% + 18px);
  width: calc(100% + 18px);
  transform: translate(-50%, -50%);
  /* transition: all 6s cubic-bezier(0, 0.99, 0.44, 0.99); */
  transform-origin: center center;
  z-index: -9;
}

#wheel div.sec {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-right-width: 220px !important;
  border-width: 130px 75px 0;
  border-color: #7cf86c transparent;
  transform-origin: 75px 129px;
  left: 43px;
  top: -12px;
  opacity: 1;
}

/* #wheel div.sec:nth-child(even){
background-c-color: yellow;
} */
.modal-head-text {
  font-family: 'Dancing Script', cursive;
  font-family: "EB Garamond", serif;

  color: #8a0000;
  font-size: 25px;
  margin-bottom: 16px;
  margin-top: 12px;
  font-weight: bold;
}

.modal-head-text span {
  font-size: 35px;
  font-weight: 900;
}

.copy-val-offer {
  color: #656565;
  font-size: 36px;
  margin-bottom: 38px;
  display: inline-block;
  border: 1px dashed #828282;
  padding: 4px 7px;
  margin-right: 144px;
  border-radius: 4px;
  background: #fff;
  min-width: 32%;
  margin-right: 8px;
  margin-bottom: 0;
}

.btn-copy-style {
  /* position: absolute; */
  top: 10em;
  right: 7em;
}

.btn-copy-style2 {
  display: block !important;
  max-width: 32% !important;
  margin: auto !important;
  background: #016a0f !important;
  border: 1px solid #016a0f !important;
  margin-top: 2em !important;
}

.modal-body p {
  margin-bottom: 0;
}

.congratulation-text {
  font-size: 35px;
  font-weight: 900;
  font-family: "EB Garamond", serif;
  color: #8a0000;
}

.text-simple {
  font-weight: 200 !important;
  color: #585858;
  font-size: 25px !important;
  padding: 0 15px;
}

.modal-body {
  /* background-image: url(bg2.jpg); */
  min-height: 358px;
  min-height: 324px;
  border-radius: 20px !important;
  background-position: center;
  background-size: cover;
  background: #f0f0f0;
}

.modal-content {
  border-radius: 20px !important;
}

#wheel div.sec .fa {
  margin-top: -100px;
  color: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 10000000;
  display: block;
  text-align: center;
  font-size: 36px;
  margin-left: -15px;

  text-shadow: rgba(255, 255, 255, 0.1) 0px -1px 0px,
    rgba(0, 0, 0, 0.2) 0px 1px 0px;
}

#spin {
  width: 54px;
  height: 54px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -31px 0 0 -27px;
  border-radius: 50%;
  /* box-shadow: rgb(221 181 0 / 63%) -1px 0px 20px 14px; */
  z-index: 1000;
  background: #fff;
  cursor: pointer;
  font-family: "Exo 2", sans-serif;
  border: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

#spin:after {
  content: "SPIN";
  text-align: center;
  line-height: 50px;
  color: #bd0000;
  position: relative;
  z-index: 100000;
  width: 53px;
  height: 49px;
  display: block;
  font-size: 10px;
  transform: scale(1.2) rotate(374deg);
}

#spin:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3px 6px 21px 24px;
  border-color: transparent transparent #ffffff transparent;
  top: -14px;
  left: 14px;
}

#inner-spin {
  width: 42px;
  height: 42px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -21px 0 0 -21px;
  border-radius: 50%;
  background: red;
  z-index: 999;
  /* box-shadow: rgba(255, 255, 255, 1) 0px -2px 0px inset,
  rgba(255, 255, 255, 1) 0px 2px 0px inset, rgba(0, 0, 0, 0.4) 0px 0px 5px; */

  background: rgb(255, 255, 255);
  /* Old browsers */
  background: -moz-radial-gradient(center,
      ellipse cover,
      rgba(255, 255, 255, 1) 0%,
      rgba(234, 234, 234, 1) 100%);
  /* FF3.6+ */
  background: -webkit-gradient(radial,
      center center,
      0px,
      center center,
      100%,
      color-stop(0%, rgba(255, 255, 255, 1)),
      color-stop(100%, rgba(234, 234, 234, 1)));
  /* Chrome,Safari4+ */
  background: -webkit-radial-gradient(center,
      ellipse cover,
      rgba(255, 255, 255, 1) 0%,
      rgba(234, 234, 234, 1) 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-radial-gradient(center,
      ellipse cover,
      rgba(255, 255, 255, 1) 0%,
      rgba(234, 234, 234, 1) 100%);
  /* Opera 12+ */
  background: -ms-radial-gradient(center,
      ellipse cover,
      rgba(255, 255, 255, 1) 0%,
      rgba(234, 234, 234, 1) 100%);
  /* IE10+ */
  background: radial-gradient(ellipse at center,
      rgb(251 255 57) 0%,
      rgb(255 156 0) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eaeaea', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */

  background: radial-gradient(ellipse at center, rgb(255 198 212) 0%, rgb(193 81 98) 100%);
}

#spin:active #inner-spin {
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 5px inset;
}

#spin:active:after {
  font-size: 15px;
}

#shine {
  width: 250px;
  height: 250px;
  position: absolute;
  top: 0;
  left: 0;
  background: -moz-radial-gradient(center,
      ellipse cover,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.99) 1%,
      rgba(255, 255, 255, 0.91) 9%,
      rgba(255, 255, 255, 0) 100%);
  /* FF3.6+ */
  background: -webkit-gradient(radial,
      center center,
      0px,
      center center,
      100%,
      color-stop(0%, rgba(255, 255, 255, 1)),
      color-stop(1%, rgba(255, 255, 255, 0.99)),
      color-stop(9%, rgba(255, 255, 255, 0.91)),
      color-stop(100%, rgba(255, 255, 255, 0)));
  /* Chrome,Safari4+ */
  background: -webkit-radial-gradient(center,
      ellipse cover,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.99) 1%,
      rgba(255, 255, 255, 0.91) 9%,
      rgba(255, 255, 255, 0) 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-radial-gradient(center,
      ellipse cover,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.99) 1%,
      rgba(255, 255, 255, 0.91) 9%,
      rgba(255, 255, 255, 0) 100%);
  /* Opera 12+ */
  background: -ms-radial-gradient(center,
      ellipse cover,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.99) 1%,
      rgba(255, 255, 255, 0.91) 9%,
      rgba(255, 255, 255, 0) 100%);
  /* IE10+ */
  background: radial-gradient(ellipse at center,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.99) 1%,
      rgba(255, 255, 255, 0.91) 9%,
      rgba(255, 255, 255, 0) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=1);
  /* IE6-9 fallback on horizontal gradient */

  opacity: 0.1;
}

/*ANIMATION*/
@-webkit-keyframes hh {

  0%,
  100% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }

  50% {
    transform: rotate(7deg);
    -webkit-transform: rotate(7deg);
  }
}

@keyframes hh {

  0%,
  100% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }

  50% {
    transform: rotate(7deg);
    -webkit-transform: rotate(7deg);
  }
}

.spin {
  -webkit-animation: hh 0.1s;
  /* Chrome, Safari, Opera */
  animation: hh 0.1s;
}





.topbar {
  background-image: url(header.jpg);
  background-repeat: repeat;
  /* border-bottom: 8px solid #a24343; */
  background-position: center;
  background-size: cover;
  padding: 5px 0;
  background: #fff;
}

.topbar .logo {
  width: 23%;
}

.topbar .row {
  align-items: center;
}

.topbar p {
  text-align: right;
  margin-bottom: 0;
  color: #656565;
}

.topbar .fa-phone {
  padding-left: 10px;
  color: #950000;
}

.topbar .fa-envelope {
  color: #950000;
}

#wheel div.sec .p-text1 {
  margin-top: -88px;
  color: #0e425e;
  position: relative;
  z-index: 10000000;
  display: block;
  text-align: center;
  font-size: 10px;
  margin-left: -14px;
  transform: rotate(15deg);
  width: 119px;
  left: -25px;
  font-weight: 600;
}

#wheel div.sec .p-text2 {
  margin-top: -85px;
  color: #0e425e;
  position: relative;
  z-index: 10000000;
  display: block;
  text-align: center;
  font-size: 10px;
  margin-left: -7px;
  transform: rotate(15deg);
  width: 100px;
  left: -25px;
  font-weight: 600;
}

#wheel div.sec .p-text3 {
  margin-top: -88px;
  color: #0e425e;
  position: relative;
  z-index: 10000000;
  display: block;
  text-align: center;
  font-size: 10px;
  margin-left: -9px;
  transform: rotate(16deg);
  width: 112px;
  left: -27px;
  font-weight: 600;
}

#wheel div.sec .p-text4 {
  margin-top: -87px;
  color: #0e425e;
  position: relative;
  z-index: 10000000;
  display: block;
  text-align: center;
  font-size: 10px;
  margin-left: -9px;
  transform: rotate(15deg);
  width: 104px;
  left: -27px;
  font-weight: 600;
}

#wheel div.sec .p-text5 {
  margin-top: -79px;
  color: rgb(0 0 0);
  position: relative;
  z-index: 10000000;
  display: block;
  text-align: center;
  font-size: 7px;
  margin-left: -16px;
  transform: rotate(272deg);
  width: 103px;
  left: -31px;
}

#wheel div.sec .p-text6 {
  margin-top: -93px;
  color: rgb(0 0 0);
  position: relative;
  z-index: 10000000;
  display: block;
  text-align: center;
  font-size: 10px;
  margin-left: -16px;
  text-shadow: rgb(255 255 255 / 10%) 0px -1px 0px, rgb(0 0 0 / 20%) 0px 1px 0px;
  transform: rotate(270deg);
  width: 103px;
  left: -35px;
}



footer {
  background-color: #48331c;
  text-align: center;
  color: #fff;
  padding: 15px;
  /* margin-top: 8em; */
}

footer p {
  margin-bottom: 0;
}

#spin:disabled {
  /* opacity: 0.9; */
  cursor: not-allowed;
}

#spinBtn:disabled {
  /* opacity: 0.9; */
  cursor: not-allowed;
}

.swal2-popup {
  left: 0 !important;
  display: block !important;
  vertical-align: middle !important;
  top: 0 !important;
}

.button-2 {
  margin-left: 6px;
}


.text-section {
  margin-top: 4em;
}

.text-section .spin-head-text {
  /* text-align: center; */
  color: #0e425e;
  font-size: 45px;
  /* text-transform: uppercase; */
  line-height: 71px;
  font-weight: 700;
  font-family: "Philosopher", sans-serif;
  font-family: "Paytone One", sans-serif;
  margin-top: 6em;
  margin-left: 0;
}

.text-section .spin-head-text span {
  text-transform: none;
  font-weight: 100;
  font-size: 42px;
}

.text-section .spin-next-text {
  color: #0e425e;
  margin: 0.5em 0;
  font-family: "EB Garamond", serif;
  text-align: center;
  font-size: 31px;
  font-weight: 100;
  margin-top: .5em;
  text-align: left;
}

.black-text {
  color: #000;
  font-weight: normal;
}

@media (min-width: 350px) and (max-width: 380px) {
  #wheel {
    transform: scale(1.3) rotate(344deg);
    position: absolute;
    transform: scale(1.3) rotate(344deg) translate(16px, 0);
    width: 224px;
    height: 224px;
  }

  #wheel:before {
    content: "";
    position: absolute;
    border: 2px solid rgb(0 0 0);
    width: 211px;
    height: 210px;
    border-radius: 50%;
    z-index: 1000;
    left: -1px;
    top: 0px;
    box-shadow: inset -2px 1px 10px 4px #292929cc;
  }

  #wheel div.sec {
    border-style: solid;
    border-right-width: 193px !important;
    border-width: 126px 68px 0;
    /* border-color: rgb(251 255 57) transparent; */
    transform-origin: 68px 119px;
    left: 36px;
    top: -12px;
  }

  .btn-copy-style2 {
    max-width: 36% !important;
  }

  .topbar p {
    font-size: 12px;
    text-align: center;
    margin-top: 9px;
    border-top: 1px solid #77000036;
    padding-top: 8px;
  }

  .topbar img {
    margin: auto;
    display: block;
  }

  .copy-val-offer {
    font-size: 25px;
    min-width: 30%;
    margin-top: 2%;
    margin-right: 135px;
  }

  .btn-copy-style {
    right: 4em;
    top: 9.6em;
  }

  .modal-head-text {
    font-size: 18px;
  }
}

@media (min-width: 381px) and (max-width: 420px) {
  #wheel {
    transform: scale(1.5) rotate(344deg);
    width: 222px;
    height: 222px;
    transform: scale(1.3) rotate(344deg) translate(16px, 0);
    position: absolute;
  }

  #wheel:before {
    content: "";
    position: absolute;
    border: 2px solid rgb(0 0 0);
    width: 206px;
    height: 206px;
    border-radius: 50%;
    z-index: 1000;
    left: 0px;
    top: 0px;
    box-shadow: inset -2px 1px 10px 4px #292929cc;
  }

  #wheel div.sec {
    border-style: solid;
    border-right-width: 202px !important;
    border-width: 126px 68px 0;
    /* border-color: rgb(39, 107, 46) transparent; */
    transform-origin: 68px 121px;
    left: 36px;
    top: -12px;
  }

  #wheel div.sec .p-text3 {
    margin-top: -84px;
  }

  .topbar p {
    font-size: 12px;
    text-align: center;
    margin-top: 9px;
    border-top: 1px solid #77000036;
    padding-top: 8px;
  }

  .topbar img {
    margin: auto;
    display: block;
  }

  .copy-val-offer {
    font-size: 25px;
    min-width: 30%;
    margin-top: 2%;
    margin-right: 124px;
  }

  .btn-copy-style {
    right: 4.2em;
    top: 10.3em;
  }

  .modal-head-text {
    font-size: 25px;
    margin-top: 0;
  }
}

@media (min-width: 421px) and (max-width: 450px) {
  #wheel {
    transform: scale(1.5) rotate(344deg);
    width: 236px;
    height: 236px;
    transform: scale(1.4) rotate(344deg) translate(16px, 0);
    position: absolute;
  }

  #wheel:before {
    content: "";
    position: absolute;
    border: 2px solid rgb(0 0 0);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    z-index: 1000;
    left: 0px;
    top: 0px;
    box-shadow: inset -2px 1px 10px 4px #292929cc;
  }

  #wheel div.sec {
    border-style: solid;
    border-right-width: 206px !important;
    border-width: 128px 68px 0;
    /* border-color: rgb(251 255 57) transparent; */
    transform-origin: 68px 121px;
    left: 36px;
    top: -12px;
  }

  .copy-val-offer {
    font-size: 25px;
    min-width: 30%;
    margin-top: 2%;
    margin-right: 124px;
  }

  .btn-copy-style {
    right: 5em;
    top: 9.9em;
  }

  .modal-head-text {
    font-size: 22px;
  }
}

@media (min-width: 451px) and (max-width: 470px) {
  #wheel {
    transform: scale(1.4) rotate(344deg);
    margin: auto;
  }

  .copy-val-offer {
    font-size: 25px;
    min-width: 30%;
    margin-top: 2%;
    margin-right: 124px;
  }

  .btn-copy-style {
    right: 6em;
    top: 10em;
  }

  .modal-head-text {
    font-size: 22px;
  }
}

@media (min-width: 471px) and (max-width: 577px) {
  #wheel {
    transform: scale(1.4) rotate(344deg);
    margin: auto;
  }

  .copy-val-offer {
    font-size: 25px;
    min-width: 30%;
    margin-top: 2%;
    margin-right: 124px;
  }

  .btn-copy-style {
    right: 6em;
    top: 10em;
  }

  .modal-head-text {
    font-size: 22px;
  }
}


@media (min-width: 412px) and (max-width: 446px) {
  .topbar p {
    font-size: 12px;
    text-align: center;
    margin-top: 9px;
    border-top: 1px solid #77000036;
    padding-top: 8px;
  }

  .topbar img {
    margin: auto;
    display: block;
  }
}

@media (min-width: 447px) and (max-width: 580px) {
  .topbar p {
    font-size: 13px;
    text-align: center;
    margin-top: 9px;
    border-top: 1px solid #77000036;
    padding-top: 8px;
  }

  .topbar img {
    margin: auto;
    display: block;
  }

  .copy-val-offer {
    font-size: 25px;
    min-width: 30%;
    margin-top: 2%;
    margin-right: 124px;
  }

  .btn-copy-style {
    right: 6em;
  }
}


@media screen and (max-width: 767px) {
  body {
    /* background-image: url(m_site_bg.jpg); */
    background-position: bottom 0 left -185px;
    background-size: cover;
  }

  .topbar .logo {
    margin: auto;
    display: block;
    margin-bottom: 8px;
  }

  .topbar p {
    font-size: 11px;
    text-align: center;
    margin-top: 9px;
    border-top: 1px solid #77000036;
    padding-top: 8px;
  }

  .text-section .spin-head-text {
    font-size: 28px;
    line-height: 35px;
    margin-top: 0;
    text-align: center;
  }

  .text-section .spin-head-text span {
    font-size: 25px;
    display: block;
    margin-top: 15px;
    /* line-height: 4px; */
  }

  .text-section {
    margin-top: 3em;
  }

  .text-section .spin-next-text {
    font-size: 19px;
    text-align: center;
    margin-top: 1em;
  }

  .m-top-0 {
    margin-top: 0 !important;
  }

  #wrapper {
    margin: 76px auto 0;
  }

  .text-section .container-fluid {
    width: 92%;
  }

  .copy-val-offer {
    margin-right: 8px;
    margin-top: 0;
  }

  .modal-head-text span {
    font-size: 28px;
  }

  .green-text-style {
    font-size: 22px !important;
  }

  .congratulation-text {
    font-size: 28px;

  }

  .text-simple {
    font-size: 20px !important;
  }

  footer p {
    font-size: 12px;
  }
}

@media (min-width: 578px) and (max-width: 767px) {
  .text-section {
    margin-top: 3em;
  }

  #wheel {
    transform: scale(1.5) rotate(344deg);
  }
}

@media (min-width: 1240px) and (max-width: 1370px) {
  .text-section .spin-head-text {
    margin-top: 4em;
    font-size: 32px;
    line-height: 52px;
  }

  .text-section .spin-next-text {
    margin-top: 0.5em;
    font-size: 23px;
  }

  .text-section .spin-head-text span {
    font-size: 29px;
  }

  #wheel {
    transform: scale(1.5) rotate(344deg);
  }

  .text-section .container-fluid {
    width: 85%;
  }

  #wrapper {
    margin: 124px auto 0;
    margin-right: 6.5em;
    height: stretch;
  }

  body {
    background-position: bottom -13px center;
  }
}

@media (min-width: 1371px) and (max-width: 1900px) {
  .text-section .spin-head-text {
    margin-top: 4em;
    font-size: 42px;
    line-height: 52px;
  }

  .text-section .spin-next-text {
    margin-top: 0.5em;
  }

  .text-section .spin-head-text span {
    font-size: 32px;
  }

  #wheel {
    transform: scale(1.8) rotate(344deg);
  }

  .text-section .container-fluid {
    width: 85%;
  }

  #wrapper {
    margin: 124px auto 0;
    margin-right: 6.5em;
    height: stretch;
  }

  body {
    background-position: bottom -13px center;
  }

  .text-section .spin-next-text {
    font-size: 26px;
  }
}


@media (min-height: 597px) and (max-height: 655px){
  #wrapper{
    margin: 70px auto 0;
  }
}
@media (min-height: 656px) and (max-height: 700px){
  #wrapper{
    margin: 70px auto 0;
  }
}
@media (min-height: 701px) and (max-height: 750px){
  .text-section .spin-head-text{
    margin-top: 6em;
  }
}
@media (min-height: 751px) and (max-height: 1025px){
  .text-section .spin-head-text{
    margin-top: 6em;
  }
}


@media screen and (max-width: 767px) {
  .text-section .spin-head-text{
    margin-top: 1em;
  }
}