@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300ita‌​lic,400italic,500,500italic,700,700italic,900italic,900);

html,
body {
  width: 100%;
  height: 100%;
  color: #555 !important;
  background: #464646 url("../img/download.png") repeat !important;
  background-blend-mode: color;
  font-family: "Roboto" !important;
  font-size: 15px;
}

* {
  box-sizing: border-box;
}

a,
a:hover {
  text-decoration: none;
}

.quizbg {
  background: url("../img/8.png") repeat;
  padding: 0px;
  width: calc(100vh * 69 / 116) !important;
  margin: auto !important;
  height: 100vh;
  position: relative;
}

input {
  padding: 7px;
  width: 100%;
  font-size: 14px;
  font-family: Lato;
  border: 1px solid #aaaaaa;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
  background-color: #ffdddd;
}

/* Hide all steps by default: */
.tab {
  display: none;
}

/*.tab{height:calc(100vh - 215px);}*/

.footer-layer {
  display: block;
  width: 325px;
  position: fixed;
  bottom: 40px;
}

.nextbtn,
.nextbtn:hover {
  background: rgba(250, 166, 26, 1);
  border: 2px solid #cfac6a;
  border-color: rgba(250, 166, 26, 1);
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  padding: 5px 20px;
  border-radius: 100px;
  color: #fff;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
  font-size: 1.4em;
  font-weight: 500;
  width: 100%;
  line-height: 1.4em;
  text-align: center;
  font-family: "Roboto";
  cursor: pointer;
}

/* Make circles that indicate the steps of the form: */
.stepsbg {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.32),
    transparent
  ) !important;
  position: absolute !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-pack: justify !important;
  justify-content: space-between !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 54px !important;
  z-index: 1 !important;
  transition: opacity 0.3s cubic-bezier(0, 0, 0.2, 1) !important;
  pointer-events: none !important;
  font-family: Roboto, sans-serif !important;
}

.stepdiv {
  text-align: center;
  border: 0 !important;
  display: -ms-flexbox !important;
  display: flex !important;
  height: 7px !important;
  left: 0 !important;
  margin: 2px 0 0 !important;
  padding: 0 2px !important;
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  visibility: visible !important;
  z-index: 100001 !important;
}

.step {
  height: 2px;
  width: 100%;
  margin: 0 2px;
  border: none;
  display: inline-block;
  background: hsla(0, 0%, 100%, 0.4) !important;
}

.step.active {
  background: hsla(0, 0%, 100%) !important;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #4caf50;
}

ol li {
  padding-left: 15px;
}

#form-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 0px;
}

.game-question-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px 25px 0px 0px;
  background: #1972f5;
  color: #fff;
}

.game-question-container h3 {
  text-align: left;
  font-size: 20px;
  padding: 0px 15px;
  border-radius: 25px 25px 0px 0px;
  margin-bottom: 40px;
  font-weight: bold;
}

.game-options-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  border-radius: 10px 10px 10px 10px;
  background: #fff;
  margin-top: -20px;
  padding-top: 10px;
}

.game-options-container > span {
  width: 95%;
  height: 3rem;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0px 0px 10px -1px rgb(206 205 205);
  -webkit-box-shadow: 0px 0px 10px -1px rgb(206 205 205);
  -moz-box-shadow: 0px 0px 10px -1px rgb(206 205 205);
  box-shadow: 0px 0px 10px -1px rgb(206 205 205);
}

.progress {
  height: 45px;
  margin-bottom: 0px;
  text-align: right;
  padding-right: 0px;
  line-height: 45px;
  font-weight: bold;
  font-size: 20px;
  background: #fff;
  color: #000;
  display: none;
  position: relative;
}

.progress-bar {
  line-height: 45px;
  text-align: left;
  font-size: 13px;
  font-weight: bold;
  padding-left: 0px;
  background: #dddee0;
  box-shadow: none;
  color: #000;
}

.game-options-container .checked {
  background: #dfdfdf;
  -webkit-box-shadow: inset 10px 10px 17px -17px rgba(10, 10, 10, 1);
  -moz-box-shadow: inset 10px 10px 17px -17px rgba(10, 10, 10, 1);
  box-shadow: inset 10px 10px 17px -17px rgba(10, 10, 10, 1);
}

.game-options-container .checked .progress-bar {
  background: #c3c4c8;
  -webkit-box-shadow: inset 10px 10px 17px -17px rgba(10, 10, 10, 1);
  -moz-box-shadow: inset 10px 10px 17px -17px rgba(10, 10, 10, 1);
  box-shadow: inset 10px 10px 17px -17px rgba(10, 10, 10, 1);
}

