nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.01);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 0 17.5vw; /* 기존의 패딩 값을 유지하여 1920px 기준 동일한 간격을 유지 */
}

.nav-logo {
    display: flex;
    align-items: center;
    margin-right: 33vw; /* 1920px 기준에서 로고와 링크 사이의 간격 유지 */
}

.nav-logo-img {
    width: 168px; /* 고정된 크기 */
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 28px; /* 기존 간격 유지 */
    justify-content: flex-end; /* 오른쪽 정렬 */
}

.nav-links a {
    font-family: 'Pretendard', sans-serif;
    color: black;
    text-decoration: none;
    font-size: 16px;
    font-weight: 505;
    padding: 8px 12px;
}

.nav-mobile {
    display: none; /* 기본적으로 숨김 */
}

.nav-mobile-icon {
    width: 30px;
    cursor: pointer;
}

.mobile-menu {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgb(255, 255, 255);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 1000;
}

.mobile-menu a {
    padding: 14px 20px;
    font-family: 'Pretendard', sans-serif;
    color: black;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    transition: 0.3s;
}

.mobile-menu a:hover {
    color: #f1f1f1;
}

.mobile-menu .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
}

/* 화면 전체를 덮는 오버레이 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.menu-overlay.show {
    display: block;
}

/* 반응형 스타일 - 작은 화면에서 간격 조정 */
@media screen and (max-width: 1440px) {
    nav {
        padding: 0 10vw; /* 패딩을 줄여 네비게이션 간격 조정 */
    }

    .nav-logo {
        margin-right: 20vw; /* 네비게이션 링크와 로고 사이 간격을 줄임 */
    }

    .nav-links a {
        padding: 6px 10px; /* 패딩 조정 */
    }
}

@media screen and (max-width: 1024px) {
    nav {
        padding: 0 5vw;
    }

    .nav-logo {
        margin-right: 10vw;
    }

    .nav-links a {

    }
}

/* 모바일 화면 */
@media screen and (max-width: 768px) {
    nav {
        box-sizing: border-box;
    }

    .nav-links {
        display: none; /* 네비게이션 링크 숨김 */
    }

    .nav-mobile {
        display: block;
        margin-left: auto;
    }
}

/* 모바일 화면 */
@media screen and (max-width: 576px) {
    .nav-mobile {
    }
}


/* 모바일 화면 */
@media screen and (max-width: 350px) {
    .nav-mobile {
    }
}
