@font-face {
  font-family: 'logofont';
  src: url('../fonts/logofont.woff2') format('woff2'), url('../fonts/logofont.woff') format('woff'), url('../fonts/logofont.ttf') format('truetype')
}
@font-face {
  font-family: "main-bold";
  src: url("../fonts/lato-black.ttf") , url("../fonts/lato-black.woff");
}
@font-face {
  font-family: "main-regular";
  src: url("../fonts/lato-regular.ttf") , url("../fonts/lato-regular.woff");
}
@font-face {
  font-family: "pier-regular";
  src: url("../fonts/pier-regular.ttf") , url("../fonts/pier-regular.woff");
}
.hidden {
  display: none !important;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  
  font-family: "main-regular", sans-serif;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
    color: #FFF;
}
.bg-container {
  background-color: #ffca23;
}
.bg-container-2 {
  background-color: #573b63;
}
.page {
  position: absolute;
 /* position: relative;*/
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
    
}
.current-page {
  opacity: 1;
  pointer-events: auto;
   /* top: 50%;*/
}
.game {
  background-image: url('../images/bg_title.png');
  background-repeat: no-repeat;
  background-position: center;
  /*background-size: cover;*/
  background-size: contain;
}
.splash-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 1;
}
.title-banner {
  width: 90%;
  max-width: 600px;
  height: auto;
  margin-bottom: 30px;
  z-index: 2;
}
.btn {
  background-color: #00c9c9;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 15px 30px;
  margin: 10px 0;
  font-size: 1.5rem;
  /*font-weight: bold;*/
  box-shadow: 0 5px 0 #009393;
  cursor: pointer;
  transition: transform 0.1s ease-in-out;
  z-index: 2;
  font-weight: 900;
  /*font-size: 1.4rem;*/
  font-family: "main-regular", sans-serif;
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #009393;
}
.corner-buttons {
  position: absolute;
  /*top: 10px;*/
  top: 0px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  box-sizing: border-box;
  z-index: 3;
}
.corner-buttons img.btn-icon {
  width: 60px;
  height: auto;
  cursor: pointer;
}
.btn.btn-play:active, .btn.btn-play:hover {
  transform: translateY(4px);
  /*box-shadow: 0 1px 0 #009393;*/
  color: #FFF;
  background-color: #00c9c9;
  border-color: none;
  box-shadow: 0 5px 0 #009393;
}
.answer-letter {
  width: 40px;
  height: 40px;
  background-color: #4d366d;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-weight: bold;
}
.questionnumber {
  background-image: url('../images/ban_questionnumber.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  padding: 6px 20px;
  border: none;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 110px;
  height: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: "main-regular", sans-serif;
  font-size: 15px;
}
.numberquestion {
  background-color: #573b63;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 5px 0 #453047;
  font-family: "main-regular", sans-serif;
  width: 60px;
  margin: auto;
}
.questions {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  position: relative;
}
.questions-header {
  background-color: #00c9c9;
  color: #FFF;
  font-weight: 900;
  font-size: 1.5rem;
  border-radius: 8px;
  padding: 12px 40px;
  border: none;
  box-shadow: 0 5px 0 #009393;
  font-family: "main-regular", sans-serif;
  margin-bottom: 20px;
}
.answer {
  background-color: #FFF;
  color: #573b63;
  font-weight: 900;
  font-size: 1.5rem;
  border-radius: 8px;
  /*padding: 12px 40px;*/
  padding: 20px;
  border: none;
  box-shadow: 0 5px 0 #2ab2d1;
  font-family: "main-regular", sans-serif;
  /*margin-bottom: 20px;*/
  min-height: 85%;
  margin: 2px 0px 20px 5px;
}
.answer-letter {
  width: 40px;
  height: 40px;
  background-color: #4d366d;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  /*margin-right: 15px;*/
  font-weight: bold;
}
.answer-text, .answer-letter {
  margin: auto 0 auto 0;
}
/*Clock Area*/
.clock_area img {
  /*width: 9rem;
  height: 10rem;*/
   /* width: 60px;
  height: auto;*/
    
    width: 100px;
    height: auto;
}
.clock_area span {
  font-size: 17px;
  font-weight: 600;
  top: 61%;
  right: 27px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #000;
}
.s-head, .s-body, .s-footer {
        flex: 0 0 auto;
    width: 33.33333333%;
}

.win-text, .lose-text {
  font-size: 60px;
  padding-bottom: 15px;
}
.left-mark {
  transform: rotate(-70deg);
}
.right-mark {
  transform: rotate(20deg);
}
.deco-mark-l {
  /*position: relative;
  left: 10%;*/
}
.deco-mark-r {
  /*position: relative;
  right: 10%;*/
}
.right-mark {
  right: 5%;
}
.footer-tab {
   display: flex;
  text-align: center;
  margin: auto;
  position: relative;
  bottom: 1px;
}
.footer-tab .footer-btns {
    display: flex;
  gap: 40px;
  flex-basis: fit-content;
}
.footer-tab .footer-btns .btn-icon {
  width: 65px;
}
.win-msg {
 bottom: 90px;
  color: #4d366d;
  text-align: center;
  width: 100%;
  font-size: 30px;
}
.support, .lose {
  /*position: absolute;
  top: 37%;
  right: 38%;
    z-index: 1;*/
    position: relative;
  top: 40px;
  right: 0%;
  align-content: center;
  display: inline-block;
    z-index: 1;
}
/*roulette*/
/*div.roulette-inner {
 background: url("../images/spinner/support-3.png");
  min-height: 120px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 9999;
}*/
div.roulette {
  /*margin-top: 35px;*/
    /*margin-top: 27px;*/
}
div.roulette-inner {
   /* width: 120%;
  right: 10px;*/
}
div.roulette-inner img {
    /*width: auto;*/
    /*width: 120%;*/
    width: 100%;

}
div.roulette {
  /* top: 13%;
  right: 38%;*/
  /*top: 40%;
  right: 47%;*/
    /*top: 40%;
  right: 46%;
  width: 9%;*/
  /*top: 75%;
  left: 43.7%;
  width: 135px*/
  bottom: 96.5px;
  left: 146.5px;
  width: 132px;
    
}
div.roulette_container {
  background-color: rgb(253, 252, 253);
  width: 200px;
  height: 200px;
  border: 1px solid rgba(253, 252, 253, 0.31);
  box-shadow: 0px 0px 3px lightpink;
  margin: auto;
}
/*roulette*/
/*corps*/
.header-tab-new{
     background: url(../images/win.png);
  background-repeat: no-repeat;
  background-size: contain;
  /*height: calc(100vh * 0.25);*/
  /*height: calc(100vh * 0.1875);*/
    /*height: 25vh;*/
    /*min-height: 114px;*/
    min-height: 100px;
    background-position: center;
}
.s-body-new{
    background: url(../images/bg-result.png);
  background-repeat: no-repeat;
  background-size: contain;
  /*position: relative;*/
  /*height: calc(100vh * 0.33333333 * 2);*/
  /*height: 73vh;*/
 min-height: 300px;
}
.s-head-new{
     background: url(../images/mark-l.png);
}
.s-footer-new{
     background: url(../images/mark-r.png);  
}
.s-footer-new, .s-head-new{
  background-repeat: no-repeat;
  background-size: contain;
  /*position: relative;*/
  /*height: calc(100vh * 0.33333333);*/
 /* height: calc(100vh * (1/4));  */
  /*height: 17vh;*/
    min-height: 100px;
}
.s-head-new{
background-position: 90%;
    }
.s-footer-new{
background-position: 10%;
    }
.mesure{
  /*background-color: red;
  height: 2px;
  position: relative;
  top: 7%;
  right: 1%;
  z-index: 99999;
  display: none;*/
    background-color: red;
  height: 1px;
  position: absolute;
  top: 252px;
  right: 1%;
  z-index: 99999;
  display: none;
  width: 100%;
}
.controls{/*margin-bottom: 10rem;*/}

/*corps*/
/*Clock Area*/
/*@media (max-width: 1366px) {*/

  .corner-buttons .clock_area img {
    width: 100px;
    height: auto;
      display: inline-block;
  }
.pt-wrapper { 
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px; 
}
.pt-page { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    transform-style: preserve-3d;
}
.pt-page-current, .no-js .pt-page { 
    visibility: visible;
    z-index: 1; 
}
.failed .header-tab-new {
    background: url("../images/game-over.png");
    background-repeat: no-repeat;
  background-size: contain;
    background-position: center;
}
.lose-msg {
  color: #4d366d;
  text-align: center;
  width: 100%;
  font-size: 30px;
  align-content: center;
  min-height: 300px;
}
@media (max-width: 1366px) {
/*@media (min-width: 992.1px) {*/
    .corner-buttons img.btn-icon {
  width: 65px;
}
  .corner-buttons .clock_area img {
    /*width: 8rem;
    height: 9rem;*/
      width: 130px;
    height: auto;
  }
  .clock_area span {
    font-size: 21px;
    right: 37px;
  }
  .questions {
    /*padding: 0px;*/
  }
    .questions {
  padding: 0;
    top: 30%;
}
    .result{
     top: 20%;   
    }
  .questions-header {
    font-size: 4rem;
    padding: 60px;
    margin-bottom: 60px;
  }
  .questions-header h2 {
    font-size: calc(1.7rem + .9vw);
  }
  .answer-text {
    font-size: 28px;
  }
  .answer-letter {
    /*width: 50px;
  height: 50px;*/
  }
  .bg-win, .bg-lose {
    width: 50%;
  }
  .deco-mark-l {
    /*left: 2%;*/
    left: 0%;
  }
  .deco-mark-r {
   /* right: 2%;*/
    right: 0%;
  }
  .support, .lose {
    /*right: 22%;*/
      width: 350px;
    top: 100px;
  }
  .win-msg {
    bottom: 20%;
    font-size: 45px;
  }
  div.roulette {
   bottom: 51px;
    left: 252px;
    width: 148px;
  }
    .header-tab-new {
  /*height: 5vh;*/
        min-height: 100px;
}
       .s-head, .s-footer {
flex: 0 0 auto;
  width: 16.66666667%;
}
.s-body {
 flex: 0 0 auto;
  width: 66.66666667%;
}
     .s-body-new {
  /*height: 23vh;*/
           min-height: 443px;
}
     .s-footer-new, .s-head-new {
  /*height: 6vh;*/
}
    .footer-tab .footer-btns .btn-icon {
  width: 65px;
}
    .lose-msg {
  font-size: 55px;
  min-height: 443px;
}
}
@media (max-width: 992px) {
    .s-head, .s-body, .s-footer {
  /*width: auto;*/
        flex: 0 0 auto;
    width: 33.33333333%;
}
    /* .s-head, .s-footer {
flex: 0 0 auto;
  width: 16.66666667%;
}
.s-body {
 flex: 0 0 auto;
  width: 66.66666667%;
}*/
     .s-body-new {
   /* height: 29vh;*/
         min-height: 300px;
  }
    .s-footer-new, .s-head-new {
  /*height: 18vh;*/
  min-height: 120px;
}
    .questions {
  padding: 50px 0;
    top: 5%;
}
    .result{
     top: 0;   
    }
}
@media (max-width: 768px) {
  .clock_area {
   /* right: -10px;
    top: -8px;*/
  }
  .questions-header {
    width: 96%;
    padding: 10px;
  }
  .questionnumber {
    padding: 5px;
    width: 90px;
    height: auto;
    font-size: 12px
  }
  .numberquestion {
    font-size: 12px;
    width: 45px;
  }
  .corner-buttons img.btn-icon {
    width: 40px;
    margin-right: 2px;
  }
  .corner-buttons .clock_area img {
    width: 60px;
    height: auto;
  }
     .footer-tab .footer-btns .btn-icon {
    width: 40px;
  }
  .clock_area span {
    font-size: 10px;
    right: 16px;
  }
  .questions-header h2 {
    font-size: 20px;
  }
  .answer-text {
    font-size: 18px;
  }
  .bg-win, .bg-lose {
    width: 80%;
  }
    .header-tab-new {
        min-height: 30px;
    }
  .win-text, .lose-text {
    font-size: 18px;
   /* top: -15%;
    right: 36%;*/
  }
    .win-text, .lose-text {
  padding-bottom: 3px;
}
  div.roulette {
   bottom: 43px;
    left: 82px;
    width: 152px;
  }
  .support, .lose  {
    right: -5%;
    top: 20px;
    width: 65%;
  }
  div.roulette-inner {
    /*width: 67px;
  height: auto;
  left: -30px;*/
  }
  div.roulette-inner img {
    width: 40%;
  }
  .win-msg {
   bottom: 40px;
    font-size: 18px;
  }
    .s-head, .s-footer {
flex: 0 0 auto;
  width: 16.66666667%;
}
.s-body {
 flex: 0 0 auto;
  width: 66.66666667%;
}
    .s-body-new {
  /*height: 19vh;*/
        min-height: 142px;
}
    .lose-msg {
        font-size: 22px;
  min-height: 165px;
}
}
@media (max-width: 480px) {
     div.roulette {
    bottom: 54px;
    left: 95px;
    width: 178px;
  }
}
@media (max-width: 420px) {
     div.roulette {
    bottom: 48px;
    left: 86px;
    width: 170px;
  }
}
@media (max-width: 415px) {
     div.roulette {
   bottom: 53px;
    left: 94px;
    width: 180px;
  }
}
@media (max-width: 360px) {
     div.roulette {
    bottom: 45px;
    left: 80px;
    width: 158px;
  }
}
