

body {
  color: var(--fontcol);
  background: var(--bgcol);
  font-family: var(--fontfam);
    background-repeat: var(--bgrep) ;
}

.shadedarea {
  background-color: var(--altbgcol);
  color: var(--altfontcol);
  border-radius: 15px;
  border: 2px solid var(--altbordercol);
  box-shadow:var(--altshadow);

}
.titles {

  margin: 0px 0px;
}

.numbord {

  border: 1px solid white;
  border-radius: 5px;

  background: var(--fontcol);
  color: var(--bgcol);
}
.shadedarea2{
  background-color: rgba(255,255,255,0.5);
  color: var(--altfontcol);
  border-radius: 0px;
  border: 3px solid var(--altbordercol);
  box-shadow:var(--altshadow);

}
.mega {
  font-size: 23px;
}
strong {

  font-weight: 600;
}
.center {
  text-align: center;
}

.lbot {

    background-image: var(--bgimage1);
  background-size: 300px auto;
    background-attachment: var(--bgattach);
    background-repeat: var(--bgrep) ;
      background-position: top right ;
      overflow-x: hidden;
}
.rbot {

    background-image: var(--bgimage2);
  background-size: 300px auto;
    background-attachment: var(--bgattach);
    background-repeat: var(--bgrep) ;
      background-position: top left;
      overflow-x: hidden;
}

.fill {
background-image: none;
}
/*start of countdown*/
.nums {

font-size: 36px;
  border-radius: 7px;
  padding: 0px 0px;
  margin: 2px;

}



ul {
  overflow: hidden;
  white-space: nowrap;
  padding: 0;
  margin-bottom: 0;

}

li {
display: inline-block;
  font-size: 0.9rem;
  list-style-type: none;
  padding: 0px 5px;
  font-weight: 600;
  color: #ffffff;

}


li span {
  display: inline-block;
  font-size: 1.5rem;
}
/*end countdown*/
.flymiddlesmall {

width: 500px;
}


input[type="submit"],
input[type="reset"]  {

  background-color: var(--buttoncol);
  color: var(--buttonfont);
  border-radius: 15px;
  border: 3px solid var(--buttonbordercol);
  cursor: pointer;
  font-family: var(--fontfam);
    box-shadow:var(--buttonshadow);
    font-weight: 900;
}


.logoimg {
  position: relative !IMPORTANT;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  max-width: 500px;
  display: block;
  max-height: unset !important;
  padding-right: 0px !important;

}
.checkarea2 {

  text-align: left;
}


.logo {
    width: 85%;
    max-width: 600px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    z-index: 0;
    content: var(--logo);

}
.footerimg {
    max-width: 450px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 0;
    content: var(--footer);
    
display: inline-block;


}
.leftbotimg {
    max-width: 33%;
    height: auto;
    display: block;
    margin-left: 0;
    z-index: 0;
    content: var(--footer1);
display: inline-block;
float: left;
  object-fit: contain;
  object-position: bottom;
}
.rightbotimg {
    max-width: 33%;
    height: auto;
    display: block;
    margin-right: 0 ;
    z-index: 0;
    content: var(--footer2);
    
display: inline-block;
float: right;
  object-fit: contain;
  object-position: bottom;
}

.pagefooterimg {
    max-width: 450px;
    min-width: 300px;
    height: auto;
    display: block;
    margin-left: 0;
    z-index: 0;
    content: var(--pagefooter);
    margin-top: -1px;
    width:70%;
}
.formfooter {

height:fit-content;
display: flex;
}
.footerimgarea {
width: 100vw;
}

.pagefooter {

  background-color: var(--footerbgcol);
  
  color: var(--footerfontcol);
height:auto;
margin-top: -200px;
pointer-events: none;
z-index: 2;
  position: relative;
}
.footercontainer {
max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}


.btn {
  background-color: var(--buttoncol);
  color: var(--buttonfont);
  border: 1px solid var(--buttonbordercol);
  cursor: pointer;
}

.link {
  color: var(--linkcol);
  text-decoration: none;
}

.shadedarea {
margin-top: 0px !important;
margin-bottom: 30px;
}


/* present anim*/


.present {
  height: 200px;
  left: 0;
  margin: 0 auto;
  perspective: 600px;
  position: relative;
  right: 0;
/*   top: 50%;
  transform: translateY(-50%); */
  margin-top: 90px;
  margin-bottom: 80px;
  width: 200px;
}

.name {
  font-size: 2em;
  font-weight: 100;
  position: absolute;
  text-align: center;
  top: 44%;
  transform: translate3d(0, -50%, 0) rotateY(0) rotateX(0);
  transition: transform 2.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  width: 100%;
}

.instruction {
  bottom: -70px;
  left: 0;
  opacity: 1;
  position: absolute;
  text-align: center;
  transition: opacity 0.5s;
  width: 100%;
  color: var(--footerfontcol);
}

.rotate-container {
  -webkit-animation: present-rotate 30s infinite linear;
          animation: present-rotate 30s infinite linear;
  height: 100%;
  transform: rotateY(170deg);
  transform-style: preserve-3d;
}

