@import url(./palette.css); 
/* font */
@font-face {
  font-family: "ROKAF Sans";
  src: url("../font/ROKAF\ Sans\ Medium.ttf");
}

body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  margin-top: 60px;
}


.header_forms {
  width: 640px;
  height: 132px;
  display: flex;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 22.24px;
}

.logo img {
  width: 103.529px;
  height: 103.88px;
  flex-shrink: 0;
}

.logo span {
  color: var(--brand-blue);
  font-family: "ROKAF Sans";
  font-size: 66.344px;
  /* 3.4554vw */
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}


form {
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  gap: 24px;
}

form>div {
  width: 100%;
  position: relative;
}

label {
  color: var(--Secondary-800);
  /* pretendard/2lg-18px-bold */
  font-family: Pretendard;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
  /* 144.444% */
  display: block;
  margin-bottom: 16px;
}

.input_txt {
  width: 100%;
  height: 56px;
  padding: 16px 24px;
  align-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--Cool-Gray-100);
  display: block;

}

.input_txt:focus {
  outline-color: var(--brand-blue);
}

.btn_visibility {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 59px;
  right: 24px;
  cursor: pointer;
}
.visibility_off{
  display: none;
}
.visibility_on{
  display: none;
}

/* input focus out */
.focusout{
  border: 1px solid var(--brand-blue, #3692FF);
  background: rgb(232, 240, 254); 
}
/* error */
.focusout_error{
  border: 1px solid var(--error-red);
}
.error_msg{
  color: var(--error-red);
  font-family: Pretendard;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-top: 8px;
  display: none;
}
.show{ /* 숨김요소 보이기 */
  display: block;
}
.btn {
  width: 100%;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 40px;
  background: var(--Secondary-400);

  color: var(--Cool-Gray-100);
  /* pretendard/xl-20px-semibold */
  font-family: Pretendard;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  /* 160% */
}
.btn:enabled {
  background-color: var(--Primary-100);
  cursor: pointer;
}


.sns_login {
  display: flex;
  max-width: 640px;
  width: 100%;
  height: 74px;
  padding: 16px 23px;
  margin: 24px 0;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  background: #E6F2FF;
}

.sns_login span {
  color: var(--Secondary-800);
  /* pretendard/lg-16px-medium */
  font-family: Pretendard;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  /* 162.5% */
}

.sns_ic_box {
  display: flex;
  gap: 16px;
}

.ic_SNSlogin {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.google_login {
  background-color: #fff;
}

.kakao_login {
  background-color: #F5E14B;
}

.etc {
  margin-bottom: 20px;
}

.etc span {
  color: var(--Secondary-800);
  /* pretendard/md-14px-medium */
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  /* 171.429% */
}

.page_move {
  color: var(--Primary-100);
  font-family: Pretendard;
  font-size: 14px;
  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;
}

/* 모달창 */
.modal_bg{
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.70);
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  z-index: 2;
}
.modal_bg.alert{
  display: flex;
}
.modal{
  width: 540px;
  height: 250px;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; 
}
.modal_conent{
  color: var(--Cool-Gray-800);
  text-align: center;
  font-family: Pretendard;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.modal_btn{
  position: absolute;
  display: flex;
  width: 120px;
  height: 48px;
  padding: 12px 23px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: var(--brand-blue);
  color: #fff;
  border: 0;
  bottom: 28px;
  right: 28px;
  cursor: pointer;
}


/* Mobile */
@media (max-width: 744px) {
  body>* {
    max-width: 400px;
  }

  .header_forms {
    height: 51.9px;
  }

  .logo {
    gap: 11.12px;
  }

  .logo img {
    width: 51.765px;
    height: 51.94px;
  }

  .logo span {
    font-size: 33.172px;
    font-weight: 700;
  }

  form {
    margin-top: 24px;
  }

  .sns_login {
    max-width: 400px;
  }

  .etc span {
    font-size: 15px;
  }
}