.btn-login {
  background-color: var(--color-primary);
  color: var(--color-white);
  width: 180px;
}

.btn-gust-login {
  background-color: var(--color-white);
  color: var(--color-primary);
  width: 180px;
  border: 1px solid var(--color-primary);
}

.btn-signup {
  width: 104px;
}

.button-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 21px;
  margin-top: 32px;
}

.login-logo {
  object-fit: cover;
  position: absolute;
  top: 37px;
  left: 37px; 
  height: 79px;
  animation: logo-scale-mobile 1.0s ease-in-out;
  z-index: 22;
}

@keyframes logo-scale-mobile {
  0% {top: calc(50vh - 61px); left: calc(50vw - 50px); height: 121px;}
  100% {height: 79px;}
}

#content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

#login-container {
  background-color: var(--color-white);
  width: calc(100% - 32px);
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 30px;
  position: relative;
}

#sign-up-box {
  position: absolute;
  bottom: 99px;
  display: flex;
  align-items: center;
  gap: 35px;
}

.hidden-width {
  width: 364px;
}

.login-input {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  color: var(--color-black);
  padding: 12px 21px;
  border: 1px solid var(--color-input-placeholder);
  font-size: 20px;
  cursor: pointer;
  outline: none
}

.login-input:focus {
  border-color: var(--color-hover);
}

.pw-dont-match-border {
  border: 1px solid red;
}

.input-container {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  cursor: pointer;
}

.input-container img {
  position: absolute;
  right: 21px;
}

::placeholder {
  color: var(--color-input-placeholder);
}

#checkbox-container {
  margin-left: 16px;
  font-weight: 400;
}

#checkbox-container input {
  margin-right: -15px;
  opacity: 0;
}

.checkbox-label {
  display: flex;
  gap: 8px;
  align-items: center;
}

#checkbox-img {
  height: 16px;
  object-fit: cover;
  cursor: pointer;
}

.j-center {
  justify-content: center;
}

.user-notices-box {
  position: absolute;
  bottom: 22px;
  margin: 42px 0 22px 0;
  display: flex;
  gap: 32px;
}

.notices-link {
  color: #a8a8a8;
  text-decoration: none;
  font-weight: 400;
}
 
.align-center {
  align-self: initial !important;
  justify-content: center;
}

.arrow-left-line {
  position: absolute;
  left: 40px;
  top: 40px;
  cursor: pointer;
}

.form-width {
  width: 100%;
}

.registration-succes-box {
  width: 326px;
  padding: 25px 0;
  text-align: center;
  border-radius: 20px;
  background-color: var(--color-primary);
  color: var(--color-white);
  position: absolute;
  bottom: 184px;
  transform: translateY(262px);
  transition: 250ms;
}

.show-reg-box {
  transform: translateY(0);
}

.animation-box {
  position: absolute;
  bottom: 20px;
  height: 300px;
  width: calc(100% - 32px);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

#password-dont-match {
  position: absolute;
  bottom: -20px;
  color: #FF8190;
  font-size: 14px;
}

.start-animation {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: var(--color-primary);
  z-index: -1;
  opacity: 0;
  animation: onload 1.0s ease-in-out;
}

.btn-login:hover {
  background-color: var(--color-hover);
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.btn-gust-login:hover {
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  color: var(--color-hover);
  border: 1px solid var(--color-hover);
}

.notices-link:hover {
  color: var(--color-hover);
  text-decoration: none;
  font-weight: 700;
}

@keyframes onload {
  0% { opacity: 1; }
  100% { opacity: 0}
}

@media (min-width: 625px) {
  #login-container {
    width: 625px
  }

  .form-width {
    width: 422px;
  }
}

@media (min-width: 1440px) {
  .login-logo {
    height: 122px;
    object-fit: cover;
    position: absolute;
    top: 80px;
    left: 77px;
    animation: logo-scale-desktop 1.0s ease-in-out;
  }

  @keyframes logo-scale-desktop {
    0% {top: calc(50vh - 167px); left: calc(50vw - 137px); height: 334px;}
    100% {height: 121px;}
  }


  #sign-up-box {
    top: 67px;
    right: 122px;
    bottom: auto;
  }

  .form-width {
    width: 422px;
  }

  .button-box {
    flex-direction: row;
    gap: 35px;
  }

  .btn-login {
    width: 110px;
  }

  .arrow-left-line {
    left: 48px;
  }

  .arrow-left-line:hover {
    border-radius: 999px;
    background-color: #f6f7f8;
  }

  .animation-box {
    bottom: auto;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100vh;
  }

  .show-reg-box {
    transform: translateY(-34vh);
  }

  .start-animation {
    background-color: white;
    z-index: -1;
  }
  
  @keyframes onload {
    0% { opacity: 1; z-index: 11;}
    100% { opacity: 0;}
  }
}

@media (max-height: 720px) {
  .login-logo {
    top: 16px;
    left: 16px;
    height: 60px;
  }

  @keyframes logo-scale-mobile {
    0% {top: calc(50vh - 61px); left: calc(50vw - 50px); height: 121px;}
    100% {height: 60p x;}  
  } 

  #login-container {
    padding: 16px 16px;
  }

  .input-container {
    margin-bottom: 16px;
  }

  .button-box {
    gap: 15px;
    margin-top: 16px;
  }

  #sign-up-box {
    bottom: 56px;
  }

  .user-notices-box {
    bottom: 16px;
    margin: 0;
  }
}


