@import '/styles/style.css';

body {
  display: flex;
  width: 100vw;
  height: 100vh;
  align-items: center;
}

.signin-wrapper {
  width: 400px;
  margin: auto auto;
}

header {
  text-align: center;
}

header .login-name {
  margin: 0;
  height: 38px;
  width: 210px;
  padding: 0;
}

header p {
  font-family: 'Pretendard', 'Noto Sans';
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-top: 16px;
}

header p a {
  color: var(--Primary);
  text-decoration: none;
  font-weight: 600;
  line-height: 19px;
  border-bottom: 1px solid var(--Primary);
}

section {
  position: relative;
  width: 100%;
  text-align: left;
  margin-top: 24px;
}

section input {
  width: 400px;
  height: 60px;
  margin-top: 10px;
  border-radius: 8px;
  border: 1px solid var(--Gray3);
  padding: 18px 15px;
  font-size: 16px;
  line-height: 24px;
}

section input[type='password'] {
  letter-spacing: 7px;
}

section input:focus {
  outline-color: var(--Primary);
}

section label .eyes {
  position: absolute;
  width: 16px;
  height: 14px;
  top: 50px;
  right: 16px;
  background-color: transparent;
}

section .warning-input {
  border: 1px solid var(--Red);
}

section .warning-text {
  margin: -10px 0;
  font-family: 'Pretendard', 'Noto Sans';
  font-weight: 400;
  font-size: 14px;
  color: #ff5b56;
  margin-top: 6px;
  visibility: hidden;
}

.signin-tag {
  font-family: 'Pretendard', 'Noto Sans';
  font-weight: 400;
  font-size: 14px;
  line-height: 16.71px;
}

.signin-wrapper button {
  border: none;
  width: 100%;
  height: 54px;
  margin-top: 32px;
  font-family: 'Pretendard', 'Noto Sans';
  font-weight: 600;
  font-size: 18px;
}

article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 66px;
  padding: 12px 24px;
  margin-top: 32px;
  border: 1px solid var(--Gray3);
  background-color: var(--Gray4);
  border-radius: 8px;
}

article p {
  font-family: 'Pretendard', 'Noto Sans';
  font-weight: 400;
  font-size: 14px;
  color: #373740;
}

article .social-icon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100px;
  height: 42px;
  gap: 16px;
}

.google-icon {
  width: 42px;
  height: 42px;
  background-color: var(--White);
  border: 1px solid #d3d4dd;
  border-radius: 21px;
}

.google-icon img {
  width: 22px;
  height: 22px;
  margin: 10px;
}

.kakao-icon {
  width: 42px;
  height: 42px;
  background-color: #f5e14b;
  border-radius: 21px;
}

.kakao-icon img {
  width: 26px;
  height: 24px;
  margin: 10px 8px;
}

@media (max-width: 767px) {
  body {
    padding: 32px;
  }

  .signin-wrapper {
    width: 100%;
    max-width: 400px;
  }

  section input {
    width: 100%;
  }

  section .eyes {
    position: absolute;
    left: calc(100% - 40px);
    width: 16px;
    height: 16px;
    background-color: transparent;
    border: 0;
  }
}
