/* (c) Innings2, generated by Mathigon Studio */
x-quiz {
  display: block;
}
x-quiz .quizcard {
  width: 100%;
}
x-quiz .question {
  display: none;
  font-size: 1.2em;
}
x-quiz .question .correct_answer {
  display: none;
}
x-quiz .question .answers {
  margin-top: 40px;
  list-style: none;
}
x-quiz .question .answers li {
  padding: 0;
  margin: 0px;
  border: 1px solid rgba(33, 36, 44, 0.64);
  border-right: 0px;
  border-left: 0px;
  padding: 5px;
}
x-quiz .question .answers li:hover {
  background-color: #e5e5e5;
}
x-quiz .question .answers li.active {
  background-color: #e5e5e5;
}
x-quiz .question .hint {
  margin-top: 20px;
  font-size: 0.9em;
  color: #555;
}
x-quiz .nav {
  height: 40px;
  position: relative;
}
x-quiz .dots {
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}
x-quiz .dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(24, 24, 36, 0.2);
  float: left;
  margin: 4px;
  transition: background 0.2s;
}
html[theme=dark] x-quiz .dot {
  background: rgba(255, 255, 255, 0.4);
}
x-quiz .dot.on {
  background: rgba(0, 0, 0, 0.8);
}
html[theme=dark] x-quiz .dot.on {
  background: white;
}

@media screen and (min-width: 680px) {
  .shift-1 {
    margin-top: -70px !important;
  }
}
.space {
  display: inline-block;
  width: 20px;
}

.mountain {
  background: white;
  box-shadow: 0 0 30px 10px white;
  z-index: 100;
}
html[theme=dark] .mountain {
  background: #22212e;
}
html[theme=dark] .mountain {
  box-shadow: 0 0 30px 10px #22212e;
}

.task {
  color: #0f82f2;
  border-bottom: 2px solid #0f82f2;
  padding-bottom: 0.5em;
  margin-bottom: 0.7em;
  font-weight: 600;
}

.middle {
  width: 300px;
  height: 300px;
  top: calc(50vh - 150px);
}

.theorem .row.padded {
  margin: -1em -24px -1em;
}

.theorem svg {
  overflow: visible;
}

#pythagoras-proof x-geopad {
  background: transparent;
  position: relative;
  stroke-linejoin: round;
}
#pythagoras-proof .tri {
  fill: #b198db;
}
#pythagoras-proof.focus .tri:not(.focus) {
  fill: #e7e2f1;
}
#pythagoras-proof .square {
  fill: #f09e8e;
}
#pythagoras-proof.focus .square:not(.focus) {
  fill: #f4e4e1;
}
#pythagoras-proof .label {
  position: absolute;
  transform: translate(-50%, -50%) scale(0.4);
  color: white;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
}
#pythagoras-proof .label.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-timing-function: linear, cubic-bezier(0.33, 1.9, 0.52, 0.7);
}
#pythagoras-proof .similar-triangle .light {
  opacity: 0.2;
}

.proof-table .pill {
  border-radius: 12px;
  margin-bottom: 6px;
}
.proof-table .pill mfrac {
  margin: 0.2em 0;
}
.proof-table p {
  margin-bottom: 8px !important;
}

#pythagorean-triples-grid circle.move {
  fill: #0f82f2;
  transition: r 0.2s;
}
#pythagorean-triples-grid .thick {
  stroke: #0f82f2;
  transition: none;
}
#pythagorean-triples-grid .label {
  position: absolute;
  background: #0f82f2;
  border-radius: 4px;
  color: white;
  padding: 1px 8px;
  transform: translate(-50%, -50%);
}
#pythagorean-triples-grid .triple circle.move {
  fill: #22ab24;
}
#pythagorean-triples-grid .triple .thick {
  stroke: #22ab24;
  fill: rgba(34, 171, 36, 0.2);
}
#pythagorean-triples-grid .triple .label {
  background: #22ab24;
}

.qed {
  display: block;
  float: right;
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  margin-top: 8px;
}

.hover-image {
  transition: transform 0.2s ease-in-out;
}

.hover-image:hover {
  transform: scale(1.1);
}