@import "/css/reset.css";

html {
  font-size: 100%;  
}
@media (max-width: 1199px) {
 html {
    font-size: 87.5%; 
  }
}
@media (max-width: 743px) {
  html {
    font-size: 75%; 
  } 
}
* {
  box-sizing: border-box;
}
:root {
  --Cool-Gray: #1f2937;  
  --brand-blue: #3692ff;
  --light-Gray: #f3f4f6;
  --heavy-Gray: #9ca3af;
  --light-blue: #E6F2FF;
}
.main{
  display: flex;
  width: 40rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-shrink: 0;
  margin : 3.75rem auto 11.125rem;
}

.logo{
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 24.75rem;
  height: 8.25rem;
  text-decoration: none;
}
.logo__img{
  width: 6.5rem;
  height: 6.5rem;
  margin: 1rem 1.25rem 1rem;
}

.logo__text{
  color: var(--brand-blue);
  font-family: "ROKAF Sans";
  font-size: 4.125rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.main .main__text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem
}

.main__text form{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.main__text label{
  color: var(--Cool-Gray);
  font-family: Pretendard;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.625rem;
}
.main__text input[type="email"],
.main__text input[type="password"],
.main__text input[type="text"] {
  display: flex;
  width: 40rem;
  height: 3.5rem;
  padding: 1rem 1.5rem;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.75rem;
  background: var(--light-Gray);
  outline: none;
}

input:focus {
  border-color: var(--brand-blue);
}
.password__input {
  position: relative;  
}
.password__checkbox
{ 
  display: none; 
}
.password__toggle
 {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  background-image: url('/img/ic_uneye.svg');
  background-size: contain;
  background-repeat: no-repeat;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
}
.password__checkbox:checked ~ .password__toggle
 {
  background-image: url('/img/ic_eye.svg');
}

.btn--login{
  display: flex;
  width: 100%;
  height: 3.5rem;
  padding: 1rem 7.75rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  border-radius: 2.5rem;
  background: var(--heavy-Gray);
  color: var(--light-Gray);
  text-align: center;
  font-family: Pretendard;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: 2rem;
  text-decoration: none;
}

.auth-link{
  display: flex;
  width: 100%;
  height: 100%;
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 0.625rem; 
  justify-content: center;
  align-items: center;
  border-radius: 0.5rem;
  background: var(--light-blue);
}
.auth-link__content{
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.auth-link__title{
  color: var(--Cool-Gray);
  font-family: Pretendard;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.625rem;
}

.sns{
  display: flex;
  gap:1rem;
}

.sns__icon--google{
  display: inline-block;
  background-image: url('/img/google/ic_google.png');
  width: 2.625rem;
  height: 2.625rem;
}
.sns__icon--kakao{
  display: inline-block;
  background-image: url('/img/kakao/ic_kakao.png');
  width: 2.625rem;
  height: 2.625rem;
}
.auth-footer{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
}

.auth-footer__link{
  color: var(--brand-blue);
  font-family: Pretendard;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}