html.fler-portfolio-contact-open {
  overflow: hidden;
}

dialog.fler-portfolio-contact {
  box-sizing: border-box;
  width: min(440px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 48px 28px 28px;
  overflow: auto;
  border: 0;
  border-radius: 16px;
  background: #fffdf5;
  color: #332027;
  font-family: Manrope, sans-serif;
  text-align: center;
  box-shadow: 0 20px 60px rgb(51 32 39 / 25%);
}

.fler-portfolio-contact:not([open]) {
  display: none;
}

.fler-portfolio-contact::backdrop {
  background: rgb(33 17 25 / 55%);
}

.fler-portfolio-contact h2 {
  margin: 0 0 12px;
  color: inherit;
  font: 700 30px / 1.2 "Times New Roman", serif;
  overflow-wrap: anywhere;
}

.fler-portfolio-contact p {
  margin: 0 0 24px;
  color: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.fler-portfolio-contact__close {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.fler-portfolio-contact__links {
  display: grid;
  gap: 12px;
}

.fler-portfolio-contact a.fler-portfolio-contact__link {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ad003f;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.fler-portfolio-contact a.fler-portfolio-contact__link:hover {
  background: #850030;
  color: #fff;
}

.fler-portfolio-contact__close:hover {
  background: #f2e5e7;
}

.fler-portfolio-contact :focus-visible {
  outline: 3px solid #ad003f;
  outline-offset: 3px;
}
