@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;800&display=swap");

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", system-ui, sans-serif;
  color: #1f2d3a;
}
button {
  font: inherit;
  cursor: pointer;
}
.send {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  text-align: left;
}
.send input {
  flex: 1 1 180px;
  padding: 12px 14px;
  border: 2px solid #e3e8ee;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
}
.send button {
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  background: #2b6cd1;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.send button:disabled {
  opacity: 0.6;
}
.send-status {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
  color: #5b6b7a;
}

body {
  background: linear-gradient(160deg, #fff4d6, #e3f4ff);
  display: grid;
  place-items: center;
  padding: 16px;
}
.quiz {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 60px #1f2d3a1f;
}
.badge {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #e07a1f;
}
h1 {
  margin: 6px 0 14px;
  font-size: 28px;
}
.progress {
  height: 8px;
  background: #eef1f4;
  border-radius: 99px;
  overflow: hidden;
}
#bar {
  height: 100%;
  width: 0;
  background: #3aa76d;
  transition: width 0.3s;
}
h2 {
  font-size: 21px;
  margin: 22px 0 14px;
}
.choice {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  margin: 8px 0;
  border: 2px solid #e3e8ee;
  border-radius: 14px;
  background: #fff;
  font-size: 17px;
}
.choice:disabled {
  color: inherit;
  cursor: default;
}
.choice:hover:not(:disabled) {
  border-color: #7fb7e8;
}
.choice.right {
  border-color: #3aa76d;
  background: #e8f7ee;
}
.choice.wrong {
  border-color: #e05a4f;
  background: #fdecea;
}
.next,
.share {
  margin-top: 16px;
  padding: 12px 20px;
  border: 0;
  border-radius: 14px;
  background: #1f2d3a;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.share {
  background: #25a35a;
  margin-left: 8px;
}
.result {
  text-align: center;
  padding: 20px 0;
}
.result strong {
  display: block;
  font-size: 56px;
  color: #3aa76d;
}
.explain {
  color: #5b6b7a;
  margin: 10px 0 0;
}
