html, body {
  width: 100%;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.3;
  background: linear-gradient(320deg, black 0%, rgba(0, 152, 161, 0.4990196762) 35%, rgba(150, 190, 13, 0.5046219171) 100%);
  color: #3a3a3a;
  overflow: hidden;
}

html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  height: 100%;
}

body {
  height: 100%;
  height: -webkit-fill-available;
  min-height: 100%;
  min-height: -webkit-fill-available;
}

canvas {
  display: block;
  vertical-align: bottom;
}

/* ---- particles.js container ---- */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 18, 32, 0.75);
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

#contentWrapper {
  position: absolute;
  width: 1920px;
  height: 1080px;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
}

#header {
  position: relative;
  height: 100%;
  top: 0;
  background: white;
}

#quizLogo {
  position: relative;
}

#legalwrapper {
  position: absolute;
  right: 0;
  color: #0098a1;
  text-align: right;
  font-variation-settings: "wdth" 20, "wght" 600;
}

#quizContainer {
  z-index: 0;
  position: absolute;
  height: 80%;
  width: 65%;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px 3px rgba(0, 0, 0, 0.3);
}

ul {
  list-style-position: inside;
}

.content {
  position: relative;
}

#home {
  position: relative;
  border: none;
}

p small {
  padding-top: 0.5rem;
}

#questions {
  height: 100%;
}

#questionImage {
  height: 35%;
  background-position: center;
  background-size: cover;
}

.btn-quiz {
  transform: scale(0);
  transition: transform 0.8s cubic-bezier(1, 0, 0, 1);
}

.btnActive {
  transform: scale(1);
}

#particles-js {
  position: absolute;
}

#progressBar {
  position: re;
  height: 10px;
  background-color: #0098a1;
}

#homeHeader {
  background-image: url("../assets/images/quizHeader.jpg");
  background-size: cover;
  background-position: center;
  height: 40%;
  width: 100%;
  overflow-y: hidden;
}

#homeHeader h1 {
  position: relative;
  transform: translateY(-50%);
  top: 15%;
  font-weight: normal;
  color: white;
  padding-right: 25px;
  line-height: 2.5rem;
}

#homeHeader span {
  white-space: nowrap;
}

#homeHeader h1::after {
  content: url("../assets/images/Phoenix_P.svg");
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
  left: 10px;
  top: -20px;
  margin-right: -25px;
}

#countdownParent {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#score {
  position: fixed;
  bottom: 0;
  left: 0;
}

#countdown {
  font-size: 5rem;
  line-height: 1.1;
}

#countdownReward {
  margin-left: 0%;
  opacity: 0;
  line-height: 1.1;
}

#progress {
  position: fixed;
  bottom: 0;
  right: 0;
}

.h-60 {
  height: 60%;
}

#start, #questions, #result, #feedbackContainer, #btnParent, #menuParent {
  display: none;
}

#startContainer {
  position: relative;
  top: -30px;
}

#answers {
  white-space: nowrap;
}

#explanation, #explanation p {
  font-weight: normal;
}

.keyboardContainer {
  display: none;
}

.keyboardContainer > div {
  min-width: 500px;
  z-index: 10;
}

.z-1 {
  z-index: 1;
}

.z-2 {
  z-index: 2;
}

#answers {
  white-space: normal;
}

/* ---- bootstrap overrides ---- */
.btn:disabled.correctAnswer, .btn.disabled.correctAnswer, .correctAnswer {
  color: #96be0d !important;
  border: 2px solid;
}

.btn:disabled.incorrectAnswer, .btn.disabled.incorrectAnswer, .incorrectAnswer {
  color: #810808;
  border: 1px solid #810808;
}

.secondary-navigation {
  position: absolute;
  left: 0;
}

li {
  line-height: 1.3;
  padding-top: 0.25em;
}

.global-header__navigation-container {
  position: absolute;
  right: 0;
}

.main-navigation__dropdown--wrapper .main-navigation__link::after {
  content: "\e933";
  padding-left: 0.25em;
  float: right;
  color: #0098a1;
  font-family: phoenix-contact-icons;
  transition: all 25ms ease-in-out;
}

.focus-on-menu .main-navigation__dropdown-menu::after {
  background: transparent;
}

/* ---- animations ---- */
.pulsate {
  -webkit-animation: pulsate 2s ease-in;
  -webkit-animation-iteration-count: infinite;
  opacity: 0.5;
}

@-webkit-keyframes pulsate {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
    color: #96be0d;
  }
  100% {
    opacity: 0.5;
  }
}
/* ---- media queries ---- */
@media (min-width: 768px) {
  #answers button {
    white-space: nowrap;
  }

  .global-header__navigation-container {
    top: unset !important;
  }
}
@media (max-width: 992px) {
  #homeHeader h1 {
    padding-right: 20px;
    top: 20%;
  }

  #homeHeader h1::after {
    width: 20px;
    height: 20px;
    left: 7.5px;
    top: -17.5px;
    margin-right: -20px;
  }

  #countdown {
    font-size: 4rem;
  }
}
@media (max-width: 767.98px) {
  #quizLogo {
    top: 0px;
  }

  #countdown {
    font-size: 3rem;
  }

  .btn-quiz {
    width: 100% !important;
    margin: 0;
  }

  .global-header__logo {
    background-image: url("https://static.phoenixcontact.com/common/assets/images/Phoenix_Contact_Logo_b.svg");
  }

  .global-header__navigation-container {
    width: 100%;
    background: white;
  }

  #homeHeader h1 {
    padding-right: 15px;
  }

  #homeHeader h1::after {
    width: 15px;
    height: 15px;
    left: 5px;
    top: -15px;
    margin-right: -15px;
  }

  #questionImage {
    height: 100% !important;
    z-index: -10;
    position: fixed;
    width: 100%;
    opacity: 0.15;
  }
}
@media (max-width: 1200px) {
  #contentWrapper {
    transform: none !important;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
  }

  #quizContainer {
    transform: none !important;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
  }

  #startContainer {
    top: auto;
  }

  .content {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }
  #content {
    position: relative;
    width: 1920px;
    height: 1080px;
    background: #d0e46d;
    background: -moz-linear-gradient(135deg, #d0e46d 0%, #5dd1d6 100%);
    background: -webkit-linear-gradient(135deg, #d0e46d 0%, #5dd1d6 100%);
    background: linear-gradient(135deg, #d0e46d 0%, #5dd1d6 100%);
  }

  .btn {
    margin-bottom: 24px;
  }

  #start > div {
    display: block !important;
  }
}

#fader{
  width: 100%;
  height: 100%;
  background: #d0e46d;
  background: -moz-linear-gradient(135deg, #a7b857 0%, #4aa7aa 100%);
  background: -webkit-linear-gradient(135deg, #a7b857 0%, #4aa7aa 100%);
  background: linear-gradient(135deg, #a7b857 0%, #4aa7aa 100%);
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  z-index: 1500;
  transition: all 1s ease-in-out;
  cursor: initial !important;
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  z-index: 5001;
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}

.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}

.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}

.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}

.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}

.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}

.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}

.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}