* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.2;
}

ul,li {
    list-style: none;
}

a {
    text-decoration: none;
}

/* 폰트 */
@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Pretendard-Regular.woff2') format('woff2'),
    url('../fonts/Pretendard-Regular.woff2') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/Pretendard-Medium.woff2') format('woff2'),
    url('../fonts/Pretendard-Medium.woff2') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Pretendard-SemiBold.woff2') format('woff2'),
    url('../fonts/Pretendard-SemiBold.woff2') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Pretendard-Bold.woff2') format('woff2'),
    url('../fonts/Pretendard-Bold.woff2') format('woff');
}

@font-face {
    font-family: 'NotoSans';
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/NotoSans-Regular.ttf') format('ttf')
}

body {
    font-family: 'Pretendard', sans-serif;
}

.content {
    min-height: 100svh;
    width: 100%;
}

/* header */
.header-wrapper {
    width: 100%;
    position: fixed;
    top: 30px;
    z-index: 10;
}

.header-container {
    position: relative;
    margin: 0 auto;
    max-width: 1680px;
    width: 87.5%;
    border-radius: 100px;
    background-color: #FFFFFF1A;
    backdrop-filter: blur(20px);
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bg-section3 .header-container {
    background-color: #ACACAC1A;
}

.bg-section3 .header-nation p ,
.bg-section3 .header-mypage p {
    color: #111111;
}

/* blur 제거용 클래스 */
.header-container.no-blur {
    backdrop-filter: none;
}

.header-logo {
    width: 150px;
    height: 33px;
}

.header-logo img {
    width: 100%;
}

.header-right-wrap {
    display: flex;
    gap: 40px;
    align-items: center;
}

.header-nation {
    display: flex;
    gap: 4px;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.header-nation p {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: white;
    display: flex;
    align-items: center;
}

.header-nation img {
    width: 30px;
    height: 30px;
}

/* 드롭다운 공통 */
.lang-dropdown {
    position: absolute;
    top: 0;
    right: -30px;
    z-index: 20;
    background-color: #FFFFFF1A;
    backdrop-filter: blur(20px);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 136px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
}

.lang-dropdown li {
    padding: 8px 10px 8px 16px;
    color: #9C9C9C;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: -0.24px;
    position: relative;
}

/*  mobile header   */
.mob-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 16px;
    visibility: hidden;
    height: 72px;
}

.mob-header-logo img {
    width: 32px;
    height: 32px;
}

.mob-header-icon img {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.bg-section3 .lang-dropdown {
    background-color: #ACACAC1A;
}

.bg-section3 .lang-dropdown li {
    color: #9C9C9C;
}
.bg-section3 .lang-dropdown li:hover {
    color: #111111;
}

.lang-dropdown li:hover {
    color: white;
}

/* 체크 아이콘 기본 숨김 */
.check-icon {
    display: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: url('../images/lang_check_white.png') no-repeat center/contain;
}

/* 선택된 li */
.lang-dropdown li.selected {
    /*color: white;*/
}

/* 선택된 언어의 체크아이콘 보여줌 */
.lang-dropdown li.selected .check-icon {
    display: block;
}

/* 열릴 때 */
.header-nation.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
}

.header-mypage {
    display: flex;
    gap: 4px;
    align-items: center;
}

.header-mypage img {
    width: 30px;
    height: 30px;
}

.header-mypage p {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    letter-spacing: -0.24px;
    display: flex;
    align-items: center;
}

/*  footer  */
.footer-wrapper {
    width: 100%;
    background-color: #070712;
    position: relative;
}

.footer-container {
    padding: 80px 0 50px 0;
    width: 87.5%;
    height: 542px;
    max-width: 1680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-logo {
    width: 100%;
    height: auto;
    max-width: 500px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap-reverse;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.footer-left p.design {
    color: #666666;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: underline;
    letter-spacing: -0.18px;
}

.footer-left p.copyright {
    font-size: 0.875rem;
    color: #626273;
    font-weight: 400;
    letter-spacing: -0.21px;
    text-transform: uppercase;
}

.footer-right {
    max-width: 1002px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.footer-right p {
    text-transform: uppercase;
    color: #626273;
    font-size: 1rem;
    letter-spacing: -0.24px;
    font-weight: 400;
}

.footer-right span {
    font-weight: 600;
    text-transform: uppercase;
    color: #626273;
    font-size: 1rem;
    letter-spacing: -0.24px;
}

/* main-footer 배경색, 글자색, 로고 사진 변경 */
.main-footer .footer-wrapper {
    background-color: white;
}

.footer-logo img {
    content: url('../images/footer_logo.png');
}

.main-footer .footer-logo img {
    content: url('../images/footer_logo_white.png');
}

.main-footer .footer-left .copyright,
.main-footer .footer-right p {
    color: #626273;
}

/*   반응형 769~1024px   */
@media (max-width: 1024px) {
    .content {
        min-height: auto;
    }

    .footer-container {
        flex-direction: column-reverse;
        padding: 30px 16px;
        height: 407px;
        width: 100%;
    }

    .footer-logo {
        max-width: 207px;
    }

    .footer-right {
        flex-direction: column;
        gap: 20px;
    }

    .footer-left {
        margin-top: 50px;
    }
    .footer-left p.design {
        font-size: 0.625rem;
        letter-spacing: -0.15px;
    }

    .footer-left p.copyright {
        font-size: 0.75rem;
        letter-spacing: -0.18px;
    }

    .footer-right p,
    .footer-right span {
        font-size: 0.75rem;
        letter-spacing: -0.18px;
    }
}


/*   반응형 ~768px   */
@media (max-width: 768px) {
    .header-wrapper {
        top: 0;
    }

    .header-container {
        display: none;
    }

    .mob-header-container {
        visibility: visible;
    }
}