#nav{
    display: flex;
    width: 100%;
    /* top: 0px; */
    background-color: rgb(255, 255, 255);
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    /* 드래그 방지 */
    -ms-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}
.nav-container{
    display: flex;
    width: 100%;
    max-width: 1270px;
    flex-direction: row;
    align-items: center;
    padding: 0px 20px;
    gap: 8%;

}

.nav-container div{
    display: flex;
    align-items: center;
    font-family: 'Pretendard-Regular';
}

.nav-container div img{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.nav-contents{
    display: flex;
    align-items: center;
    flex-basis: 500px;
    font-size: 17px;
    gap: 50px;
}

.nav-contents a:hover{
    color: var(--main-font-color);
}

.logo{
    height: 50px;
    width: auto;
}


@media screen and (max-width: 768px){
    .logo{
        height: 40px;
    }

    .nav-contents{
        font-size: 15px;
        gap: 15px;
    }

    .nav-container{
        padding: 0px 10px;
        gap: 20px;
    }
}

@media screen and (max-width: 480px){
    #nav{
        position: -webkit-sticky;
        position: sticky;
        top: -61px;
        z-index: 500;
        border-bottom: 0px;
    }

    .logo{
        height: 40px;
        margin-left: 10px;
    }
    .nav-container{
        flex-direction: column;
        align-items: flex-start;
        height: 100%;
        gap: 0px;
        padding: 0px;
    }

    .nav-contents{
        display: flex;
        font-size: 13.5px;
        flex-basis: auto;
        width: 100%;
        gap: 0px;
        flex-wrap: wrap;
        background-color: var(--color-lightnavy);
    }
    .nav-contents::before{
        content:"";
        margin-left: 10px;
    }
    .nav-contents a{
        color: white;
        padding: 15px 6px 15px 6px;
    }
    .nav-contents a:hover{
        color: white;
    }

}

