:root {
  --white: #ffffff;
  --gray: #bec0c5;
  --gray-40: #BEC0C5;
  --gray-80: #323439;
  --gray-100: #181B23;
  --orange-red-100: #fe6a00;

  --font-syne: "Syne";
  --font-figtree: "Figtree"
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Syne", "Figtree", sans-serif;
  height: 100vh;
  margin: 0;
  padding: 0;
  background-color: black;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#background-image {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#modal-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  height: 100vh;
  min-height: 1000px;
}

#modal-container {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  background-color: transparent;
  max-width: 1440px;
  width: 100%;
  height: 100%;
  padding-bottom: 3rem;
  padding-left: 10rem;
}

#modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--white);
  width: 100%;
  height: 100%;
  max-width: 664px;
  max-height: 640px;
  min-width: 664px;
  min-height: 640px;
  border-radius: 0.75rem;
  box-shadow: 0px 4px 40px 0px #0000002E;
  padding-bottom: 2.625rem;
  padding-top: 2.625rem;
  padding-left: 2rem;
  padding-right: 2rem;
  gap: 5.5rem;
}

#modal #logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

#modal #logo-container #logo {
  width: 64px;
  height: 64px;
}

#modal #logo-container #text {
  color: var(--gray-100);
  font-size: 4rem;
  font-family: var(--font-syne);
  margin: 0;
}


#modal #text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

#modal #text-container #title {
  color: var(--gray-80);
  font-size: 2.5rem;
  font-family: var(--font-syne);
  margin: 0;
}

#modal #text-container #text {
  color: var(--gray-80);
  font-size: 1.25rem;
  font-family: var(--font-figtree);
  line-height: 2rem;
  text-align: center;
  margin: 0;
}

#modal #form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  width: 440px;
  max-width: 440px;
  min-width: 440px;
}

#modal #form-container #text {
  color: var(--gray-80);
  font-size: 1.5rem;
  font-family: var(--font-syne);
  margin: 0;
}

#modal #form-container #emailForm {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 100%;
}

#modal #form-container #emailForm #input {
  display: flex;
  border-bottom: 1px solid var(--gray-40);
  padding-bottom: 0.25rem;
  width: 100%;
  min-width: 100%;
  background-color: transparent;
}

#modal #form-container #emailForm #input .disabled {
  background-color: var(--gray-40);
}

#modal #form-container #emailForm #input .enabled {
  background-color: var(--orange-red-100);
}


#modal #form-container #emailForm #input #email {
  border: none;
  flex: 1;
  color: var(--gray-60);
  font-family: var(--font-figtree);
  font-size: 1rem;
  line-height: 1.5rem;
}

#modal #form-container #emailForm #input #email::placeholder {
  color: var(--gray-40);
  /* Replace with your desired color */
  opacity: 1;
  /* Optional: makes color fully opaque in some browsers */
}

#modal #form-container #emailForm #input #email:focus {
  outline: none;
  /* make sure focus outline stays gone */
}

#modal #form-container #emailForm #input #submit-button {
  border: none;
  /* background-color: var(--orange-red-100); */
  color: var(--white);
  border-radius: 2rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-family: var(--font-figtree);
  font-size: 0.875rem;
  line-height: 1.25rem;
}


#modal #form-container #emailForm #error-message-container #message {
  margin: 0;
  margin-top: 0.5rem;
}


@media (max-width: 1050px) {
  #modal-container {
    justify-content: center;
    align-content: center;
    padding: 0;
  }
}


@media (max-width: 700px) {
  #modal-wrapper {
    display: flex;
    /* justify-content: center;
    align-items: center; */
    align-items: start;
    height: 100vh;
    max-height: 100vh;
    overflow: scroll;
      background-color: var(--white);
  }

  #modal-container {
    align-items: start;
    height: 100%;
    min-height: 1500px;
    padding-left: 0;
    /* background-color: orange; */
    padding-bottom: 0;
      background-color: var(--white);
  }

  #modal {
    /* background-color: lightblue; */
    min-height: 700px;
    min-width: 100%;
    max-height: 700px;
    max-width: 100%;
    border-radius: 0;
    padding: 1rem;
    box-shadow: none;
  }

  #modal #logo-container #text {
    font-size: 2rem;
  }

  #modal #logo-container {
    gap: 0.5rem;
  }

  #modal #logo-container #logo {
    width: 32px;
    height: 32px;
  }


  #modal #form-container {
    gap: 2.5rem;
    width: 100%;
    min-width: 100%;
  }

  #modal #text-container #title {
    font-size: 2rem;
  }


  #modal #text-container #text {
    font-size: 1rem;
    line-height: 1.25rem;
  }


  #background-image {
    display: none;
  }
}