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

* {
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: tenso, sans-serif;
  font-size: 55%;
}

body {
}

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

.slide {
  position: absolute;
  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;
  padding-top: 1em;
}

.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;
  /*padding: 2rem;*/
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  max-width: 960px;
}

.answer,
.answer2 {
  display: block;
  position: relative;
  padding: 3rem 0;
  white-space: normal;
  cursor: pointer;
  background: #fff;
  max-width: 800px;
  transition: all 0.3s ease;
  color: #737373;
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: 800;
  height: 70px;
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  margin-top: 1rem;
}

.answertxt {
  display: block;
  position: relative;
  padding: 1.3rem;
  white-space: normal;
  cursor: pointer;
  color: #737373;
  background: #fff;
  margin: 1rem;
  max-width: 800px;
  transition: all 0.3s ease;
  color: #dd5e12;
  text-transform: uppercase;
  font-size: 1.6rem;
  font-weight: 800;
  height: 70px;
  width: 40%;
  border-radius: 1rem;
}

.answer:hover,
.answer2:hover,
.answertxt:hover {
  color: #4a4a4a;
  background: #ffd401;
  box-shadow: 0px 6px 4px rgba(0, 0, 0, 0.25);
}

.answer2.selected {
  color: #4a4a4a;
  background: #ffd401;
  box-shadow: 0px 8px 4px rgba(0, 0, 0, 0.25);
}

.anstext {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90%;
  transform: translate(-50%, -50%);
  font-size: 14px;
}

.show {
  display: block;
}

.qnum {
  font-size: 1.4rem;
  padding-bottom: 2rem;
  padding-top: 1rem;
  color: #444444;
  background: url('img/kruzic.svg');
  width: 34.3px;
  height: 41.1px;
}

.qtext {
  color: #4a4a4a;
  font-size: 3rem;
  width: 90%;
  text-align: center;
  margin: 0 auto;
  padding-bottom: 2rem;
  padding-top: 1rem;
  font-weight: normal;
}

.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 screen and (max-height: 960px) {
  .answer,
  .answertxt {
    height: 60px;
  }
}

@media screen and (max-width: 1400px) {
  html {
    font-size: 12px;
  }
  .logo {
    width: 140px;
    height: 90px;
    bottom: 1%;
  }
}

@media screen and (max-width: 760px) {
  html {
    font-size: 12px;
  }

  .qtext {
    font-size: 3rem;
    padding-bottom: 1rem;
  }

  .answer,
  .answertxt {
    height: 40px;
    font-size: 1.5rem;
  }
  .rezpic {
    width: 160px;
    margin: 0 auto;
  }
  .logo {
    width: 120px;
    height: 80px;
    bottom: 1%;
  }
}

@media screen and (max-width: 360px) {
  html {
    font-size: 10px;
  }
  .qtext {
    font-size: 3rem;
    padding-bottom: 0.6rem;
  }

  .answer,
  .answertxt {
    height: 40px;
    font-size: 1.5rem;
    margin: 0.4rem 0.4rem 1rem;
  }
  .rezpic {
    width: 100px;
    margin: 0 auto;
  }
  .logo {
    width: 80px;
    height: 50px;
    bottom: 1%;
  }
  .reztitle {
    font-size: 2rem;
    padding: 1rem;
  }
  .reztext {
    font-size: 1.2rem;
  }
  .intro {
    padding-top: 1rem;
  }
}
