@import "https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap"; 


html {
    font-size: 62.5%; 
    box-sizing: border-box;
}
body{
  min-height:100vh;
  color:white;
  background-color: #dcd4eb;
  padding:2rem;
  font-size: 1.6rem;
  font-family: "Atkinson Hyperlegible", sans-serif;
  line-height: normal;
  background-image: url(../../images/layout/fondo-quest.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position:center;
}
main {
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
}
main .logo-quest {
  display: block;
  width: auto;
  height: 20rem;
  margin: 0rem auto 2rem auto;
}
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 5rem auto;
  img {
    display: block;
    width: auto;
    height: 7rem;
    margin: 0 2rem;
  }
}
.app{
  width:100%;
  max-width:98rem;
  background-color: #572671;
  border-radius:2rem;
}

.card{
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.15);
  border-radius:2rem;
  padding:30px;
  box-shadow:0 20px 40px rgba(0,0,0,0.4);
}

h2{
  margin-bottom:3rem;
  text-align:center;
}

.progress-container{
  width:100%;
  height:12px;
  background:rgba(255,255,255,0.15);
  border-radius:30px;
  overflow:hidden;
  margin-bottom:15px;
}

.progress-bar{
  width:0%;
  height:100%;
  background:linear-gradient(90deg,#ff0099,#6b0542);
  transition:0.4s;
}

.counter{
  text-align:center;
  margin-bottom:25px;
  opacity:0.8;
}

.question{
  font-size:24px;
  margin-bottom:25px;
}

.answers{
  display:grid;
  gap:15px;
}

.answer{
  padding:18px;
  border-radius:16px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.1);
  cursor:pointer;
  transition:0.3s;
}

.answer:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,0.15);
}

.answer.selected{
  background:#f37dc3;
}

button{
  width:100%;
  margin-top:30px;
  padding:18px;
  border:none;
  border-radius:16px;
  background:#ff0099;
  color:white;
  font-size:18px;
  cursor:pointer;
  transition:0.3s;
}

button:hover{
  transform:scale(1.02);
}

.result{
  text-align:center;
  margin-top:30px;
  font-size:24px;
  line-height:1.5;
}

.hidden{
  display:none;
}
