*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: 24px;
  padding-bottom: 24px
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  background: url("bg.png") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

a {
  background: transparent;
}

a:active, a:hover {
  outline: 0;
}

#quiz {
  max-width: 580px;
  margin: 0 auto;
  /* height: 720px; */
  padding: 24px;
  text-align: center;
  color: #42686A;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

/*body {*/
/*  text-align: center;*/
/*  color: #fff;*/
/*  font-size: 16px;*/
/*  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;*/
/*  line-height: 1.5;*/
/*  background: url("bg.png") no-repeat center center fixed;*/
/*  -webkit-background-size: cover;*/
/*  -moz-background-size: cover;*/
/*  -o-background-size: cover;*/
/*  background-size: cover;*/
/*}*/

img {
  max-width: 260px;
}

h1 {
  font-size: 2em;
  margin: 0.47em 0;
  font-family: 'Roboto Condensed', arial, sans-serif;
}

h2 {
  font-size: 1.45em;
  line-height: 1.35em;
  margin-top: 10px;
}

h3 {
  font-size: 1.125em;
}

h4 {
  margin-top: 1.375em;
  margin-bottom: 2.57143em;
  color: #d6d7d9;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 0.875em;
}

button, input[type="submit"] {
  text-transform: uppercase;
  margin: 0px auto 10px auto;
  color: #ffffff;
  font-size: 28px;
  padding: 12px;
  width: 100%;
  /* background: #ffcb05; */
  /* background: linear-gradient(to bottom, #f8d75a 0%, #ffcb05 10%, #ffcb05 90%, #f8d75a 100%); */
  background: linear-gradient(to right, #a7d094 35%, #5ec1a4) fixed !important;
  cursor: pointer;
  text-align: center;
  border: 0;
  border-radius: 45px;
}

button:hover {
  background: linear-gradient(to right, #54a295 35%, #1397aa) fixed !important;
}
button:active {
  background: linear-gradient(to right, #a7d094 35%, #5ec1a4) fixed !important;
}

input:focus, button:focus {
  outline: none;
}

#progress {
  color: #55777a;
  text-align: left;
  margin-top: 22px;
  margin-bottom: 12px;
  font-weight: bold;
}

.progress {
  list-style: none;
  background-color: #d2e5de;
  height: 20px;
  border-radius: 45px;
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;
  /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Chrome */
  display: flex;
   /*flex-direction: column; */
  justify-content: space-between;
}
footer{
    display:block;
}
.progress-bar {
  width: 20%;
  height: 20px;
  border-right: 3px solid #a8c3c6;
  flex:1;
}

.progress-bar:first-of-type {
  /* margin-left: -38px; */
  border-radius: 45px 0 0 45px;
}

.progress-bar:last-of-type {
  border-right: 0;
  border-radius: 0 45px 45px 0;
}

.progress .active {
  height: 20px;
  background-color: #15e8db;
}

/*@media(pointer:coarse)  {*/
   
/*button:hover {*/
/*  background: linear-gradient(to right, #a7d094 35%, #5ec1a4) fixed !important;*/
/*  transition: background .5s;*/
/*}*/
/*}*/

.rewards {
  margin-bottom: 24px;
}

.reward-title {
  position: relative;
  width: 70%;
  margin: 0 auto 36px;
}
.reward-title span:nth-child(1) {
  position: absolute;
  top: 12px;
  left: -12px;
  width: 48px;
  height: 32px;
}
.reward-title span:nth-child(1):after {
  content: "";
  position: absolute;
  top: 0;
  left: -16px;
  border: 16px solid transparent;
}
.reward-title span:nth-child(2) {
  position: absolute;
  top: 12px;
  right: -12px;
  width: 48px;
  height: 32px;
}
.reward-title span:nth-child(2):after {
  content: "";
  position: absolute;
  top: 0;
  right: -16px;
  border: 16px solid transparent;
}
.reward-title span:nth-child(3) {
  display: block;
  position: relative;
  padding: 8px;
  color: white;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.reward-title span:nth-child(3):before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  top: 100%;
  left: 0;
  border-top: 0 solid transparent;
  border-bottom: 12px solid transparent;
}
.reward-title span:nth-child(3):after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  top: 100%;
  right: 0;
  border-top: 0 solid transparent;
  border-bottom: 12px solid transparent;
}
.reward-title.bronze span:nth-child(1), .reward-title.bronze span:nth-child(2) {
  background-color: #E99866;
}
.reward-title.bronze span:nth-child(1):after, .reward-title.bronze span:nth-child(2):after {
  border-top-color: #E99866;
  border-bottom-color: #E99866;
}
.reward-title.bronze span:nth-child(3) {
  background-color: #F9A26D;
}
.reward-title.bronze span:nth-child(3):before {
  border-left: 0 solid transparent;
  border-right: 36px solid #C68157;
}
.reward-title.bronze span:nth-child(3):after {
  border-left: 36px solid #C68157;
  border-right: 0 solid transparent;
}
.reward-title.sliver span:nth-child(1), .reward-title.sliver span:nth-child(2) {
  background-color: #B2C6D6;
}
.reward-title.sliver span:nth-child(1):after, .reward-title.sliver span:nth-child(2):after {
  border-top-color: #B2C6D6;
  border-bottom-color: #B2C6D6;
}
.reward-title.sliver span:nth-child(3) {
  background-color: #BED4E5;
}
.reward-title.sliver span:nth-child(3):before {
  border-left: 0 solid transparent;
  border-right: 36px solid #97A9B6;
}
.reward-title.sliver span:nth-child(3):after {
  border-left: 36px solid #97A9B6;
  border-right: 0 solid transparent;
}
.reward-title.gold span:nth-child(1), .reward-title.gold span:nth-child(2) {
  background-color: #EEC459;
}
.reward-title.gold span:nth-child(1):after, .reward-title.gold span:nth-child(2):after {
  border-top-color: #EEC459;
  border-bottom-color: #EEC459;
}
.reward-title.gold span:nth-child(3) {
  background-color: #FED160;
}
.reward-title.gold span:nth-child(3):before {
  border-left: 0 solid transparent;
  border-right: 36px solid #CCA54C;
}
.reward-title.gold span:nth-child(3):after {
  border-left: 36px solid #CCA54C;
  border-right: 0 solid transparent;
}
.reward-description {
  font-size: 18px;
  font-weight: 500;
}

