/**************************************************
* layout.css
**************************************************/

/* =========================
   Progress
========================= */

.progress-container .progress-bar {
    position: absolute;
    bottom: -1px;
    z-index: 0;
    width: 100%;
    height: 2px;
    background-color: #d29e75;
}

/* =========================
   Menu Active
========================= */

.current-menu-item,
.gnb-allmenu-depth1.current-menu-parent > .gnb-menu-txt,
.gnb-allmenu-depth2 li a.current-menu-item {
    color: #27d2cb !important;
}

/* =========================
   GNB Overlay
========================= */

#gnb_all {
    position: fixed;
    top: 0;
    z-index: 999994;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 1s ease, visibility 0s 1s;
}

#gnb_all.open {
    visibility: visible;
    transform: translateX(42%);
    transition: transform 1s ease;
}

/* =========================
   GNB Top
========================= */

.gnb-top {
    position: relative;
    height: 6rem;
}

.gnb-top .gnb_close_btn {
    position: fixed;
    top: 65px;
    right: 45%;
    background: none;
    cursor: pointer;
}

.gnb-top .gnb_logo {
    position: relative;
    margin: 60px 0 0 80px;
    cursor: pointer;
}

/* =========================
   Login
========================= */

.login-wrap {
    margin: 70px 0 0 80px;
}

.login-wrap a {
    margin-right: 20px;
    font-size: 18px;
    color: #ccc;
    transition: color 0.4s;
}

.login-wrap a:hover {
    color: #27d2cb;
    text-decoration: none;
}

/* =========================
   GNB Inner
========================= */

.gnb-inner {
    width: 1260px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0s 1s, opacity 0s 1s;
}

#gnb_all.open .gnb-inner {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: transform 0s, opacity 0s;
}

/* =========================
   Image Box
========================= */

.gnb-allmenu-imgbox {
    width: 450px;
    margin-right: 8%;
    text-align: center;
}

.gnb-allmenu-imgbox .imgbox {
    position: relative;
    margin-top: 5rem;
}

.gnb-allmenu-imgbox .imgbox .img {
    position: absolute;
    inset: 0;
}

.gnb-allmenu-imgbox .txtbox {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7rem;
}

.gnb-allmenu-imgbox .txtbox p {
    margin-top: 15px;
    font-size: 1.875rem;
    color: #fff;
}

/* =========================
   Menu List
========================= */

.gnb-allmenu-list {
    margin: 20px 0 0 80px;
}

.gnb-allmenu-list a {
    color: #fff;
}

.gnb-menu-txt {
    width: 100%;
    padding-right: 30px;
    text-align: right;
}

.menu-txt01 {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: bold;
}

/* =========================
   Depth 1
========================= */

.gnb-allmenu-depth1 {
    margin-bottom: 30px;
}

.gnb-allmenu-depth1.on .gnb-menu-txt,
.gnb-allmenu-depth1:hover .menu-txt01 {
    color: #27d2cb;
    transition: color 0.4s;
}

/* underline animation */
.menu-txt01::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-bottom: 1px solid #27d2cb;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(1, 0, 0, 1);
}

.gnb-allmenu-depth1:hover .menu-txt01::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* =========================
   Depth 2
========================= */

.gnb-allmenu-depth2 li {
    display: inline-block;
    margin-right: 15px;
}

.gnb-allmenu-depth2 li a {
    height: 46px;
    line-height: 38px;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: #ccc;
    transition: color 0.4s;
}

.gnb-allmenu-depth2 li:hover a {
    color: #27d2cb;
    text-decoration: none;
}

/* =========================
   Active Group
========================= */

.gnb-allmenu-list .on ul {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}
