.image-zoom {
  position: relative;
  touch-action: manipulation;
}
#image-zoom-lens {
  position: absolute;
  border: 0.25rem solid var(--w3-theme-background-color);
  border-radius: 0.8rem;
  opacity: 0.75;
  text-align: center;
  touch-action: none;
  user-select: none;
  background-color: lightgrey;
}
#image-zoom-lens span {
  position: relative;
  top: -1.6rem;
  border-radius: 0.4rem;
  padding: 0.4rem;
  opacity: 1;
  font-size: xx-small;
  white-space: nowrap;
  background-color: var(--w3-theme-background-color) !important;
  color: var(--w3-theme-color) !important;
}
#image-zoom-magnify {
  height: 0;
  border-radius: 0.8rem;
  transition: height 0.5s ease, border-width 0.5s ease;
}
.button-power, .close-magnify {
  position: absolute;
  line-height: 1;
  font-weight: bold;
  background-color: var(--w3-theme-l1-background-color);
  color: var(--w3-theme-l1-color);
}
@media (hover:hover) {
.button-power:hover, .close-magnify:hover {
  text-decoration: none;
  cursor: pointer;
  background-color: var(--w3-theme-background-color);
  color: var(--w3-theme-color);
}}
.button-power {
  border-radius: 1.4rem;
  padding: 0.4rem;
  font-size: 2rem;
}
.close-magnify {
  display: none;
  right: 0;
  margin: 0.8rem;
  border-radius: 2.5rem;
  padding: 0.5rem 1.4375rem;
  font-size: 4rem;
}
.button-power-text, .close-text {
  border-radius: 1.5rem;
  line-height: 1;
  background-color: var(--w3-theme-l1-background-color);
  color: var(--w3-theme-l1-color);
}
.button-power-text {
  padding: 0.5rem;
  font-size: 2rem;
}
.close-text {
  padding: 0 0.834rem;
  font-size: 2.5rem;
  font-weight: bold;
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
#image-zoom-lens span {
  border-radius: 0.8rem;
  padding: 0.8rem;
  font-size: unset;
}
#image-zoom-magnify {
  position: absolute;
}
.button-power {
  border-radius: 2.85rem;
  padding: 0.8rem;
  font-size: 4rem;
}
}