body {
  max-width: 1440px;
  margin: 0 auto;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  background-color: #f5f6f7;
}

#page-content{
  position: relative;
  height: 100vh;
}

.index-header {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  top: 67px;
  right: clamp(70px, 5vw, 122px);
}

.bt-sing-up {
  display: flex;
  align-items: baseline;
  gap: 35px;
}

.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
}

.log-in-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 30px;
  width: 652px;
  height: 449px;
  text-align: center;
  box-shadow: 0px 0px 14px 3px rgba(0, 0, 0, 0.04);
  gap: 40px;
}

#loginForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form input{
  width: 406px;
  height: 48px;
  border: 1px solid #d1d1d1;
  border-radius: 10px;
  cursor: pointer;
  padding-left: 16px !important;
  font-size: 20px;
}

form input::placeholder{
  font-size: 20px;
  color: #D1D1D1;
}

form input:focus {
  border-color: #29ABE2 !important;
  outline: 1px solid #29ABE2;
}

.input-alert {
  border: none;
  outline: 1px solid #FF001F !important;
}

.alert{
  display: flex;
  font-size: 16px;
  font-weight: 400;
  color: #FF001F;
  padding-top: 8px;
  text-align: left;
}

#password-alert{
  display: flex;
  font-size: 16px;
  font-weight: 400;
  color: #FF001F;
  padding-top: 8px;
  text-align: start;
}

.hide-alert{
  display: none !important;
}

.index-input{
  position: relative;
  width: 422px;
  cursor: pointer;
}

.index-input img {
  position: absolute;
  right: 16px;
  top: 24px;
  transform: translateY(-50%);
}

.login-buttons {
  display: flex;
  justify-content: center;
  gap: 35px;
  padding-bottom: 8px;
  margin-top: 30px;
}

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

#guestBtn:hover {
  border: 2px solid #29ABE2;;
  color: #29abe2;
  background-color: white;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.guest {
  border: 1px solid rgba(42, 54, 71, 1);
  background-color: white;
  width: 177px;
  height: 48px;
  color: #2a3647;
  font-weight: 700;
}

.login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.login h1{
  font-size: 61px;
}

.divider {
  background-color: rgba(41, 171, 226, 1);
  height: 3px;
  width: 150px;
  border-radius: 30px;
}

.page-content-hidden {
  display: none;
  opacity: 0;
}

.logo-fly {
  width: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: flyToCorner 0.8s ease-out forwards;
  z-index: 800;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

@keyframes flyToCorner {
  0% {
    width: 274px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  100% {
    top: 67px;;
    left: 77px;
    transform: translate(0, 0);
  }
}

.legals-login {
  position: absolute;
  display: flex;
  gap: 18px;
  font-size: 16px;
  font-weight: 400;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  cursor: pointer;
}

.legals-login a {
    text-decoration: none;
    color: #CDCDCD;
}

.legals-login a:hover {
  color: #29ABE2;
}

#returnToLogin {
  position: absolute;
  left: 48px;
  top: 56px;
  cursor: pointer;
}

#returnToLogin:hover{
  transform: scale(1.1);
  background-color: #EEEEEE;
  border-radius: 50%;
}

.signup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 30px;
  width: 598px;
  min-height: 630px;
  max-height: 700px;
  text-align: center;
  box-shadow: 0px 0px 14px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 900;
}

.signup-container h1 {
  font-size: 61px;
}

.underline {
  width: 150px;
  height: 3px;
  background-color: #29ABE2;
  border-radius: 30px;
  margin: 16px 0 32px 0;
}

#signUpForm{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
}

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

.checkbox-container input {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 2px solid #2A3647 !important;
  outline: none !important
}

.checkbox-container a {
  color: #0ea5e9;
  text-decoration: none;
}

.signup-button {
  bottom: 30px;
  width: 126px;
  height: 55px;
  background-color: #2A3647;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 21px;
  cursor: pointer;
}

.signup-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.signup-button:not(:disabled):hover{
    background-color: #29ABE2;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
}

.buttons:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.buttons:not(:disabled):hover{
    background-color: #29ABE2;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
}

.overlay-signed-feedback{
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
  width: 100vw;
  height: 100%;
  z-index: 1000;
  display: none;
}

.overlay-signed-feedback.show {
  display: flex;
}

#signed-successfull{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  width: 312px;
  border-radius: 20px;
  background-color: #2A3647;
  font-size: 20px;
  color: #FFFFFF;
  box-shadow: 0px 0px 4px 0px #0000001A;
  opacity: 0;
  left: 50%;
  z-index: 950;
}

#signed-successfull.move-in {
  animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
  from {
    transform: scale();
    bottom: -100px;
    opacity: 0;
    transform: translateX(-50%);
  }
  to {
    bottom: 50%;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

#signed-successfull.move-out {
  animation: slideDown 0.3s ease-in forwards;
}

@keyframes slideDown {
  from {
    bottom: 50%;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  to {
    bottom: -100px;
    opacity: 0;
    transform: translateX(-50%);
  }
}