interest-overlay
{
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 6vw;
  box-sizing: border-box;
  background-color: hsla( 226, 21%, 8%, 0.75 );
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

interest-overlay.interest-visible
{
  opacity: 1;
  pointer-events: auto;
}

interest-dialog-box
{
  display: block;
  position: relative;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  padding: 2.4em 2em 2em 2em;
  border-radius: 1.2em;
  border: 1px solid hsla( 195, 100%, 46%, 0.35 );
  background-color: hsl( 226, 21%, 14% );
  text-align: center;
  text-transform: none;
  transform: scale( 0.95 );
  transition: transform 150ms ease;
}

interest-overlay.interest-visible interest-dialog-box
{
  transform: scale( 1 );
}

interest-close-button
{
  display: block;
  position: absolute;
  top: 0.8em;
  right: 0.8em;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  line-height: 2em;
  text-align: center;
  cursor: pointer;
  color: hsl( 0, 0%, 100% );
  background-color: hsla( 0, 0%, 100%, 0.08 );
  transition: background-color 150ms ease;
}

interest-close-button::before
{
  content: "\2715";
}

interest-close-button:hover
{
  background-color: hsla( 0, 0%, 100%, 0.18 );
}

interest-title
{
  display: block;
  margin-bottom: 0.6em;
  font-size: 1.6em;
  font-weight: 800;
  font-style: italic;
  color: hsl( 0, 0%, 100% );
}

interest-text
{
  display: block;
  margin-bottom: 1.6em;
  color: hsl( 219.1, 24%, 74.9% );
  font-size: 1em;
  line-height: 1.5em;
}

interest-form
{
  display: grid;
  gap: 0.8em;
}

interest-email-input input
{
  width: 100%;
  box-sizing: border-box;
  padding: 0.8em 1em;
  border-radius: 0.6em;
  border: 1px solid hsla( 0, 0%, 100%, 0.2 );
  background-color: hsl( 226, 21%, 10% );
  color: hsl( 0, 0%, 100% );
  font-family: inherit;
  font-size: 1em;
}

interest-email-input input::placeholder
{
  color: hsl( 219.1, 24%, 55% );
}

interest-email-input input:focus
{
  outline: none;
  border-color: var( --main-color, hsl( 195, 100%, 46% ) );
}

interest-send-button
{
  display: block;
  padding: 0.8em 1em;
  border-radius: 0.6em;
  background: linear-gradient( 170deg, hsl( 180, 100%, 60% ) 0, hsl( 205, 100%, 40% ) 100% );
  color: hsl( 0, 0%, 100% );
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 150ms ease;
}

interest-send-button:hover
{
  opacity: 0.85;
}

interest-send-button.interest-busy
{
  opacity: 0.6;
  pointer-events: none;
}

interest-send-button[hidden]
{
  display: none;
}

interest-status
{
  display: block;
  min-height: 1.4em;
  margin-top: 1em;
  font-size: 0.9em;
  color: hsl( 219.1, 24%, 74.9% );
}

interest-status.interest-status-error
{
  color: hsl( 0, 80%, 65% );
}
