/* 메뉴 */
nav {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    /*left: 0;*/
    /*transform: translateX(100px);*/
    height: calc(var(--vh, 1vh) * 100);
    width: 40%;
    min-width: 190px;
    transition: all 800ms cubic-bezier(.8, 0, .33, 1);
    z-index: -1;
}

nav.nav-open {
    /*transform: translateX(0px);*/
    background: #fbfbfb;
    z-index: 10;
    box-shadow: -5px 5px 10px rgba(0,0,0,0.1);
}

nav .nav-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transition: all 900ms cubic-bezier(.9, 0, .33, 1);

    position: absolute;
    top: 140px;
    left: 50%;
    transform: translate(100%, 0);
    /*padding-left: 16px;*/
}

nav .nav-links.fade-in {
    opacity: 1;
    transform: translate(-50%, 0);
}

nav .nav-links .link {
    margin: 0;
    padding: 20px;
    text-decoration: none;
    font-family: 'GmarketSansMedium', sans-serif;
    color: rgba(0, 0, 0, 0.9);
    /*font-weight: 700;*/
    text-transform: uppercase;
    font-size: 1rem;
    transition: all 300ms cubic-bezier(.9, 0, .33, 1);

    display: flex;
    /*align-items: center;*/
    justify-content: flex-start;
    width: 100%;
}

nav .nav-links .link:hover {
    background: #f5f5f5;
}

nav .btn {
    display: flex;
    justify-content: space-between;
    align-items: center;

    transform: translateX(200px);
    opacity: 0;
    transition: all 900ms cubic-bezier(.9, 0, .33, 1);

    /*position: fixed;*/
    position: absolute;
    /*bottom: 20px;*/
    top: 60px;
    left: 16px;
    width: calc(100% - 32px);
    flex-direction: column;
}

nav .btn.fade-in {
    opacity: 1;
    transform: translateX(0px);
}

nav .btn button {
    background: #1a242d;
    /* background: #34485b; */
    color: #fff;
    text-align: center;
    padding: 12px;
    /*width: 48%;*/
    width: 100%;
    border-radius: 16px;
    font-weight: 500;
}

nav .btn button:hover {
    color: #e0b433;
    font-weight: 600;
}

nav .nav-links .link img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

nav .nav-links .link:hover img {
    transform: rotateY(360deg);
}

.inform {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
    font-family: sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.support {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 10px;
    display: flex;
}

nav a {
    margin: 0 20px;
    color: #fff;
    font-size: 2rem;
    transition: all 400ms ease;
}

a:hover {
    color: #222;
}