body {
  overflow: hidden;
}

#popupContainer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  height: 100vh;
  flex-direction: column;
  align-items: center;
}

#successRegistration {
  padding: 10px 20px;
  border: 3px solid #29abe2;
  border-radius: 15px;
  justify-content: center;
  font-weight: 400;
  margin-bottom: 24px;
  text-align: center;
}

.headerLogin {
  width: 100%;
  max-width: 1440px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px;
  box-sizing: border-box;
}

.logoSmall {}

.headerLoginRight {
  display: flex;
  align-items: center;
  gap: 24px;
}

.signUpContainer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.signUpButton {
  width: 91px;
  background-color: #2a3647;
  color: #ffffff;
  border: unset;
  border-radius: 8px;
  padding: 15px 16px;
  font-size: 16px;
  font-weight: 700;
}

.signUpButton:hover {
  cursor: pointer;
  background-color: #0d99ff;
}

/* login Window */

.login_container {
  max-height: 65%;
  overflow-y: auto;
}

.login_container {
  flex-direction: column;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
  background-color: white;
  border-radius: 30px;
  max-height: 80%;
  width: 90%;
  max-width: 500px;
  overflow-y: auto;
}

#loginForm {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  padding-bottom: 24px;
}

.dividerSolid {
  border: 2px solid #0d99ff;
  width: 150px;
  margin-bottom: 20px;
}

.loginInputField {
  width: 422px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #ededed;
  font-size: 20px;
  font-weight: 400;
  padding-left: 10px;
}

.invalidContainer {
  margin: 0;
  height: 20px;
  display: flex;
  text-align: center;
  align-items: center;
}

#invalidText {
  color: red;
  font-size: 12px;
  margin-left: 10px;
}

/* #loginButton {
  width: 110px;
  height: 48px;
  border-radius: 8px;
  background: #2a3647;
  color: white;
  font-size: 21px;
  font-weight: 700;
} */

#signUpButton {
  width: 110px;
  height: 48px;
  border-radius: 8px;
  background: #2a3647;
  color: white;
  font-size: 21px;
  font-weight: 700;
}

.btn-login {
  flex-shrink: 1;
  flex-grow: 1;
}

#guestLoginButton {
  flex-shrink: 0;
}

#signUpButton:enabled {
  background-color: #0d99ff;
  cursor: pointer;
}

#loginButton:hover {
  cursor: pointer;
  background-color: #0d99ff;
  box-shadow: 8px 8px 2px 1px #ededed;
}

#signUpPasswordCheckText {
  color: red;
  margin-left: 10px;
  font-size: 12px;
  height: 15px;
}

/* #guestLoginButton {
  width: 177px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid #2a3647;
  gap: 10px;
  background-color: white;
  font-size: 21px;
  font-weight: 700;
} */

#guestLoginButton:hover {
  cursor: pointer;
  color: #0d99ff;
  border: 1px solid #0d99ff;
  box-shadow: 8px 8px 2px 1px #ededed;
}

.loginButtons_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.loginHeadline {
  text-align: center;
  font-weight: 700;
  font-size: 61px;
  color: black;
  margin-block-start: 0;
  margin-block-end: 0;
}

.rememberMe_container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 39px;
}

#rememberMe {
  height: 16px;
  width: 16px;
  border-radius: 3px;
}

.rememberMeLabel {
  font-weight: 400;
  font-size: 16px;
  color: black;
}

.inputIcon_container {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.loginIcons {
  position: absolute;
  right: 15px;
  top: 0;
  bottom: 0;
  margin: auto;
}

/* sign-Up  */

.signup_container {
  flex-direction: column;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
  background-color: white;
  border-radius: 30px;
  max-height: 80%;
  width: 90%;
  max-width: 500px;
  overflow-y: auto;
}

#signUpArrowLeft {
  height: 43px;
  position: absolute;
  top: 20px;
  left: -55px;
}

#signUpArrowLeft:hover {
  cursor: pointer;
}

#SignUpForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.SignUpPrivacy_container {
  display: flex;
  justify-content: center;
  margin-top: 2px;
  margin-bottom: 2px;
}

.privacyLabel {
  font-size: 16px;
  font-weight: 400;
}

#privacyCheckbox {
  height: 16px;
  width: 16px;
  border-radius: 3px;
  border: 2px;
}

/* bottom legal Content */

.legalContentLogin {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  height: 100px;
  z-index: 2;
}

.loginAllContentContainer {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  height: 100vh;
}

.legalContentLinksLogin {
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  color: #a8a8a8;
}

.legalContentLinksLogin:hover {
  cursor: pointer;
  color: #0d99ff;
  font-weight: 700;
}

/* login Animation */

#loginAnimation_container {
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  transform: translate(-50, -50);
  position: absolute;
  background-color: white;
  z-index: 999;
  animation-name: logoContainerDisappear;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-duration: 0.6s;
  animation-delay: 1s;
}

.placeLogoImgLogin {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation-name: logo-animation;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-duration: 1.5s;
  animation-delay: 0.6s;
}

.signUpContentMobile {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 35px;
  margin-top: 58px;
}

/* keyframes */

@keyframes logoContainerDisappear {
  0% {
    opacity: 1;
  }

  99% {
    opacity: 0;
  }

  100% {
    visibility: hidden;
  }
}

@keyframes logo-animation {
  from {
    left: 77px;
    top: 80px;
  }

  to {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100.03px;
    height: 121.97px;
    opacity: 0;
  }
}

/* Media Queries */

@media (max-width: 820px) {
  #successRegistration {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 100px;
    left: 37%;
    right: 0;
    transform: translate(-50, -50);
  }

  /* .login_container {
    max-height: unset;
    flex-direction: column-reverse;
    display: flex;
    gap: 32px;
    width: 90%;
  } */

  /* .login_container {
    margin-top: 100px !important;
    width: 396px;
    height: 515px;
  } */

  .inputIcon_container {
    width: 100%;
  }

  .loginInputField {
    width: 100%;
  }

  /* .loginIcons {
    left: 330px;
    width: 22px;
    height: 22px;
  } */

  .headerLoginRight span {
    display: none;
  }

  .signUpContentMobile {
    display: flex;
  }

  /* .signup_container {
    width: 396px;
    height: 595px;
    margin-top: 100px !important;
  } */

  #signUpArrowLeft {
    right: 330px;
  }

  /* .loginHeadline {
    font-size: 47px;
  } */

  .logoSmall {
    height: 50px;
  }

  .signUpContentMobile {
    margin-top: 10px;
  }

  /* .loginIcons {
    left: 250px;
  } */
}

@media (max-width: 450px) {
  #successRegistration {
    top: 100px;
    left: 24%;
  }

  #signUpPasswordCheckText {
    margin: 0;
  }

  .login_container {
    width: 100%;
    padding: 0;
    display: flex;
  }

  .login_container,
  .signup_container {
    width: 90%;
    padding: 24px;
  }

  /* #SignUpForm {
    width: 95%;
  } */

  #signUpArrowLeft {
    height: 32px;
    width: 32px;
    right: 250px;
  }

  .SignUpPrivacy_container {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  /* .loginIcons {
    left: 250px;
  } */

  /* .loginHeadline {
    font-size: 22px;
  } */

  .loginInputField {
    width: 100%;
  }

  /* .loginButtons_container {
    gap: 8px;
  } */

  /* #loginButton {
    width: 90px;
    height: 38px;
    font-size: 16px;
  } */

  /* #guestLoginButton {
    font-size: 16px;
    width: 120px;
    height: 38px;
  } */
}