:root{
    --font-black : #000;
    --font-gray : #acacac;
    --font-white : #fff;
    --lightgray : #d9d9d9;
    --gray : #cfcfcf;
    --darkgray : #616161;
    --mainColor : #005FAE;
    --mainColor-sub : #4594e4;
    --lightblue : #6fd1ff;
    --surface : #212324;
    --surface-dark : #121316;
}

body{
    margin: 0px;
    font-family: 'Poppins', sans-serif;
    color: var(--font-black);
}
body.ko, .ko{ font-family: 'Nanum Gothic', sans-serif; line-height: 1.6; }
.en{ font-family: 'Poppins', sans-serif; }

ul,li{ margin: 0; padding: 0; list-style: none; }
a{ color: inherit; text-decoration: none; }

p{ font-size: 20px; font-weight: 300; }

body.ko p{ font-weight: 400; word-break: keep-all;}


/* --- navigation --- */
nav.root-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    color: white;
    background-color: transparent;
    z-index: 1000;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 112px;
}
@media(max-width: 768px) {
    .nav-container {
        height: 72px;
    }
}

.nav-logo-img {
    height: 48px;
}
@media(max-width: 768px) {
    .nav-logo-img {
        height: 40px;
    }
}

.nav-menu {
    flex: 1;
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
    margin: 0 16px;
}
@media(max-width: 768px) {
    .nav-item {
        margin: 0;
    }
}

.nav-item:last-child {
    margin-left: auto;
}

.app-nav-link {
    display: block;
    padding: 20px;
    text-decoration: none;
    font-size: 1.2em;
}
@media (max-width: 768px) {
    .app-nav-link {
        color: black;
    }
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--mainColor);
    list-style: none;
    min-width: 160px;
    z-index: 999;
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
}

.dropdown li a:hover {
    background-color: var(--mainColor-sub);
}

@media (min-width: 769px) {
  .nav-item:hover .dropdown {
    display: block;
  }
}

/* Hamburger */
.hamburger {
    margin-left: auto;
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: white;
    margin: 4px 0;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
        border-bottom: 1px solid var(--lightgray);
    }

    .nav-item {
        width: 100%;
    }

    .app-nav-link {
        padding: 15px 20px;
    }

    .dropdown {
        position: static;
        display: none;
        background-color: var(--mainColor-sub);
    }

    .nav-item.active > .dropdown {
        display: block;
    }

    .hamburger {
        display: flex;
    }
}
/* --- end: navigation --- */

/* --- upper box --- */
#upper-box {
    height: 650px;
    display: flex;
    position: relative;
}
@media(max-width: 768px) {
    #upper-box {
        height: 140px;
    }
}
#upper-box .main-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3.6em;
    font-weight: 600;
}
@media(max-width: 768px) {
    #upper-box .main-title {
        display: none;
        /* font-size: 1.6em; */
    }
}
#upper-box .sub-title {
    position: absolute;
    bottom: 24px;
    left: 0;
    color: white;
    font-size: 2em;
}
@media(max-width: 768px) {
    #upper-box .sub-title {
        bottom: 12px;
        left: 12px;
        font-size: 1.1em;
    }   
}
/* --- end: upper box --- */

/* --- footer --- */
#footer {
    background-image: url(/img/main/footer_bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 54px 0;
    color: white;
}
@media(max-width: 768px) {
    #footer {
    }
}

#footer .footer-logo {
    height: 60px;
}
@media(max-width: 768px) {
    #footer .footer-logo {
        height: 40px;
    }
}

#footer .footer-item {
    margin: 40px 0;
}

@media (max-width: 768px) {
    #footer .footer-item > h5 {
        font-size: .9em;
    }
}

#footer .footer-item > div {
    display: flex;
    flex-direction: row;
}
@media(max-width: 768px) {
    #footer .footer-item > div {
        flex-direction: column;
    }
}

#footer .footer-item > div > h6 {
    padding: 0 16px;
    font-weight: 300;
}
@media(max-width: 768px) {
    #footer .footer-item > div > h6 {
        padding: 0;
        font-size: .8em;
    }
}

#footer .footer-item > div > h6:first-child {
    padding-left: 0;
}

#footer .footer-item > div > *:not(:first-child) {
    border-left: 2px solid white;
}
@media(max-width: 768px) {
    #footer .footer-item > div > *:not(:first-child) {
        border-left: 0;
    }
}

#footer .copyright {
    border-top: 1px solid var(--darkgray);
    padding-top: 8px;
    font-size: .9em;
}
@media(max-width: 768px) {
    #footer .copyright {
        font-size: .6em;
    }
}
/* --- end: footer --- */