@import url('https://fonts.googleapis.com/css?family=Baloo+Chettan');
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab');
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono:700');
@import url('https://fonts.googleapis.com/css?family=Nunito+Sans');
@import url('https://fonts.googleapis.com/css?family=Unica+One');


body {
  background: #1866a8;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: 'Helvetica', sans-serif;
  align-items: center;
}

header {
  font-family: 'Baloo Chettan', cursive;
  /* color: #fe9a5e; */
  background: -webkit-linear-gradient(#fe9a5e, #ffc56b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px black;
  font-size: 2em;
  text-align: center;
  margin-bottom: 10px;
  filter: drop-shadow(2px 1px #333);
}

@media only screen and (max-width: 420px) {
  /* For mobile phones: */
  header {
    font-size: 2.5em;
    padding-top: 10px;
  }
}

#card {
  display: none;
  background-color: #2b2b2b;
  /* background-image: url('images/bg-black-textured.jpg');
  background-size: cover; */
  color: white;
  position: absolute;
  z-index: 99;
  width: 540px;
  height: 25%;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 20px;
  padding-bottom: 100px;
  text-align: center;
  border-radius: 10px 10px 3px 3px;
  margin: auto;
  /*box-shadow: 0px -0px 6px #05396b;*/
  font-family: 'Nunito Sans', sans-serif;
  /*border: 1px solid #05396b;*/
  font-size: .9em;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  #card {
    font-size: 1.4em;
    height: 30%;
  }
  /* select {
    font-size: 1em;
  }
  input {
    font-size: 1em;
  } */
  #info {
    height: 20px;
  }
}

#guess {
  background-color: #e8e8e8;
  color: black;
  border-radius: 5px;
  padding-top: 5px;
  padding-bottom: 8px;
  border: none;
  margin-top: 7px;
  box-shadow:inset 0 -0.6em 0 -0.2em rgba(0,0,0,0.17);
  cursor: pointer;
  font-size: 12px;
}

#giveup {
  background-color: #e8e8e8;
  color: red;
  border-radius: 5px;
  padding-top: 5px;
  padding-bottom: 8px;
  border: none;
  box-shadow:inset 0 -0.6em 0 -0.2em rgba(0,0,0,0.17);
  cursor: pointer;
  font-size: 12px;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  #guess, #giveup {
    font-size: .7em;
  }
}

#result {
  width: 400px;
  padding: 13px;
  margin-bottom: 15px;
  font-family: 'Nunito Sans', sans-serif;
  background-color: white;
  color: black;
  border-radius: 5px;
  /*border: 1px solid black;*/
  box-shadow: 8px 8px #f7bc90;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  #result {
    font-size: 1.25em;
    margin-left: 10px;
    margin-right: 15px;
  }
}

#gameInfo {
  width: 80%;
  padding-top: 10px;
  margin: auto;
  /* margin-bottom: 10px; */
  text-align: center;
  font-family: 'Unica One', monospace;
  font-size: 20px;
  color: white;
}

#change {
  font-size: 19px;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  #gameInfo {
    font-size: 27px;
    width: 80%;
  }
}

#game {
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
}

.flexarea {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  width: 80%;
}

#wheel {
    position: relative;
    background-image: url('../images/frame_spin.png');
    background-repeat: no-repeat;
    background-position: center;
    height: 434px;
    width: 434px;
}

#canvas {
    z-index: 1;
}

#prizePointer {
    position: absolute;
    left: 172px;
    top: 2px;
    z-index: 999;
}

.frame {
    display: none;
    width: 400px;
    max-width: 400px;
    position: absolute;
    align-items: center;
    justify-content: center;
    left: 4%;
    top: 4%;
    margin: 0 auto;
    text-align: center;
}

#controls {
  width: 100%;
  position: absolute;
  z-index: 4;
  display: flex;
  justify-content: center;
}

