.app {
  width: 100%;
  height: 100%;
  text-align: center;
  position: relative;
  overflow-x: hidden;
}

.slide {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  padding: 0.4rem;
  transition: all 0.3s ease-in-out;
}

.slide.is-showing {
  display: block;
}

.question,
.qtitle {
  width: 100%;
  font-family: bistro-script-web, sans-serif;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.answers {
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  max-width: 454px;
}

.qtext {
  color: #000;
  text-align: center;

  /* naslov upitnika */
  font-family: "gambado-sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 45px; /* 140.625% */
  text-transform: uppercase;
  max-width: 598px;
  margin: 0 auto;
}

.answer {
  border-radius: 20px;
  background: #ffd100;
  margin: 5px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: #000;
  font-family: Montserrat;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  height: 58px;
  line-height: 22px; /* 100% */
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.anstext {
  padding-left: 20px;
  width: 100%;
}

.fwd {
}

.flextx {
  display: flex;
  align-items: center;
  justify-content: center;
}

.show {
  display: block;
}

.reztext {
  color: var(--Dark-green, #2a464d);
  text-align: center;
  font-family: "montserrat";
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px; /* 127.273% */
}

#yourscore {
  font-weight: 900;
  padding-bottom: 0;
}

.rezimg {
  display: block;
  max-width: 360px;

  margin: 4rem auto 0 auto;
}

.quizimg {
  padding: 65px 0;
  max-width: 403px;
}

.anspic {
  width: 100%;
}

.result {
  margin: 0 auto;
}

.reztitle {
  text-align: center;
  font-size: 4rem;
  padding: 8rem 1rem 2rem 1rem;
  text-transform: uppercase;
  color: #444444;
}

.reztext {
  font-size: 1.6rem;
  text-align: center;
  padding: 2rem 1rem 2rem 1rem;
}

.rezpic {
  width: 200px;
  margin: 0 auto;
  display: block;
  padding-bottom: 2rem;
}

.rezpic img {
  display: block;
  width: 100%;
  padding: 1rem;
}

.intro {
  margin: 0 auto;
  padding-top: 6rem;
}

.intro h1 {
  color: #fff;
  font-size: 4rem;
}

.lead {
  padding-top: 2rem;
  text-align: center;
  color: #fff;
  font-size: 1.4rem;
}

.reztext a {
  text-decoration: none;
  color: rgb(114, 0, 0);
  font-weight: 800;
}

.reztext a:hover {
  text-decoration: underline;
}

.frame {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  height: 240px;
}

/*animations*/

.animate-out {
  transform: translateX(-100%);
  opacity: 0;
}

.animate-in {
  animation: in 300ms ease-in-out forwards;
  display: block;
}

@keyframes in {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@media (max-width: 768px) {
  .qtext {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  .answers {
    padding: 16px;
  }
  .quizimg {
    display: none;
  }
}
