.forgot-password-content {
  position: relative;
}

.markdown-link {
  color: blue;
}

.back-for-pass {
  background: #fff;
  width: 750px;
  border-radius: 2.5em;
  margin: 0 auto;
  padding-left: 1em;
  padding-right: 1em;
  /* transition: width 600ms ease-in-out; */
  position: relative;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
  color: rgba(0, 0, 0, 0.9);
  font-weight: 500;
  margin-top: max(40px, calc(38vh - 150px));
  margin-bottom: 100px;
}

.forogto-passwordo-titleto {
  font-size: 2em;
  color: #ff0000;
  letter-spacing: 0.025em;
  font-weight: 700;
  text-align: center;
  /* padding-top: 0.5rem; */
  /* padding-bottom: 0.5rem; */
}

.email-section {
  width: 75%;
  margin: auto;
}

.email-div {
  margin-top: 1.25em;
}

.email-address-input {
  padding-left: 1em;
  padding-right: 1em;
  border-radius: 1.5em;
  width: 100%;
  height: 3.5em;
  border: 1px solid #ccc;
  margin-top: 3px;
  font-size: 1em;
  font-weight: 500;
  /* letter-spacing: normal; */
  color: rgba(0, 0, 0, 0.9);
}

.button-div {
  text-align: center;
  margin-top: 1.25em;
}