.optiontext {
  width: 90%;
  position: absolute;
  left: 10px;
  font-size: 13px;
  text-align: left;
  transition: transform 0.3s;
}

.percentage {
  width: 10%;
  position: absolute;
  right: 15px;
}

span label {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  /*justify-content: center;*/
  text-align: left;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.3s;
  font-weight: 600;
  color: rgb(22, 22, 22);
}

/*span label:hover{
    -ms-transform: scale(1.12);
    -webkit-transform: scale(1.12);
    transform: scale(1.12);
}*/

input[type="radio"] {
  position: relative;
  display: none;
}

.button-container-prev {
  height: 40px !important;
  width: 40px !important;
  transform: translateY(-50%) !important;
  top: 50% !important;
  bottom: auto !important;
  pointer-events: all !important;
  position: absolute;
  left: -12%;
}

.btn-prev {
  filter: none !important;
  background-color: #fff !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  background-position-y: 52% !important;
  background-size: 20% !important;
}

.button-container-next {
  height: 40px !important;
  width: 40px !important;
  transform: translateY(-50%) !important;
  top: 50% !important;
  bottom: auto !important;
  pointer-events: all !important;
  position: absolute;
  right: -12%;
}

input.invalid {
  background-color: #ffdddd;
}

.btn-next {
  filter: none !important;
  background-color: #fff !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  background-position-y: 52% !important;
  background-size: 20% !important;
}

particle {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

@media only screen and (max-width: 768px) {
  .quizbg {
    width: 100% !important;
  }
  .button-container-prev,
  .button-container-next {
    display: none;
  }
}
@media only screen and (min-height: 320px) and (max-height: 420px) {
  .quizbg {
    height: 100%;
  }

  .footer-layer {
    position: relative;
    margin: 40px auto 0px auto;
  }
}

@media only screen and (width: 812px) and (height: 375px) {
  .quizbg {
    width: 100vh !important;
    height: 100%;
  }

  .footer-layer {
    position: relative;
    margin: 40px auto 0px auto;
  }
}

@media only screen and (width: 280px) and (height: 653px) {
  .quizbg {
    width: 100% !important;
    height: 100vh !important;
  }

  .footer-layer {
    width: 250px;
  }
}

.rate {
  float: left;
  height: 46px;
  padding: 0 10px;
}
.rate:not(:checked) > input {
  position: absolute;
  top: -9999px;
}
.rate:not(:checked) > label {
  float: right;
  width: 35px;
  padding: 0 0.1em;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  font-size: 30px;
  color: #ccc;
}
.rate:not(:checked) > label:before {
  content: "\f006";
  font-family: "FontAwesome";
}

/* ★ */
.rate > input:checked ~ label {
  color: #ffc700;
}
.rate > input:checked ~ label:before {
  color: #ffc700;
  content: "\f005";
  font-family: "FontAwesome";
}

.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
  color: #deb217;
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
  color: #c59b08;
}

/* animation css*/

#image0 {
  width: 20px;
  height: 20px;
  /*background: url('img/love.png') 50% 50% no-repeat;*/
  background-size: contain;
  position: absolute;
  left: 30%;
  top: 0;
  transform: scale(1);
  transform: rotate(20deg);
}
#image1 {
  width: 20px;
  height: 20px;
  /*background: url(img/love.png) 50% 50% no-repeat;
	background-size: contain;*/
  position: absolute;
  left: 60%;
  top: 0;
  transform: scale(1);
  transform: rotate(5deg);
}
#image2 {
  width: 20px;
  height: 20px;
  /*background: url(img/love.png) 50% 50% no-repeat;
	background-size: contain;*/
  position: absolute;
  left: 3%;
  top: 50%;
  transform: scale(1);
  transform: rotate(-20deg);
}
#image3 {
  width: 20px;
  height: 20px;
  /*background: url(img/love.png) 50% 50% no-repeat;
	background-size: contain;*/
  position: absolute;
  left: 92%;
  top: 50%;
  transform: scale(1);
  transform: rotate(-5deg);
}
#image4 {
  width: 20px;
  height: 20px;
  /*background: url(img/love.png) 50% 50% no-repeat;
	background-size: contain;*/
  position: absolute;
  left: 50%;
  top: 80%;
  transform: scale(1);
  transform: rotate(25deg);
}
