.main {
  position: relative;
  height: 100vh;
  background-color: var(--clr-main);
}

.joinLogoSignUpWhite {
  position: fixed;
  top: 80px;
  left: 77px;
  z-index: 1;
}

.signUpMainContainer {
  z-index: 100;
  background-color: var(--clr-main);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.signUp-page {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.signUp-box {
  background-color: #fff;
  border: 1px solid grey;
  border-radius: 30px;
  width: 600px;
  padding: 48px 115px;
  gap: 39px;
  box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}

.arrowLeft {
  position: absolute;
  left: 50.5px;
  top: 66.5px;
  color: var(--clr-text-medium-blue);
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1;
}

.h1SignUpBox {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.signUpH1 {
  font-size: 46px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
}

.horizontalH1UnderlineSignUp {
  height: 150px;
  border: 3px solid var(--clr-main);
  rotate: -90deg;
  position: absolute;

  z-index: 1;
}

.formDiv {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.signUpEmailBox,
.signUpNameBox {
  display: flex;
  justify-content: space-between;
  align-items: self-end;
  width: 422px;
  border-bottom: 1px solid #d1d1d1;
  gap: 10px;
}

.signUpInputField {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #d1d1d1;
  padding: 12px 21px;
  width: 140%;
}

input::placeholder {
  color: #d1d1d1;
}
.innerSignUpBox {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  align-items: center;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.msgError {
  width: 90%;
  font-size: 14px;
  margin-top: -25px;
  text-align: left;
  font-size: 12px;
}

.signUpPasswordBox {
  display: flex;
  justify-content: space-between;
  align-items: self-end;
  width: 422px;
  border-bottom: 1px solid #d1d1d1;
  gap: 10px;
}

#signUpNameInput,
#signUpEmailInput,
#signUpPasswordInput,
#signUpPasswordInputConfirm {
  border: none;
  font-size: 19px;
  font-weight: 400;
  width: 100%;
}

#signUpNameInput:focus,
#signUpEmailInput:focus,
#signUpPasswordInput:focus,
#signUpPasswordInputConfirm:focus {
  outline: none;
}

.signUpButtons {
  border: none;
  border-radius: 8px;
  padding: 10px 35px;
  gap: 10px;
  font-size: 23px;
  cursor: pointer;
}

.registerBtn {
  color: #fff;
  background-color: var(--clr-main);
  cursor: pointer;
}

#registerBtn[disabled] {
  background-color: var(--clr-main);
  color: #fff;
  cursor: not-allowed;
  pointer-events: none;
}

.registerBtn:not([disabled]):hover {
  color: #fff;
  background-color: var(--clr-text-medium-blue);
}

.checkboxBox label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

label.custom-checkbox {
  font-size: 16px;
  font-weight: 400;
  color: var(--clr-text-menu);
  gap: 8px;
}

.checkboxBox {
  height: 24px;
}

a {
  text-decoration: none;
  color: var(--clr-text-medium-blue);
}

.signUpFooter {
  position: fixed;
  bottom: 26px;
  background-color: var(--clr-main);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 16px;
}

.signUpFooter > div {
  cursor: pointer;
}

.privacyPolicySignUp,
.legalNoticeSignUp {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

.privacyPolicySignUp:hover,
.legalNoticeSignUp:hover {
  color: var(--clr-text-medium-blue);
}

#userMessageOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.signUp-successfully-created {
  line-height: 1.75rem;
  border: 0.063rem solid;
  border-color: #4589ff;
  color: white;
  background-color: #4589ff;
  border-radius: 0.625rem;
  padding: 0.625rem 1.25rem;
  box-sizing: border-box;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.063rem;
  text-align: center;
  white-space: nowrap;
  font-family: var(--version-2-body);
  opacity: 0;
}

@keyframes slide-in {
  from {
    transform: translateY(1000%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-out {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(1000%);
    opacity: 0;
  }
}

.slide-in {
  animation: slide-in 0.25s ease-in-out forwards;
}

.slide-out {
  animation: slide-out 0.25s ease-in-out forwards;
}

.add-signUp-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999; 
}

@media (max-width: 970px) {
  .joinLogoSignUpWhite {
    position: fixed;
    top: 38px;
    left: 37px;
    z-index: 1;
  }

  .signUpLogo {
    width: 64px;
    height: 72px;
  }
}

@media (max-width: 680px) {
  .signUp-box {
    padding: 32px 0px;
    gap: 32px;
    z-index: 1;
  }

  .signUpInputField {
    width: auto;
  }

  .arrowLeft {
    left: 55.5px;
    top: 56.5px;
  }

  .horizontalH1UnderlineSignUp {
    height: 145px;
    margin-top: -3px;
  }

  .signUpEmailBox,
  .signUpNameBox {
    width: 364px;
  }

  .signUpPasswordBox {
    width: 364px;
  }

  .signUp-box {
    width: 482px;
  }
}

@media (max-width: 550px) {
  .signUp-box {
    width: 402px;
  }
}

@media (max-width: 450px) {
  #signUpNameInput,
  #signUpEmailInput,
  #signUpPasswordInput,
  #signUpPasswordInputConfirm {
    border: none;
    font-size: 16px;
    font-weight: 400;
    padding-top: 0;
  }

  .signUp-box {
    width: 290px;
    z-index: 1;
  }

  .arrowLeft {
    left: 20.5px;
    top: 51.5px;
  }

  .horizontalH1UnderlineSignUp {
    height: 180px;
    margin-top: -20px;
  }

  .signUpH1 {
    font-size: 46px;
    margin-bottom: 26px;
  }

  .signUpEmailBox,
  .signUpNameBox {
    width: 250px;
    padding: 0;
    gap: 0px;
  }

  .signUpPasswordBox {
    justify-content: center;
    width: 250px;
    padding: 0;
    gap: 0px;
  }

  .signUpFooter {
    gap: 16px;
    z-index: 1000;
    padding: 16px;
    white-space: nowrap;
  }
}