body.popup-open {
  overflow: hidden;
}

.popup .button.popup-close-btn {
  font-size: 48px;
  font-weight: var(--font-weight-light);
  color: var(--color-teal-70);
  position: absolute;
  top: 0;
  border: none;
  right: 0;
  padding: 12px;
  justify-content: flex-end;
  line-height: 36px;
}

.popup-overlay {
  background-color: var(--color-blue-90-transparent);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

[data-reach-dialog-content] {
  width: 50vw;
  margin: 10vh auto;
  background: var(--color-white);
  padding: 32px;
  outline: none;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.popup--active {
  display: block;
}

.popup-content {
  background-color: var(--color-white);
  margin: 0px;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  padding: 24px;
  flex: 0 0 100%;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 80%;
}

.popup-message {
  font-weight: var(--font-weight-medium);
  color: var(--color-black-90);
  font-size: 22px;
  line-height: 26px;
  margin-bottom: 44px;
  margin-top: 66px;
  text-align: center;
}

@media (min-width: 768px) {
  .popup-actions {
    flex-direction: row;
    width: auto;
  }

  .popup-content {
    flex: 0 0 70%;
  }
}

@media (min-width: 993px) {
  .popup-content {
    max-width: 50%;
  }
}
