/*
.velo-main {
    position: relative;
}
*/


/*
.main_container {
    position: relative;
}
*/


/*
.menu {
    width: 100%;
    z-index: 100;
    position: fixed;
    top: 11%;
    left: 6%;
}

*/

body {
    width: 100%
}

/*
*, ::after, ::before {
    box-sizing: border-box;
}
*/


/*
.menu {
    width: 100%;
    z-index: 20;
    position: fixed;
    padding: 40px 6.5% 10px; 
    상우좌하
    margin: 0 auto;
    background-color: rgba(76, 66, 54, 0.7);
}
*/



/*
.top_menu h3
 {
    font-family: "Montserrat", Helvetica, sans-serif;
    font-weight: 700;
     margin-bottom: .5rem;
     line-height: 1.2;
}



.menu_container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo {
    width: 20%;
}


.logo img {
width: 50px;
    height: auto;
    
}
*/

/*
.top_menu {
    width: 50%;
    display: flex;
    justify-content: space-between;

}

.top_menu h3 {
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}


.top_menu a {
    position: relative;
    text-decoration: none;
    outline: 0;
    display: inline-block;

}

.top_menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;

    background-color: #fff;

    transition: width 0.3s ease;

}

.top_menu a:hover::after {
    width: 100%;


}

@media (max-width:800px) {
    
}
*/

body {
    margin: 0;
    font-family: "Montserrat", Helvetica, sans-serif;
}

.menu {
    width: 100%;
    z-index: 20;
    position: fixed;
    padding: 30px 6.5% 20px;
    margin: 0 auto;
    background-color: rgba(76, 66, 54, 0.7);
}



.menu_container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 50px;
    height: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 100;
    /* 햄버거 버튼의 z-index 값을 올림 */
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: #fff;
    border-radius: 5px;
}




.top_menu {
    display: flex;
    justify-content: space-between;
    width: 50%;
}

.top_menu h3 {
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
}

.top_menu a {
    text-decoration: none;
    position: relative;
}

.top_menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.top_menu a:hover::after {
    width: 100%;
}

/* 모바일 환경 (max-width 768px) */
@media (max-width: 800px) {
    .hamburger {
        display: flex;
        z-index: 101;
    }

    .top_menu {
        position: fixed;
        top: 0;
        right: -100%;
        /* 초기 상태에서 화면 밖으로 이동 */
        width: 60%;
        /* 화면 너비 */
        height: 100%;
        /* 전체 화면 높이 */
        background-color: rgba(76, 66, 54, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        /*    align-items: center;*/
        align-items: flex-end;
        gap: 20px;
        transition: right 0.3s ease-in-out;
        z-index: 100;

    }

    .top_menu.active {
        right: 0;
        /* 활성화 시 화면에 나타남 */
    }

    .top_menu.active a {
        padding-right: 15%;
    }

    .top_menu.active a::after {
        left: auto;
        right: 0;
        margin-right: 40%;

    }

    .top_menu.active a:hover::after {
        width: 70%;
    }

    .menu {
        padding: 20px 6.5% 15px;

    }


}
