/* The position fixer */

#mc_embed_shell {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: #00000099;
  transition: all 600ms;
  opacity: 0;
  z-index: 99;
  pointer-events: none;
}

#mc_embed_shell.show {
  pointer-events: all;
  opacity: 1;
}

#mc_embed_shell .backdrop {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: block;
  position: absolute;
}

/* Content box */
#mc_embed_signup {
  background: url(../img/bg.webp);
  position: relative;
  box-shadow: 0 2px 18px #00000066;
  transition: all 300ms 1ms;
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
  max-width: 99vw;
  border: 10px solid #fff;
}
#mc_embed_shell.show #mc_embed_signup {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 300ms;
}
@media (min-width: 480px) {
  #mc_embed_signup {
    flex-direction: row;
  }
}

/* Square art next to the form */
.signup-cover-art {
  line-height: 0;
  width: 100%;
  display: none;
}
@media (min-width: 960px) {
  .signup-cover-art {
    display: block;
  }
}
.signup-cover-art img {
  width: 100%;
}
@media (min-width: 480px) {
  .signup-cover-art img {
    width: auto;
    height: min(25rem, 40vw);
  }
}
/* Close button */
.btn-close-signup {
  background: none;
  color: #fff;
  border: none;
  border-radius: 100%;
  width: 1.2em;
  height: 1.2em;
  font-size: 2rem;
  line-height: 1em;
  position: absolute;
  top: 0;
  right: 0;
  mix-blend-mode: revert;
  text-align: center;
  padding: 0;
  transform: translateZ(-1px);
  z-index: 2;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 100;
}
@media (min-width: 480px) {
  .btn-close-signup {
    position: absolute;
    top: 0rem;
    left: auto;
    right: 0rem;
    width: 2em;
    height: 2em;
    cursor: pointer;
  }
}

.form-header {
  width: 94vw;
  height: 30vw;
  background: url(../img/newsletter-join/tear.webp) no-repeat;
  background-size: cover;
  background-position: center top;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 12px;
}
@media (min-width: 480px) {
  .form-header {
    width: min(550px);
    height: min(140px);
  }
}

/* logo */
.form-join-logo {
  width: max(70%, 31vw);
}

@media (min-width: 480px) {
  .form-join-logo {
    width: 54%;
  }
}
/*Copy: Don’t watch from the sidelines anymore. */
.form-header-copy {
  font-weight: 400;
  font-size: 1.1rem;
  font-style: italic;
  margin: 0.25rem 0 0.5rem 0;
}
@media (min-width: 480px) {
  .form-header-copy {
    font-size: min(1.5rem, 22px);
  }
}

#mc_embed_signup_scroll {
  position: relative;
  top: 0;
  text-align: center;
  padding: 1rem;
  .show-privacy & {
    opacity: 0;
    pointer-events: none;
  }
}
@media (min-width: 480px) {
  #mc_embed_signup_scroll {
    padding: 1rem;
  }
}

/*Copy: [ OPEN THE DOOR ] TO THE UNEXPECTED */
.form-copy-2 {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  margin: 0 auto;
  & .thin-bracket {
    /* font-family: Arial, Helvetica, sans-serif; */
    font-weight: 400;
  }
}
@media (min-width: 480px) {
  .form-copy-2 {
    margin-top: 0.5rem;
    font-size: min(1.1rem);
    letter-spacing: 0.05em;
  }
}
.form-copy-3 {
  font-size: 3.5vw;
  margin-top: 0.25em;
  letter-spacing: 0.05em;
}

@media (min-width: 480px) {
  .form-copy-3 {
    font-size: min(1rem);
  }
}
#mc_embed_signup form {
  /* padding: 3rem; */
  display: flex;
  align-items: start;
  justify-content: start;
  position: relative;
  flex-direction: column;
  min-height: 26rem;
}

@media (min-width: 480px) {
  #mc_embed_signup form {
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
  }
}

#mc_embed_signup .indicates-required {
  text-align: right;
  font-size: 11px;
  margin-right: 4%;
}
#mc_embed_signup .asterisk {
  color: #e85c41;
  font-size: 150%;
  font-weight: normal;
  position: relative;
  top: 5px;
}
#mc_embed_signup .mc-field-group {
  clear: left;
  position: relative;
  width: 96%;
  width: 100%;
  padding-bottom: 3%;
  min-height: 50px;
  display: grid;
  align-content: center;
  justify-items: center;
}
#mc_embed_signup .mc-field-group label {
  display: block;
  margin-bottom: 3px;
  font-size: 0.8em;
}
#mc_embed_signup .mc-field-group input {
  display: block;
  width: 80%;
  padding: 8px 0;
  text-indent: 2%;
  font-size: 1.2em;
  text-indent: 1rem;
}
#mc_embed_signup .button,
.btn-back-success {
  clear: both;
  background-color: #111;
  border: 0 none;
  border-radius: 4px;
  transition: all 0.23s ease-in-out 0s;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  font-weight: normal;
  height: 32px;
  line-height: 32px;
  margin: 0 5px 10px 0;
  padding: 0 22px;
  text-align: center;
  text-decoration: none;
  vertical-align: top;
  white-space: nowrap;
  width: fit-content;
  width: -moz-fit-content;
}

#mc_embed_signup .button#mc-embedded-subscribe:disabled {
  opacity: 0.2;
  pointer-events: none;
  color: #fff;
  background: linear-gradient(#474747, #030303);
}

#mc_embed_signup .button#mc-embedded-subscribe {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  border-radius: 0;
  color: #fe8c05;
  background: linear-gradient(#474747, #030303);
  padding: 0.5em 1.2em;
  height: auto;

  &:hover {
    color: #000;
    background: linear-gradient(#fe730b, #fd9104);
  }
}

#mc_embed_signup .disclaimer {
  width: 100%;
  display: block;
  font-size: 0.9rem;
  margin: 0;
  font-style: italic;

  & .privacy-policy-trigger {
    text-decoration: underline;
    cursor: pointer;
  }
}

/* Submission success */
.success {
  padding: 3rem;
  display: none;
  align-items: center;
  position: relative;
  justify-content: center;
  flex-direction: column;
  &.show {
    display: flex;
  }
}

/* Privacy Policy */
.form-privacy-policy {
  display: flex;
  flex-direction: column;
  font-size: 0.9em;
  position: absolute;
  opacity: 0;
  .show-privacy & {
    opacity: 1;
    top: 9rem;
  }
  & .btn-close-privacy {
    border: none;
    color: #fff;
    background-color: #000;
    flex-basis: 0;
    width: 2rem;
    align-self: end;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 300ms;
    &:hover {
      opacity: 1;
    }
  }
  & h4 {
    margin: 0;
  }
  & p {
    margin-top: 0.5rem;
  }
}
