@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/NotoSansKR-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/NotoSansKR-Bold.ttf") format("truetype");
  font-weight: 700;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/NotoSansKR-Light.ttf") format("truetype");
  font-weight: 300;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("fonts/NotoSansKR-Black.ttf") format("truetype");
  font-weight: 900;
}

a {
  text-decoration: none;
     color: inherit;
}



body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  background: #fff;
  color: #333;
}

.login-wrapper {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
}

.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.login-header h1 {
  font-size: 18px;
  text-align: center;
  line-height: 1.2;
  font-weight: bold;
}

.login-header h1 span {
  font-weight: 400;
  font-size: 14px;
  display: block;
}

.login-header button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

h2 {
  font-size: 20px;
  margin: 20px 0 10px;
}

.desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
}

.kakao-btn {
  width: 100%;
  background: #FAE64D;
  border: none;
  padding: 6px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.kakao-btn h4 {
  position: relative;
  left: -20px;
}


.kakao-btn img {
  width: 51px;
  height: 41px;
  position: relative;
  left: -70px;
}

.divider {
  position: relative;
  text-align: center;
  margin: 25px 0;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #ddd;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.divider span {
  font-size: 12px;
  color: #aaa;
  background: #fff;
  padding: 0 10px;
}

.tabs {
  display: flex;
  border: 1px solid #eee;
  border-radius: 25px;
  overflow: hidden;
  margin-bottom: 20px;
}

.tabs button {
  flex: 1;
  border: none;
  background: #f9f9f9;
  padding: 12px;
  font-size: 14px;
  cursor: pointer;
}

.tabs .active {
  background: #222;
  color: #fff;
}

.login-form input {
  width: 100%;
  padding: 14px;
  margin-bottom: 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
}

.login-form label {
  font-size: 14px;
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.login-form label input {
  margin-right: 6px;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: #f5f5f5;
  border: none;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 10px;
}

.link-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin: 20px 0;
}

.link-row a {
  color: #333;
  text-decoration: none;
}

.sns-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.sns {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.sns img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


label {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* checkbox와 글자 간격 */
  font-size: 14px; /* 원하는 크기로 조절 */
  color: #333;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #333;
}

.remember input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: inline-block;
  position: relative;
}

.remember input[type="checkbox"]::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
  opacity: 0;
  margin: auto;
  position: absolute;
  top: 4px;
  left: 4px;
}

.remember input[type="checkbox"]:checked::before {
  opacity: 1;
}

.login-form p {
  position: relative;
  font-size: 14px;
  top: -45px;
  left: 40px;
  margin-bottom: -20px;
}

.membership-info {
  text-align: center;
  margin-top: 30px;
  font-family: 'Noto Sans KR', sans-serif;
}

.membership-info p {
  font-size: 14px;
  margin: 4px 0;
}

.membership-info p strong {
  font-weight: bold;
}

.membership-info .gray-text {
  color: #999;
  font-size: 13px;
  margin-top: 10px;
}

/* 스크롤 시*/
.fade-target {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s ease;
}

.fade-target.in-view {
  opacity: 1;
  transform: translateY(0);
}








