.theorem-container {
  background-image: radial-gradient(lightgrey 1.3px, Whitesmoke 1.3px);
  background-size: 20px 20px;
  padding: 20px;
  max-width: 860px;
}
.theory-card {
  width: 240px;
  height: 360px;
  padding: 10px;
  background-color: Whitesmoke;
  border: 1px solid Lightgrey;
  border-radius: 15px;
  transform-origin: bottom;
  transition: all 0.3s ease;
  &:hover {
    box-shadow: 0px 4px 20px 5px Lightgrey;
    scale: 1.01;
    transform: translateY(-10px);
  }
  &:hover .card-circle {
    border-color: White;
    box-shadow: 2px 2px 20px 4px rgba(30, 144, 255, 0.25),
      2px 2px 20px 4px rgba(30, 144, 255, 0.25) inset;
  }
}
.card-circle {
  width: 120px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  background-color: transparent;
  border: 1.5px solid Black;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.theory-card-btn {
  width: 35px;
  height: 35px;
  font-size: 18px;
  font-weight: 600;
  color: Black;
  background-color: Whitesmoke;
  border: 1.5px solid Black;
  border-radius: 50%;
  transition: scale 0.3s ease;
}
.lottie-quiz-dialog::part(dialog) {
  width: 680px;
}
.lottie-quiz-dialog::part(title) {
  font-size: 30px;
}
.circle-container {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  position: relative;
  margin: 0 auto;
}
.circle-container img {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: absolute;
}
.revise-btn {
  transition: scale 0.3s ease-in-out;
  &:hover {
    scale: 1.1;
  }
}
#diameter {
  display: none;
}
#chord {
  display: none;
}
#circumference {
  display: none;
}
#sector {
  display: none;
}
#arc {
  display: none;
}
#segment {
  display: none;
}
#radius {
  display: none;
}
#centre {
  display: none;
}
#tangent {
  display: none;
}
#secant {
  display: none;
}
.switch {
  position: relative;
  width: 160px;
  height: 40px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.element-toggle {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  font-weight: 600;
  background-color: transparent;
  border: 1.5px solid Black;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
input:checked + .centre-toggle {
  background-color: Dodgerblue;
  border-color: Dodgerblue;
  color: White;
}
input:checked + .diameter-toggle {
  background-color: MediumSeaGreen;
  border-color: MediumSeaGreen;
  color: White;
}
input:checked + .radius-toggle {
  background-color: Crimson;
  border-color: Crimson;
  color: White;
}
input:checked + .chord-toggle {
  background-color: Gold;
  border-color: Gold;
  color: White;
}
input:checked + .circumference-toggle {
  background-color: DarkTurquoise;
  border-color: DarkTurquoise;
  color: White;
}
input:checked + .arc-toggle {
  background-color: Magenta;
  border-color: Magenta;
  color: White;
}
input:checked + .segment-toggle {
  background-color: Orange;
  border-color: Orange;
  color: White;
}
input:checked + .sector-toggle {
  background-color: LightBlue;
  border-color: LightBlue;
  color: White;
}
input:checked + .tangent-toggle {
  background-color: Grey;
  border-color: Grey;
  color: White;
}
input:checked + .secant-toggle {
  background-color: Grey;
  border-color: Grey;
  color: White;
}
input:focus + .element-toggle {
  box-shadow: 0 0 1px #2196f3;
}
.theory-lottie {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto;
}
.quiz-img-container {
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.quiz-answer-box {
  width: 80px;
  height: 40px;
  border: 1.5px solid Grey;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
.quiz-confetti {
  position: absolute;
  width: 260px;
  top: 0px;
  left: -10px;
  z-index: -1;
}
.answer-main-container {
  position: relative;
  width: 240px;
  margin: 0 auto;
}