#spin_button {
  border-radius: 50%;
  background-color: #ff7b60;
  height: 80px;
  width: 80px;
  outline: none;
  margin-bottom: 5px;
  font-family: 'Unica One', sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: white;
  /*border: 1px solid #5cdb94;*/
  box-shadow:inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17);
}

#hiddenvalue {
  display: none;
}

#change {
  padding-left: 5px;
}

#puzzlearea {
  /*background-color: #1FA7A1;*/
  padding-left: 1px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-right: 25px;
  box-sizing: border-box;
  /* background-image: url('images/puzzleboard.svg'); */
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 500px;
  margin: auto;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  #puzzlearea {
    width: 510px;
    padding-right: 37px;
  }
}

@media only screen and (max-width: 370px) {
    /* .content-width {
        margin-left: 300px;
    } */
}

#puzzlearea li {
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  height: 22px;
  width: 22px;
  font-family: 'Ubuntu Mono', serif;
  font-size: 20px
}

.disHighlight{
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -o-user-select: none;
    -moz-user-select: none;
}

.puzzleInvisible {
  background-color: white;
  color: white;
  border: 2px solid #05396b;
  box-shadow: 1px 1px black;
}

.puzzleVisible {
  color: black;
}

#prizePointer{
    width: 90px;
    height: auto;
    position: absolute;
    margin-top: 1px;
    z-index: 20;
}

/* Two */
.button-dos {
  background-repeat: no-repeat;
  background-position: -120px -120px, 0 0;

  background-image: -webkit-linear-gradient(
    top left,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );
  background-image: -moz-linear-gradient(
    0 0,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );
  background-image: -o-linear-gradient(
    0 0,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );
  background-image: linear-gradient(
    0 0,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.2) 37%,
    rgba(255, 255, 255, 0.8) 45%,
    rgba(255, 255, 255, 0.0) 50%
  );

  -moz-background-size: 250% 250%, 100% 100%;
       background-size: 250% 250%, 100% 100%;

  -webkit-transition: background-position 0s ease;
     -moz-transition: background-position 0s ease;
       -o-transition: background-position 0s ease;
          transition: background-position 0s ease;
}

.button-dos:hover {
  background-position: 0 0, 0 0;

  -webkit-transition-duration: 1s;
     -moz-transition-duration: 1s;
          transition-duration: 1s;
}

.btn-result {
    margin: auto;
}

/*-- Mobile Rotate Instruction -- */
#rotateHolder{
    position:absolute;
    z-index:1000;
    display: flex;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mobileRotate{
    /* width:200px;
    height:auto;
    position:absolute; */
    text-align:center;
}

.rotateImg{
    -webkit-animation:spin .8s linear infinite;
    -moz-animation:spin .8s linear infinite;
    animation:spin .8s linear infinite;
    margin-bottom:10px;
}

@-moz-keyframes spin {
    50% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(0deg);
    }
}

@-webkit-keyframes spin {
    50% {
        -webkit-transform: rotate(90deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
    }
}


@keyframes spin {
    50% {
        -webkit-transform: rotate(90deg);
        transform:rotate(90deg);
    }
    100% {
        -webkit-transform: rotate(90deg); transform:rotate(90deg);
    }
}

.rotateDesc{
    color:#fff;
    font-size:20px;
    line-height:20px;
    font-family:'libel_suitregular';
}

/* loader */
.loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #242f3f;
    display:flex;
    justify-content: center;
    align-items: center;
}

.loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    border: 4px solid #Fff;
    animation: loader 2s infinite ease;
}

.loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #fff;
    animation: loader-inner 2s infinite ease-in;
}

@keyframes loader {
    0% { transform: rotate(0deg);}
    25% { transform: rotate(180deg);}
    50% { transform: rotate(180deg);}
    75% { transform: rotate(360deg);}
    100% { transform: rotate(360deg);}
}

@keyframes loader-inner {
    0% { height: 0%;}
    25% { height: 0%;}
    50% { height: 100%;}
    75% { height: 100%;}
    100% { height: 0%;}
}