@-webkit-keyframes present-rotate {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes present-rotate {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}
.bottom,
.front,
.left,
.back,
.right {
  background-color: #51348d;
  border: 2px solid rgba(0, 0, 0, 0.6);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}

.bottom {
  transform: translateY(50%) rotateX(90deg);
}

.front,
.left,
.back,
.right {
  transition: transform 0.5s;
  transform-origin: bottom;
  transform-style: preserve-3d;
}

.front:after,
.left:after,
.back:after,
.right:after,
.lid-top:after,
.lid-front:after,
.lid-left:after,
.lid-back:after,
.lid-right:after {
  background: linear-gradient(45deg, #d4af37 5%, #debc5b 10%, #e7c97c 30%, #efd69d 50%, #e7c97c 70%, #debc5b 80%, #d4af37 95%);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  content: "";
  height: 100%;
  left: calc(50% - 10px);
  position: absolute;
  transform: translateZ(0.1px);
  width: 20px;
}

.lid-top:before {
  background: linear-gradient(45deg, #d4af37 5%, #debc5b 10%, #e7c97c 30%, #efd69d 50%, #e7c97c 70%, #debc5b 80%, #d4af37 95%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  content: "";
  height: 20px;
  left: 0;
  position: absolute;
  top: calc(50% - 10px);
  transform: translateZ(0.1px);
  width: 100%;
}

.left {
  transform: translateX(-50%) rotateY(-90deg);
}

.back {
  transform: translateZ(-100px) rotateY(180deg) rotateX(0);
}

.right {
  transform: translateX(50%) rotateY(90deg);
}

.front {
  transform: translateZ(100px);
}

.lid {
  -webkit-animation: lid-animation 3.5s 1s infinite;
          animation: lid-animation 3.5s 1s infinite;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transition: transform 0.5s;
}

@-webkit-keyframes lid-animation {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0);
  }
  5% {
    transform: translate3d(0, -10px, -5px) rotateX(5deg);
  }
  10% {
    transform: translate3d(0, -10px, 5px) rotateX(-5deg);
  }
  15% {
    transform: translate3d(0, -10px, -5px) rotateX(5deg);
  }
  20% {
    transform: translate3d(0, -10px, 5px) rotateX(-5deg);
  }
  25% {
    transform: translate3d(0, -10px, -5px) rotateX(5deg);
  }
  30% {
    transform: translate3d(0, 0, 0) rotateX(0);
  }
}

@keyframes lid-animation {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0);
  }
  5% {
    transform: translate3d(0, -10px, -5px) rotateX(5deg);
  }
  10% {
    transform: translate3d(0, -10px, 5px) rotateX(-5deg);
  }
  15% {
    transform: translate3d(0, -10px, -5px) rotateX(5deg);
  }
  20% {
    transform: translate3d(0, -10px, 5px) rotateX(-5deg);
  }
  25% {
    transform: translate3d(0, -10px, -5px) rotateX(5deg);
  }
  30% {
    transform: translate3d(0, 0, 0) rotateX(0);
  }
}
.lid-top,
.lid-left,
.lid-back,
.lid-right,
.lid-front {
  background-color: #51348d;
  border: 4px solid rgba(0, 0, 0, 0.4);
  left: -5px;
  opacity: 1;
  position: absolute;
  top: 0;
  width: 210px;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}

.lid-top {
  height: 210px;
  top: -5px;
  transform: translateY(-50%) rotateX(90deg);
  transform-style: preserve-3d;
}

.lid-left,
.lid-back,
.lid-right,
.lid-front {
  height: 40px;
  top: -5px;
  transform-style: preserve-3d;
}

.lid-left {
  transform: translateX(-50%) rotateY(-90deg);
}

.lid-back {
  transform: translateZ(-105px) rotateY(180deg);
}

.lid-right {
  transform: translateX(50%) rotateY(90deg);
}

.lid-front {
  transform: translateZ(105px);
}

.present:hover .lid {
  -webkit-animation: none;
          animation: none;
  transform: translate3d(0, -40px, -10px) rotateX(10deg);
}

.present.open .name {
  transform: translate3d(0, -50%, 10px) rotateY(1080deg) rotateX(10deg);
}
.present.open .instruction {
  opacity: 0;
}
.present.open .left {
  transform: translateX(-50%) rotateY(-90deg) rotateX(-90deg);
}
.present.open .back {
  transform: translateZ(-100px) rotateY(180deg) rotateX(-90deg);
}
.present.open .right {
  transform: translateX(50%) rotateY(90deg) rotateX(-90deg);
}
.present.open .front {
  transform: translateZ(100px) rotateX(-90deg);
}
.present.open .lid {
  -webkit-animation: none;
          animation: none;
  transform: translate3d(0, -120px, -120px) rotateX(50deg);
}
/*present anim*/
/* scratchcard*/

img{border:0;vertical-align:middle;}
.hide{
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 1s, opacity 1s linear;
  }
