/**
$max: fontsize for desktop in px
$lineHeight: lineheight for desktop in px
$min: fontsize for mobile in px
$marginBottom: factor of the bottommargin to the base of 40px on desktop --> ist umgestellt, war vorher marginTop
*/
.mono_modal {
  position: fixed;
  top: 0;
  left: 0;
  max-width: 100vw;
  width: 100%;
  height: 100%;
  display: block;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  z-index: -1;
  transition: all 500ms;
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.mono_modal__next {
  left: 10px;
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"%3E%3Cg id="Gruppe_6" data-name="Gruppe 6" transform="translate(718 -610) rotate(90)"%3E%3Ccircle id="Ellipse_1" data-name="Ellipse 1" cx="20" cy="20" r="20" transform="translate(610 678)" fill="%23777"%3E%3C/circle%3E%3Cpath id="Polygon_1" data-name="Polygon 1" d="M10,0,20,17H0Z" transform="translate(640 709) rotate(180)" fill="%23fff"%3E%3C/path%3E%3C/g%3E%3C/svg%3E');
  background-repeat: no-repeat;
  transition: transform 150ms;
}
.mono_modal__previous {
  width: 40px;
  height: 40px;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"%3E%3Cg id="Gruppe_7" data-name="Gruppe 7" transform="translate(-678 650) rotate(-90)"%3E%3Ccircle id="Ellipse_1" data-name="Ellipse 1" cx="20" cy="20" r="20" transform="translate(610 678)" fill="%23777"%3E%3C/circle%3E%3Cpath id="Polygon_1" data-name="Polygon 1" d="M10,0,20,17H0Z" transform="translate(640 709) rotate(180)" fill="%23fff"%3E%3C/path%3E%3C/g%3E%3C/svg%3E');
  background-repeat: no-repeat;
  transition: transform 150ms;
  position: absolute;
  right: 10px;
}
.mono_modal--open {
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  align-items: center;
  animation: fade-in 1s;
  z-index: 5000;
  opacity: 1;
}
.mono_modal--close {
  background: none;
  position: absolute;
  right: 0;
}
.mono_modal-content {
  position: relative !important;
  width: fit-content;
  height: 80%;
}
@media (min-width: 1440px) {
  .mono_modal-content {
    width: auto;
  }
}
.mono_modal-content img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
@media (min-width: 1440px) {
  .mono_modal-content img {
    object-fit: cover;
  }
}
.mono_modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  transition: transform 250ms;
}
.mono_modal__close:hover {
  transform: scale(1.1);
}
.mono_modal__shield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}
.mono_modal__content {
  position: relative;
  background-color: white;
  border-radius: 20px;
  max-height: 80vh;
  max-width: 80vw;
  width: auto;
  height: auto;
  min-width: 20vw;
  min-height: 20vh;
  padding: 60px;
  display: flex;
  align-items: center;
}
.mono_modal__content-inner {
  width: 100%;
  height: 100%;
}