/* layout */
html {
  height: 100%;
  font-size: 16px;
  box-sizing: border-box;
}

@font-face {
  font-family: "Spoqa Han Sans Neo";
  src: url("/path/to/fonts/SpoqaHanSansNeo-Regular.woff2") format("woff2"),
    url("/path/to/fonts/SpoqaHanSansNeo-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css);

body {
  font-family: "Spoqa Han Sans Neo";
}

*,
*:before,
*:after {
  box-sizing: inherit;
  font-family: "Spoqa Han Sans Neo";
}

@media screen and (max-width: 1024px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }
}

@media screen and (max-width: 390px) {
  html {
    font-size: 10px;
  }
}

@media screen and (min-width: 1920px) {
  html {
    font-size: 18px;
  }
}

div._wsaicon img {
  display: none !important;
}

body {
  height: 100%;
  margin: 0;
  font-family: "Spoqa Han Sans Neo", "sans-serif";
  background-color: #f9fafb;
}

input,
button {
  border: none;
}

.background-container {
  background-image: url("../img/place/backgroundImg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh; /* Adjust as necessary */
  position: relative;
}

@media screen and (max-width: 500px) {
  .background-container {
    background-image: none;
    background-color: #fff;
  }
}

/* 인증 버튼 리뉴얼 */
.SectionStyled {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease-in-out;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .SectionStyled {
    width: 100%;
    padding: 0 10px;
  }
}

@media screen and (max-width: 390px) {
  .SectionStyled {
    padding: 0 30px; /* 여백을 더 늘림 */
  }
}

.titleBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
}

.joinBox {
  width: 460px;
  padding: 45px 40px;
  border-radius: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
}

.btnBoxStlyed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media screen and (max-width: 390px) {
  .btnBoxStlyed {
    gap: 12px;
  }
}
@media screen and (max-width: 768px) {
  .btnBoxStlyed {
    align-items: center;
  }
  .tabstyled {
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) and (max-width: 1700px) {
  .btnBoxStlyed {
    gap: 12px;
  }

  .titleBox {
    margin-bottom: 35px;
  }
}

.logoImg {
  display: flex;
  align-items: center;
}

.logoImg a {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logoImg .greenLogo {
  width: 253px;
}

.logoImg .blackLogo {
  width: 167px;
  height: 18px;
}

@media screen and (max-width: 390px) {
  .logoImg .blackLogo {
    width: 140px;
    height: 15px;
  }
}

.info {
  display: flex;
  flex-direction: column;
  row-gap: 4px;
  align-items: center;
  margin: 20px auto;
}

.info h1 {
  font-size: 18px; /* 타이틀 크기 줄임 */
  white-space: pre-line;
  text-align: center;
  margin: 0.75em 0 0.5em;
  line-height: 1.5rem;
}

@media screen and (max-width: 390px) {
  .info h1 {
    font-size: 14px;
  }
}

/* 안내문구 */
.info p {
  font-size: 14px;
  text-align: center;
  letter-spacing: -0.3px;
  color: #797979;
}

@media screen and (max-width: 390px) {
  .info p {
    font-size: 12px;
  }
}

.info .signupContact {
  color: #46ab66;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 768px) {
  .info h1 {
    font-size: 16px;
  }

  .info p {
    font-size: 13px;
    letter-spacing: -0.3px;
  }

  .info {
    max-width: 330px;
  }
}

.tabstyled {
  width: 100%;
  height: auto;
  max-width: 412px;
  display: flex;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

@media screen and (max-width: 390px) {
  .tabstyled {
    max-width: 100%;
  }
}

.nationSelectTitle {
  display: flex;
}

.nationSelectTitle h1 {
  color: #424242;
  font-family: "Spoqa Han Sans Neo";
  font-size: 18px; /* 타이틀 크기 줄임 */
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

@media screen and (max-width: 390px) {
  .nationSelectTitle h1 {
    font-size: 16px;
  }
}

.joinSelectTitle h1 {
  color: #424242;
  font-family: "Spoqa Han Sans Neo";
  font-size: 28px; /* 타이틀 크기 줄임 */
  font-style: normal;
  font-weight: 400;
  line-height: 45px;
  margin: 0;
}

#nationTitle {
  text-align: left;
  font-size: 16px;
  color: #424242;
}

#joinSelectSubTitle {
  font-size: 14px;
  text-align: center;
  margin: 10px 0 20px 0;
}

@media screen and (max-width: 390px) {
  .joinSelectTitle h1 {
    font-size: 24px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1700px) {
  .joinSelectTitle h1 {
    font-size: 25px;
    line-height: 36px;
  }
  #joinSelectSubTitle {
    font-size: 13px;
  }

  .joinBox {
    width: 440px;
    background: var(--White, #fff);
    padding: 40px 30px;
  }

  .logoImg .greenLogo {
    width: 220px;
  }
}

@media screen and (max-width: 768px) {
  .joinBox {
    width: 100%;
    padding: 40px 32px;
    transform: translate(-50%, -55%);
  }
}

.tabstyled button {
  display: flex;
  width: 100%;
  height: 44px;
  padding: 10px 15px; /* 버튼 높이값 조절 */
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 8px;
  cursor: pointer;
}

@media screen and (max-width: 390px) {
  .tabstyled button {
    height: 44px;
    padding: 8px 12px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1700px) {
  .tabstyled button {
    height: 44px;
    padding: 8px 12px;
  }
}

.tabstyledGeneral {
  border-radius: 8px;
  border: 1px solid var(--Gray20, #d4d4d5);
  background: var(--White, #fff);
  justify-content: center !important;
}
.tabstyledKakao {
  border-radius: 8px;
  background: #f9e000;
}
.tabstyledGoogle {
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d4d4d5;
}
.tabstyledNaver {
  border-radius: 8px;
  background: #00bf19;
  color: #fff;
}
.tabstyledApple {
  border-radius: 8px;
  background: #000;
  color: #fff;
}

.orsingup {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

@media screen and (max-width: 390px) {
  .orsingup {
    gap: 8px;
  }
}

.orsingup div {
  width: 102px;
  height: 1px;
  background: #d4d4d5;
}

.orsingup h2 {
  color: var(--Gray20, #d4d4d5);
  font-family: "Spoqa Han Sans Neo";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

@media screen and (max-width: 390px) {
  .orsingup h2 {
    font-size: 12px;
  }
}

.btnContainerStyled {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

@media screen and (max-width: 390px) {
  .btnContainerStyled {
    gap: 16px;
  }
}

.joinStyled p {
  color: #424242;
  text-align: center;
  font-family: "Spoqa Han Sans Neo";
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.2px;
  line-height: normal;
  margin-top: 45px;
}

.joinStyled p a {
  color: var(--MetaForest-Color, #49b26a);
  font-family: "Spoqa Han Sans Neo";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration-line: underline;
}

.tabstyled button:hover {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.1);
}

.tabinner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 10px;
  width: 166px;
}

.GeneralInner {
  width: auto !important;
}

@media screen and (min-width: 768px) and (max-width: 1700px) {
  .btnContainerStyled {
    gap: 20px;
  }
}

@media (max-width: 1080px) {
  .tabinner {
    row-gap: 10px;
    width: 175px;
  }
}

@media screen and (min-width: 1920px) {
  .tabinner {
    width: 166px;
  }
}

.tabinner h2 {
  font-size: 16px; /* 타이틀 크기 줄임 */
  font-weight: 700;
}

@media screen and (max-width: 390px) {
  .tabinner h2 {
    font-size: 14px;
  }
}

.tabinner p {
  white-space: nowrap;
  font-size: 13px;
  color: #999;
  text-align: start;
}

@media (max-width: 1080px) {
  .tabinner h2 {
    font-size: 14px; /* 타이틀 크기 줄임 */
    font-weight: 700;
  }
  .tabinner p {
    font-size: 11px;
    max-width: 240px;
  }
}

svg {
  width: 30px;
}

.selectArrow {
  position: absolute;
  top: 13px;
  right: 0;
}

/* modal */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: #00000080;
}

.nation {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  text-align: center;
  align-items: flex-start;
}

.nation p {
  font-size: 14px;
  color: #797979;
  line-height: 1.35;
  margin: 0;
  display: flex;
  text-align: left;
}

.nation select {
  width: 100%;
  height: 40px;
  padding: 8px;
  border: none;
  background-color: #f8f8f8;
  border-radius: 4px;
  -webkit-appearance: none; /* Safari의 기본 스타일 제거 */
  -moz-appearance: none; /* Firefox의 기본 스타일 제거 */
  appearance: none; /* 모든 브라우저의 기본 스타일 제거 */
  cursor: pointer;
  color: #424242;
}

.nationSelectBox {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.selectBox {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dialogStyled {
  z-index: 9000;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 470px;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background-color: #fff;
  padding: 24px 32px;
  transition: 0.2s ease-in-out;
  text-align: center;
}

@media screen and (max-width: 1080px) {
  .dialogStyled {
    border-radius: 0;
  }
}

.btnContainer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
  margin-top: 20px;
}

.cancelBtn {
  width: 100%;
  height: 34px;
  font-weight: 400;
  border-radius: 4px;
  font-size: 14px;
  color: #9e9e9e;
  border: 1px solid #d4d4d5;
  background-color: #fff;
  transition: 0.3s ease-in-out;
}

.cancelBtn:hover {
  background-color: #d4d4d5;
  color: #fff;
}

.submitBtn {
  width: 100%;
  height: 34px;
  font-weight: 400;
  border-radius: 4px;
  font-size: 14px;
  color: #fff;
  background-color: #46ab66;
  transition: 0.3s ease-in-out;
}

.submitBtn:hover {
  background-color: #008f56;
}

.SelectBox {
  display: flex;
  align-items: center;
  column-gap: 12px;
}

.SelectBox h4 {
  font-weight: 400;
  font-size: 13px;
}

.snsSignupTitle {
  text-align: center;
  margin: 10px 0;
}

#AppleSignUp,
#NaverSignUp {
  color: #fff;
}

#GoogleSignUp,
#KakaoSignUp,
#generalSignUp {
  color: #424242;
}

@media screen and (max-width: 1080px) {
  .SelectBox {
    column-gap: 11px;
  }

  .SelectBox h4 {
    white-space: nowrap;
  }
}