.send-password-button {
  font-size: 1em;
  border: none;
  transition-duration: 0ms;
  background-color: rgb(7 163 31);
  color: white;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 500;
  width: 35vw;
  min-width: max-content;
  max-width: 270px;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.error-span {
  color: red;
  margin-top: 0.5rem;
  font-weight: 400;
  text-align: center;
}

.invalid-credentials {
  margin: auto;
}

.invalid-credentials-div {
  text-align: left;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  padding-left: 0.75em;
  padding-right: 0.75em;
  --tw-bg-opacity: 1;
  background-color: rgb(252 235 235);
  --tw-border-opacity: 1;
  border-color: rgb(255 0 0);
  border-style: solid;
  border-width: 1px;
  border-radius: 0.5em;
  width: 100%;
  margin-top: 1.25em;
  margin-bottom: 1.5em;
}

.invalid-credentials-text {
  --tw-text-opacity: 1;
  color: rgb(239 68 68);
  font-size: 0.875em;
  line-height: 1.25em;
  margin-top: 0.25em;
}

.sucessful-email-sent {
  color: rgba(0, 0, 0, 0.9);
  text-align: center;
  margin-top: 0px;
  margin-bottom: 1.25em;
}

.forgot-email-timer {
  margin-top: 15px;
  text-align: center;
}

@media (max-width: 1280px) {
}

@media (min-width: 2550px) {
  .back-for-pass {
    width: 900px;
  }
  .forgot-password-content {
    font-size: 20px;
  }
}

@media (min-width: 3430px) {
  .back-for-pass {
    width: 900px;
  }
  .forgot-password-content {
    font-size: 24px;
  }
}

@media (max-width: 674px) {
  html,
  body {
    display: flex;
    flex: 1;
    width: 100%;
    padding-bottom: 0px !important;
  }

  main {
    width: 100%;
    display: flex;
    height: inherit;
    flex: 1;
  }

  .login-container {
    width: 100%;
    display: flex;
    height: 100%;
    flex-direction: column;
  }

  .content {
    height: auto;
    height: unset;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 10px;
    margin: 0px;
    margin-top: 20px;
    flex: 1;
    position: relative;
    /* margin-bottom: 100px; */
  }

  .forgot-password-content,
  .back-for-pass {
    margin: 0px auto;
    width: 100%;
    max-width: 100%;
  }

  .footer {
    bottom: -285px;
    position: relative;
    margin-top: -90px;
  }

  .forogto-passwordo-titleto {
    font-size: 30px;
  }

  .forgot-password-content {
    font-size: 16px;
  }

  .enter-email-label {
    font-size: 16px;
  }

  .send-password-button {
    width: 85%;
  }

  .back-for-pass {
    width: 95%;
  }

  .email-section {
    width: 85%;
    margin: auto;
  }
}

@media (min-width: 675px) and (max-width: 899px) {
  .back-for-pass {
    max-width: 90%;
  }

  .forogto-passwordo-titleto {
    font-size: 40px;
  }

  .email-div,
  .send-password-button {
    font-size: 16px;
  }

  .forgot-password-content {
    width: 100%;
  }
}

::placeholder {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

:-moz-placeholder {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

::-moz-placeholder {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

@media (min-width: 675px) and (max-width: 899px) and (orientation: portrait) {
  .content {
    margin-top: max(20px, calc(50svh - 146px - 36px - 80px));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .back-for-pass {
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 675px) and (max-width: 899px) and (orientation: landscape) {
  .back-for-pass {
    margin-top: max(20px, calc(50svh - 145px - 80px));
    margin-bottom: max(30px, calc(50svh - 145px));
  }
}

@media (min-width: 900px) and (max-width: 999px) {
  .back-for-pass {
    max-width: 90%;
  }

  .forogto-passwordo-titleto {
    font-size: 44px;
  }

  .email-div,
  .send-password-button {
    font-size: 18px;
  }

  @media (orientation: portrait) {
    .content {
      position: absolute;
      width: 100%;
      height: calc(100svh - 220px);
      top: 80px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    .back-for-pass {
      margin-top: 0;
      margin-bottom: 0;
    }
  }

  @media (orientation: landscape) {
    .back-for-pass {
      margin-top: max(20px, calc(50svh - 159px - 80px));
      margin-bottom: max(20px, calc(50svh - 159px));
    }
  }
}

/* tablet XL design */
@media (min-width: 1000px) and (orientation: portrait) {
  .forogto-passwordo-titleto {
    font-size: 44px;
  }

  .email-div,
  .send-password-button {
    font-size: 18px;
  }

  .content {
    position: absolute;
    width: 100%;
    height: calc(100svh - 220px);
    top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .back-for-pass {
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 1000px) and (max-width: 1269px) and (orientation: landscape) {
  .content {
    margin: 0 auto;
  }

  .back-for-pass {
    margin-top: max(20px, calc(50svh - 142px - 80px));
    margin-bottom: max(20px, calc(50svh - 142px));
  }

  .forogto-passwordo-titleto {
    font-size: 40px;
  }

  .email-div,
  .send-password-button {
    font-size: 16px;
  }

  .email-address-input {
    height: 3rem;
  }

  .email-section,
  .send-password-button {
    width: calc(83.33% + 2em);
  }
}

@media (min-width: 1270px) and (max-width: 1389px) and (orientation: landscape) {
  /* margin-top : 50svh - height/2 - 90px */
  .back-for-pass {
    margin-top: max(40px, calc(50svh - 134px - 69px));
    margin-bottom: max(40px, calc(50svh - 134px));
  }

  .forogto-passwordo-titleto {
    font-size: 38px;
  }

  .email-div,
  .send-password-button {
    font-size: 15px;
  }

  .email-address-input {
    height: 2.5rem;
  }

  .email-section,
  .send-password-button {
    width: 80%;
    width: calc(80% + 2em);
  }
}

@media (min-width: 1390px) and (max-width: 1589px) and (orientation: landscape) {
  .back-for-pass {
    margin-top: max(40px, calc(50svh - 139px - 69px - 21px));
    margin-bottom: 20px;
  }

  .forogto-passwordo-titleto {
    font-size: 40px;
  }

  .email-div,
  .send-password-button {
    font-size: 16px;
  }

  .email-address-input {
    height: 42px;
  }

  .email-section,
  .send-password-button {
    width: 80%;
    width: calc(80% + 2em);
  }
}

@media (min-width: 1590px) and (max-width: 1909px) and (orientation: landscape) {
  .back-for-pass {
    margin-top: max(40px, calc(50svh - 145px - 69px - 21px));
    margin-bottom: 20px;
  }

  .forogto-passwordo-titleto {
    font-size: 44px;
  }

  .email-div,
  .send-password-button {
    font-size: 17px;
  }

  .email-address-input {
    height: 44px;
  }

  .email-section,
  .send-password-button {
    width: calc(80% + 2rem);
  }
}

@media (min-width: 1910px) and (orientation: landscape) {
  .forogto-passwordo-titleto {
    font-size: 46px;
  }

  .email-div,
  .send-password-button {
    font-size: 18px;
  }

  .email-address-input {
    height: 51px;
  }

  .back-for-pass {
    margin-top: max(40px, calc(50svh - 152px - 69px - 22px));
    margin-bottom: 20px;
  }
}

@media (min-width: 2550px) and (orientation: landscape) {
  .forogto-passwordo-titleto {
    font-size: 48px;
  }

  .email-div,
  .send-password-button {
    font-size: 20px;
  }

  .back-for-pass {
    margin-top: max(40px, calc(50svh - 166px - 24px - 87px));
    margin-bottom: 20px;
  }

  .email-address-input {
    height: 52px;
  }
}

@media (min-width: 3430px) and (orientation: landscape) {
  .forogto-passwordo-titleto {
    font-size: 56px;
  }

  .email-div,
  .send-password-button {
    font-size: 28px;
  }

  .email-address-input {
    height: 70px;
  }

  .send-password-button {
    max-width: 350px;
    padding: 1.3rem 50px;
  }

  .back-for-pass {
    margin-top: max(40px, calc(50svh - 210px - 102px - 29px));
    margin-bottom: 20px;
  }
}
