@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v16/mem8YaGs126MiZpBA-UFVZ0e.ttf) format('truetype');
}
@keyframes roll-in {
  0% {
    top: 10px;
    opacity: 0;
  }
  100% {
    top: 0;
    opacity: 1;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pulse {
  from {
    transform: scale3d(1, 1, 1);
  }
  50% {
    transform: scale3d(1.05, 1.05, 1.05);
  }
  to {
    transform: scale3d(1, 1, 1);
  }
}
#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -999;
}
.quizz-container{
  background-color: rgba(11, 18, 31, 0.7);
  height:130vh;
  padding: 2em;
}
.quizz-container h2{
  font-family: 'Source Sans Pro';
  color: #fff;
  font-weight: 700;
  font-size: 5em;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.intro{
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
  font-size: 16pt;
  font-family: 'Source Sans Pro';
  line-height: 1.5;
  font-weight: 300;
  text-align: center;
}

.container{
  max-width: 600px;
  background: rgba(255,255,255,.7);
  padding: 3em;
  border-radius: 3px;
  margin-top: 2em;
}

.pulse {
  animation: pulse 1s infinite;
}
.fade-in {
  animation: fade 0.75s ease;
}
.fade-in p{
  color: #2d2d2d;
  font-weight:400;
  font-size: 13pt;
}
.quiz {
  margin:0 auto;
  width: 100%;
  max-width: 600px;
}
.quiz .progress {
  position: relative;
  transition: width 0.4s ease;
  margin-bottom: 1em;
  background: #fff;
  border-radius: 0;
  width: 100%;
  height: 1.5em;
  border-radius:20px;
}
.quiz .progress .progress-bar {
  background-color: #A8C438;
  border-radius:20px;
}
.quiz .progress .counter {
  position: absolute;
  right: 5px;
  top: 0;
  font-weight: normal;
  font-size: .9em;
  color: #111;
  height: 100%;
  font-family: "Lato", sans-serif;
  margin: auto 0.5em;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-transform: uppercase;
}
.quiz form {
  width: 100%;
  max-width: 600px;
  margin: 1em auto;
}
.quiz .img-fluid {
  margin: 1em auto;
  width: 100%;
  max-width: 600px;
  display: block;
}
.quiz .question span{
  font-weight: bold;
  line-height: 1.35;
  margin-bottom: 0.75em;
  margin:0;
  color: #0B121F;
  font-family: 'Source Sans Pro';
  font-size: 18pt;
  text-align: left;
}
.quiz .option {
  margin-bottom: 0.25em;
  transition: all 0.25s ease;
  font-size: 0.9em;
}
.quiz button {
  padding: .5em 1em;
  font-family: "Lato";
  background-color: #007CAE;
  border: 0;
  color: #fff;
  font-size: .7em;
  transition: 0.25s all;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  font-weight: normal;
  border-radius: 3px;
}

.quiz button:hover {
  background-color: #005068;
}

.quiz button i {
  margin-left: 0.15em;
}
.quiz button:disabled {
  opacity: 0.2;
}
.quiz input[type="radio"] {
  position: absolute;
  left: -9999px;
}
.quiz input[type="radio"] + label {
  position: relative;
  font-weight: normal;
  padding-left: 28px;
  cursor: pointer;
  line-height: 20px;
  display: inline-block;
  color: #0B121F;
  font-family: 'Source Sans Pro';
  font-size: 13pt;
}
.quiz input[type="radio"] + label::before {
  text-align: center;
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #ddd;
  border-radius: 100%;
  background: #fff;
}
.quiz input[type="radio"] + label::after {
  content: '';
  width: 12px;
  height: 12px;
  background-color: #222;
  position: absolute;
  top: 4px;
  left: 4px;
  border-radius: 100%;
  transition: all 0.2s ease;
}
.quiz .dim input[type="radio"] + label::before,
.quiz .correct input[type="radio"] + label::before {
  border: 0;
  font-size: 1.2em;
  animation: 0.25s roll-in ease;
}
.quiz .dim input[type="radio"] + label::after,
.quiz .correct input[type="radio"] + label::after {
  display: none;
}
.quiz .correct input[type="radio"] + label:before {
  content: '\f00C';
  font-family: "FontAwesome" !important;
  color: #36ad3b;
}
.quiz .dim input[type="radio"]:checked + label:before {
  content: '\f00d';
  font-family: "FontAwesome" !important;
  color: #ff1100;
}
.quiz input[type="radio"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}
.quiz input[type="radio"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}
.quiz .dim {
  opacity: 0.5;
}
.quiz .bottom {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction:column;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.quiz .bottom div {
  flex: 1 1 70%;
  font-size: 0.9em;
}
.quiz .bottom .next {
  flex: 0 1 10%;
  margin-top: 1em;
}
@media (max-width: 600px) {
  .quiz .bottom div,
  .quiz .bottom .next {
    flex-basis: 100%;
  }
  .quiz .bottom .next {
    margin-left: 0;
  }
}
.quiz .get-results {
  display: block;
  margin: 2em auto;
}
.quiz .results {
  font-size: 1.1em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 40vh;
}
.quiz .results h1 {
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
}
.quiz .results button {
  margin-top: 1em;
}
