body.popup-open {
  overflow: hidden;
}

.popup-close-btn {
  font-size: 3em;
  font-weight: var(--font-weight-light);
  color: var(--color-teal-70);
  position: absolute;
  top: 0;
  right: 0;
}

.popup-overlay.is-hiden {
  display: none;
}

[data-reach-dialog-overlay] {
  background: var(--color-black-54);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
}

.popup-overlay {
  background-color: var(--color-blue-90-transparent);
  -webkit-background-color: var(--color-blue-90-transparent);
  z-index: var(--z-index-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.popup-content {
  margin: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  padding: 1.5em;
  flex: 0 0 100%;
  align-items: center;
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.popup-message {
  font-weight: var(--font-weight-medium);
  color: var(--color-black-90);
  font-size: 1.375em;
  line-height: 1.625rem;
  margin-bottom: 2em;
  margin-top: 3em;
  text-align: center;
  font-family: var(--font-family-headings);
}

@media (min-width: 48em) {
  .popup-actions {
    flex-direction: row;
  }
  .popup-content {
    flex: 0 0 70%;
  }
}

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