@font-face {
  font-family: TazBlack;
  src: url(https://showcase.24sata.hr/kruno/native-premium/fonts/tazblack.otf)
      format('opentype'),
    url(https://showcase.24sata.hr/kruno/native-premium/fonts/tazblack.woff)
      format('woff');
}

@font-face {
  font-family: TazRegular;
  src: url(https://showcase.24sata.hr/kruno/native-premium/fonts/tazr.otf)
      format('opentype'),
    url(https://showcase.24sata.hr/kruno/native-premium/fonts/tazr.woff)
      format('woff');
}

@font-face {
  font-family: MuseoSans;
  src: url(img/MuseoSans_900.otf);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

.kviz {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.kvizarea {
  border-radius: 16px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 640px;
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 780px;
}

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

.question {
  width: 100%;
  position: relative;
}

.qimg {
  width: 100%;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

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

.answerpost.is-showing {
  display: block;
  opacity: 1;
}

.qtext {
  color: #f31c0a;
  font-size: 2.2rem;
  width: 90%;
  text-align: center;
  margin: 0 auto;
  padding: 1rem 0;
  text-shadow: 1px 1px 1px #000000;
  font-family: TazBlack;
  font-weight: normal;
  text-transform: uppercase;
}

.qanswers {
  text-align: center;
  padding: 1rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 700px;
}

.answer {
  width: 100%;
  display: inline-block;
  position: relative;
  padding: 1rem;
  white-space: normal;
  cursor: pointer;
  background: #000;
  margin: 1rem auto;
  transition: all 0.3s ease;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin: 0.5rem;
}

.answer:hover {
  color: #fff;
  background: #333333;
}

.answerpost {
  background: #444243;
  border-radius: 16px;
  width: 90%;
  margin: 0 auto;
  padding: 1rem 2rem;
  transition: all 0.3s linear;
  opacity: 0;
  display: none;
  margin-bottom: 1rem;
}

.odgovor {
  font-family: TazRegular;
  font-style: normal;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

#reztext {
  font-family: TazRegular;
  padding-top: 1rem;
  font-style: normal;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
}

.answerposttext {
  display: none;
}

.next {
  background: #da2a4a;
  border-radius: 50px;
  font-family: TazRegular;
  font-style: normal;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  padding: 1.2rem 2.2rem;
  outline: none;
  border: none;
  cursor: pointer;
  margin: 1rem auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s linear;
}

.qzreply {
  font-family: TazRegular;
  font-style: normal;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.1;
  color: #ffffff;
  padding-top: 0.8rem;
}

.next.is-showing {
  opacity: 1;
}

.next img {
  padding-left: 0.3rem;
}

.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 screen and (max-width: 560px) {
  html {
    font-size: 10px;
  }
  .kvizarea {
    width: 100%;
    min-height: 780px;
    border-radius: 12px;
  }
  .qanswers {
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
  }
  .answer {
    width: 100%;
    margin: 1rem auto;
    font-size: 1.6rem;
  }
  .odgovor {
    font-size: 1.5rem;
  }
  .next {
    margin-top: 1rem;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  .answerpost {
    margin-top: 2rem;
  }
}
