@import url('https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins';
}

html, body {
  width: 100%;
  height: 100%;
}

.start-img {
  max-width: 200px;
}

body {
  background-color: #f5f5f57a;
}

.home-container button {
  color: white;
  background-color: #35bd3a;
  border: none;
  outline: none;
  padding: 12px 20px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 18px;
  box-shadow: 3px 5px 3px 1px #387f3a;
  cursor: pointer;
}

.home-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  
}

.container {
  max-width: 800px;
  margin: 2.5rem auto;
  padding: 2rem 2rem 0 2rem;
  transform: translateX(-100vw);
 transition: all .3s;

}
.show-quiz {
  transform: translateX(0);
}

.img-soundcontainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.score-container, .timer-container {
  background-color: #fec33d;
  text-align: right;
  width: 120px;
  margin-left: auto;
  padding: 3px 16px;
  border-radius: 3px;
  font-size: 30px;
  font-weight: 600;
  margin-block: 2rem;
}

.timer-container {
  background-color: #15a71c;
  color: white;
  padding: 3px 10px;
  margin-block: 24px;
}

.question-render {
  display: block;
  width: 100%;
  padding: 20px 32px;
  background-color: #eaf0e7;
  border: none;
  outline: none;
  font-size: 24px;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 1rem;
}

.answer-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #eaf0e7;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.answer {
  width: 100%;
  padding: 12px 16px;
  border: 3px solid #d9d9d9;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 600;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.answer p {
  display: none;
  align-items: center;
  gap: 1rem;
  font-size: 10px;
}

.answer img {
  width: 18px;
}

.chosen {
  white-space: nowrap;
}

.wrong {
  border: 3px solid #ff7a7a;
}

.right {
  border: 3px solid #35bd3a;
}

.next {
  margin-left: auto;
  width: 75px;
  display: block;
  margin-block: 1rem;
  background-color: transparent;
  border: none;
  color: #01ab08;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}

.love {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding-bottom: 1rem;
  color: #858585;
}

.sound {
  display: none;
}

.result-container{
  max-width: 800px;
  margin: 2.5rem auto;
  padding: 2rem 2rem 0 2rem;
  text-align: center;
  display: none;
}


.result-container button{
  color: white;
  background-color: #35bd3a;
  border: none;
  outline: none;
  padding: 6px 15px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 12px;
  box-shadow: 3px 2px 3px 1px #387f3a;
  cursor: pointer;
  margin-bottom: 1rem;
}

.result-container{
  color: #535353;
  font-weight: 600;
}

.result-chart{
  width: 400px;
  height: 50px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  margin-bottom: 5rem;
  position: relative;
}
.result-container h3{
  margin-bottom: 2rem;
}


.success{
  height: 100%;
  background-color: #35BD3A;
  border-radius: 4px;
  position: relative;

}


.fail{
  height: 100%;
  background-color: #FF7A7A;
  position: relative;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  
}

.success img{
  position: absolute;
  top: 35%;
  left: -20px;
}
.fail img{
  position: absolute;
  top: 35%;
  right: -20px;
}

.result-container h2{
  margin-bottom: 5rem;
}

.social-container{
  margin-top: 3rem;
}

.social-container img{
  margin-right: 12px;
}
.score-content {
  position: absolute;
  bottom: -136%;
  display: flex;
  justify-content: space-between;
  width: 126%;
  left: -12%;
}


@media (max-width: 768px) {
  .score-container, .timer-container {
    width: 75px;
    font-size: 16px;
  }
.container{
  padding: 2rem 1.5rem 0 1.5rem;
}

  .score-content {
    position: absolute;
    bottom: -88%;
    display: flex;
    justify-content: space-between;
    width: 131%;
    left: -14%;
}
.answer p{
  font-size: 8px;
  gap: 7px;
}
  .start-img {
    max-width: 120px;
  }
  .question-render {
    padding: 8px 20px;
    font-size: 13px;
  }
  .answer {
    padding: 12px 9px;
    font-size: 10px;
  }
  .next {
    margin-top: 2rem;
  }
 .sound,.mute{
  width: 32px;
 }
 .love{
  font-size: 14px;
 }
 .fail img{
  right: -40%;
    width: 40px;
}
.success img{
  left: -10%;
    width: 40px;
}
.result-chart{
  width: 250px;
}
.answer img{
  width: 14px;
}
}
 

