html {
    height: 100%;
}

body {
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #000000;
}

#global_nav_container {
    position: absolute;
    z-index: 3;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: space-between;
}

.gnb_expand {
    height: 60px;
    transition: all 0.2s ease-in-out;
    display: block;
}

.gnb_collapse {
    height: 0px;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
}

.global_title_box {
    width: 60%;
    height: 60px;
    display: flex;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
}

.global_logo_box {
    padding-left: 10px;
    color: #323232;
    margin-top: 5px;
}

.gs_nav_title {
    color: #323232;
    width: 80%;
}

.gs_nav_title:hover {
    color: #ffffff;
    background-color: rgba(0, 102, 51, 0.9);
}

.dg_nav_title {
    width: 20%;
    color: #323232;
}

.dg_nav_title:hover {
    color: #ffffff;
    background-color: rgba(0, 102, 51, 0.9);
}

.dg_nav_hover {
    color: #ffffff;
    background-color: rgba(0, 102, 51, 0.9);
}

/* expand */
.expand {
    height: 600px;
    transition: all 0.2s ease-in-out;
}

.collapse {
    height: 0px;
    transition: all 0.2s ease-in-out;
}

#sub_nav_container {
    position: absolute;
    width: 100%;
    background-color: rgba(0, 102, 51, 0.9);
    top: 60px;
    overflow: hidden;
}

.sub_img img {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 20px;
    width: 700px;
    height: auto;
    object-fit: contain;
}

.sub_nav_box {
    position: absolute;
    display: flex;
    right: 0;
    width: 60%;
    height: 100%;
    text-align: center;
}

.gs_sub_box {
    margin: 10px 0px;
    width: 80%;
    display: flex;
    border-width: 0px 0.5px 0px 0.5px;
    border-style: solid;
    border-color: #7c7c7c;
}

.dg_sub_box {
    width: 20%;
    margin: 10px 0px;
}

.gs_sub_title_box {
    width: 50%;
}

.dg_sub_title_box {
    width: 100%;
}

.gs_sub_title {
    cursor: pointer;
    font-size: 14px;
    color: #cacaca;
    line-height: 14px;
    height: 30px;
}

.gs_sub_title_en {
    cursor: pointer;
    font-size: 12px;
    color: #cacaca;
    line-height: 12px;
    height: 30px;
}

.gs_sub_title:hover {
    color: #ffffff;
}

.gs_sub_title_en:hover {
    color: #ffffff;
}

#scene_items1,
#scene_items2,
#scene_items3,
#scene_items4,
#scene_items5 {
    margin-top: 10px;
}

#m_gnb {
    display: none;
}

@media screen and (max-width: 500px) {
    #global_nav_container {
        overflow: hidden;
        display: none;
    }

    #m_gnb {
        position: absolute;
        position: fixed;
        display: flex;
        justify-content: space-between;
        align-items: center;
        top: 0px;
        left: 0px;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.8);
        z-index: 1000;
    }

    .mgnb_expand {
        height: 50px;
        transition: all 0.2s ease-in-out;
        display: block;
    }

    .mgnb_collapse {
        height: 0px;
        transition: all 0.2s ease-in-out;
        overflow: hidden;
    }

    .m_logo {
        height: 40px;
        width: auto;
        object-fit: contain;
        margin-left: 5px;
    }

    #mobile_open_icon {
        margin-right: 10px;
        width: 35px;
        height: 35px;
        object-fit: contain;
    }

    #mobile_close_icon {
        margin-right: 10px;
        width: 25px;
        height: 25px;
        object-fit: contain;
    }
    .open_icon {
        display: block;
    }
    .close_icon {
        display: none;
    }

    #mobile_menu_layout {
        position: fixed;
        top: 50px;
        right: 0px;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.8);
        transition-duration: 0.2s;
        transition-timing-function: ease;
        overflow: hidden;
        color: #222222;
        padding-bottom: 50px;
    }

    .mobile_collapse {
        width: 0;
        overflow: hidden;
        transition: all 0.2s ease-in-out;
    }

    .mobile_expand {
        width: 100%;
        transition: all 0.2s ease-in-out;
    }

    .mobile_menu_list {
        padding: 20px 16px;
        color: #323232;
    }

    .mobile_main_menu_item {
        display: block;
        width: 100%;
        height: 30px;
        overflow: hidden;
        color: #323232;
        padding: 8px 0px;
        background-color: rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid #323232;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .menu_item_collapse {
        height: 0;
        overflow: hidden;
        transition: all 0.2s ease-in-out;
    }

    .gs_expand {
        height: 1180px;
        transition: all 0.2s ease-in-out;
    }

    .dg_expand {
        height: 100px;
        transition: all 0.2s ease-in-out;
    }

    #gs_sub_menu div {
        line-height: 20px;
        color: #323232;
        height: 20px;
        margin: 5px 0px;
    }

    #dg_sub_menu div {
        line-height: 20px;
        color: #323232;
        height: 20px;
    }

    #gs_sub_menu div:nth-child(2n) {
        background-color: rgba(189, 189, 189, 0.5);
    }
    #dg_sub_menu div:nth-child(2n) {
        background-color: rgba(189, 189, 189, 0.5);
    }

    .mgs_sub_title {
        cursor: pointer;
        font-size: 12px;
        color: #cacaca;
        line-height: 12px;
    }
}