#title{font-size:18px;text-align:center;}
.box, .content{width:400px;height:360px;}
.box img{max-width:400px;max-height: 360px;}
.box{position:relative;overflow:hidden;margin:0 auto;}
.content{position: relative;overflow:hidden;text-align:center;background:rgba(0, 0, 0, 0.0);}
.mask{position:absolute;top:0;left:0;width:400px;height:360px;cursor: pointer;background-attachment: fixed;}
/*end scratchcard*/

/*spnner*/

.popover2{
  pointer-events: none;
    display: flex;
  justify-content: center;
  align-items: center;
  opacity:0;
  width: 100%;
  height: 100dvh;
  position: absolute;
  top: 0 ;
background-color: rgba(0,0,0, 0.6);
  
animation: fade 3s linear;


}

@keyframes fade{
    0% { 
      opacity:1;
      transform:scale(1); 
    } 

        90% { 
  opacity:1;
      transform:scale(1); 

    } 
    100% { 
  opacity:0;
      transform:scale(0); 
    } 

}



.spinner {
      width: 50%;
    max-width: 300px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 0;
    content: var(--spinner);
animation: spin 1s ease-in-out infinite;

}

@-moz-keyframes spin { 
    100% { -moz-transform: rotate(720deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(720deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(720deg); 
        transform:rotate(720deg); 
    } 
}

/*end spinner*/

@media only screen and (min-width: 800px) {

.pagefooter {

  margin-top: -450px;

}

}

@media only screen and (max-width: 768px) {

  body {
  background-image: url("/images/botbg.png");
  background-size: 100% auto ;
      background-position: top;

  }
.logo {
  width: 70%;
}
}



.termsx {
  overflow-y: scroll;
  padding: 10px;
  padding-top: 10px;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 100;
  font-size: 16px !important;
  margin-bottom: 50px;
  height: 90%;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  width: 90%;
  margin-top: 15px;


}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #000 #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 10px;
}

*::-webkit-scrollbar-track {
  background: #ffffff;
}

*::-webkit-scrollbar-thumb {
  background-color: #1c47ba;
  border-radius: 4px;
  border: 3px solid #c0c0c0;
}

.bottompad {
  height: 140px;

}

.bottomscroll {

  background: rgb(40, 51, 74);
  background: linear-gradient(0deg, rgba(40, 51, 74, 1) 25%, rgba(40, 51, 74, 0) 100%);
  margin-top: -150px;
  width: 100%;
  height: 200px;
  z-index: 3;
  left: 0;
  position: absolute;
  pointer-events: none;
}




.middleterms {

  max-width: 700px;
  margin: auto;
}

.closelink {

  text-align: right;

  color: white !important;
  position: absolute;
  top: 12px;
  right: 12px;
  text-decoration: none;

  content: "\00d7";
  /* This will render the 'X' */
  width: 32px;
  height: 32px;
}

.closelink:before,
.closelink:after {
  position: absolute;
  left: 20px;
  content: ' ';
  height: 25px;
  width: 3px;
  background-color: white;
}

.closelink:before {
  transform: rotate(45deg);
}

.closelink:after {
  transform: rotate(-45deg);
}


.close-icon {
  position: sticky;
  right: 32px;
  top: 32px;
  width: 32px;
  height: 32px;
  margin-top: 10px;
}

.close-icon:before,
.close-icon:after {
  position: absolute;
  left: 20px;
  content: ' ';
  height: 25px;
  width: 3px;
  background-color: white;
}

.close-icon:before {
  transform: rotate(45deg);
}

.close-icon:after {
  transform: rotate(-45deg);
}


.modal-container {
  position: fixed;
  left: 50%;
  transform: translate(-50%, calc(var(--vh, 1vh) * 100));

  background-color: #23241f;

  width: 100%;
  height: 100vh;
  /* Use vh as a fallback for browsers that do not support Custom Properties */
  height: calc(var(--vh, 1vh) * 100);
  border-radius: 2px;
  font-size: 25px;
  text-align: center;
  transition: transform 800ms;
  animation-timing-function: ease-in;
  z-index: 2;
  color: white;
  text-align: left;
  top: calc(var(--vh, 1vh) * 100);

}




.modal-window {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  color: #ffffff;
}

.modal-window:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal-window>div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.5em;
  padding-top: 0.5em;
  background: rgba(0, 0, 0, 0.9);

  background-color: #e30613;
  border: 3px #fff solid;
  border-radius: 15px;
  height: 95%;
  padding-top: 20px;
  width: 90%;
  max-width: 600px;

}

.modal-window header {
  font-weight: bold;
}

.modal-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}

.modal-close {
  color: #fff;
  line-height: 18px;
  font-size: 120%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 12px;
  width: 40px;
  text-decoration: none;
  display: flow-root;
}

.modal-close:hover {
  color: grey;
}

.modal-window>div {
  border: #ffffff 5px solid;
}

.modal-window div:not(:last-of-type) {
  margin-bottom: 15px;
}


