:root {
  --popup-bg: #FFFFFF;
  --popup-overlay-bg: #000000;
}

.popup {
  opacity: 0;
  z-index: -100;
  display: grid;
  width: 100%;
  max-width: -moz-max-content;
  max-width: max-content;
  padding: 40px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  background-color: var(--popup-bg);
}
.popup--active {
  opacity: 1;
  z-index: 101;
}
.popup__inner {
  display: grid;
  gap: 24px;
}
.popup__title {
  margin: 0;
}
.popup__close {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  align-items: center;
  cursor: pointer;
}
.popup__close-line {
  width: 1px;
  height: 20px;
  position: absolute;
  left: 50%;
  top: calc(50% - 10px);
  background-color: var(--popup-overlay-bg);
}
.popup__close-line:first-child {
  transform: rotate(45deg);
}
.popup__close-line:last-child {
  transform: rotate(-45deg);
}
.popup-overlay {
  position: fixed;
  opacity: 0;
  visibility: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--popup-overlay-bg);
}
.popup-overlay--active {
  opacity: 0.4;
  visibility: visible;
  z-index: 6;
  cursor: pointer;
}

@media (max-width: 920px) {
  .popup {
    width: calc(100% - 100px);
  }
}
@media (max-width: 640px) {
  .popup {
    width: 92%;
  }
}
@media (max-width: 450px) {
  .popup {
    padding: 24px;
  }
}/*# sourceMappingURL=popup.css.map */