/* Emerald Valley Library - Interactive Mathematics, generated by Mathigon Studio */
.dark x-img .zoom {
  display: none;
}

.parchment {
  max-width: 540px;
  margin: 1em auto;
  position: relative;
  padding: 16px 12px;
  text-align: center;
  font-style: italic;
  color: rgba(0, 0, 0, 0.7);
  background-color: #f8f5de;
  background-image: linear-gradient(to right, rgba(255, 210, 0, 0.3), transparent 30%, rgba(200, 160, 0, 0.1) 65%);
  box-shadow: inset 0 0 75px rgba(255, 210, 0, 0.3), inset 0 0 30px rgba(220, 120, 0, 0.8);
}
.parchment:before, .parchment:after {
  content: "";
  height: 2px;
  position: absolute;
  left: 0;
  right: 0;
  clip-path: polygon(0% 0%, 5% 100%, 10% 0%, 15% 100%, 20% 0%, 25% 100%, 30% 0%, 35% 100%, 40% 0%, 45% 100%, 50% 0%, 55% 100%, 60% 0%, 65% 100%, 70% 0%, 75% 100%, 80% 0%, 85% 100%, 90% 0%, 95% 100%, 100% 0%);
}
.parchment:before {
  background-color: white;
  top: 0;
}
.parchment:after {
  background-color: #f0c77f;
  bottom: -2px;
}

.follows {
  margin: -8px 0 -10px;
}

.follows .math {
  transform: rotate(90deg);
  font-size: 1.6em;
}

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

#congruent-path {
  transition: transform 0.3s;
}
#congruent-path.focus {
  transform: translate(-112px, -35px) rotate(-1rad);
}

.congruence .obj {
  cursor: pointer;
  fill: #3a3645;
  stroke: #3a3645;
}
.congruence polygon, .congruence path, .congruence ellipse, .congruence rect {
  stroke: none;
}
.congruence line, .congruence polyline {
  fill: white;
  stroke-width: 4px;
}
.congruence polyline + path {
  stroke: inherit;
  fill: none;
  stroke-width: 8px;
}
.congruence .lines line {
  stroke: #3a3645;
  stroke-width: 4px;
  transition: stroke-width 0.2s;
}
.congruence .lines .correct {
  stroke-width: 8px;
}

#equilateral x-geopad .tools {
  opacity: 1;
}

@media screen and (max-width: 747px) {
  .sticky-video {
    width: 360px;
    position: sticky;
    top: 44px;
    flex-grow: 1;
    background: black;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }
  html.webview .sticky-video {
    top: 0;
  }
}
#crane .step {
  display: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s;
}
#crane .step:hover {
  color: rgba(255, 255, 255, 0.6);
}
#crane .step.active {
  color: white;
}
#crane .step:first-child {
  display: block;
}

#crane x-video {
  position: sticky;
  top: calc(50vh - 180px);
}

.origami-axioms x-video {
  margin-top: -24px !important;
}