@import url('./reset.css');


#visual > div {
    width: 100%;
    height: 500px;
    /* background: rgba(0, 56, 55, 0.7); */
    background-image: url('../image/menu-visual.jpg');
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
    /* line-height: 500px; */
}
#visual > div > h1 {
    font-size: 50px;
    color: #fff;
    font-family: 'GmarketSansBold';
    margin-top: 270px;
}

#menu {
    width: 100%;
    height: auto;
    padding-bottom: 300px;
    background: #ffdf48;
    overflow: hidden;
    background-image: url("../image/menu-bg.png");
}
#menu > .title {
    width: 700px;
    font-size: 60px;
    margin: 0 auto;
    background: #ffb4b4;
    text-align: center;
    padding-top: 20px;
    font-family: 'GangwonEdu_OTFBoldA';
    margin-top: 80px;
}
#menu > .nav-wrap {
    width: 80%;
    height: 250px;
    overflow: hidden;
    margin: 0 auto;
    /* border: 1px solid red; */
}
#menu > .nav-wrap > .nav {
    margin-top: 80px;
    text-align: center;
    /* border: 1px solid red; */
}
#menu > .nav-wrap > .nav > .category {
    width: 200px;
    height: 50px;
    line-height: 50px;
    /* border-bottom: 3px solid #4c3509; */
    font-size: 40px;
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 30px;
    font-family: 'GmarketSansMedium';
    cursor: pointer;
    color: #006c69;
}
#menu > .nav-wrap > .nav > .category:hover {
    /* width: 100px; */
    border-bottom: 3px solid #006c69;
}


#menu > .image-wrap {
    width: 80%;
    margin: 0 auto;
    /* margin-top: 100px; */
    /* border: 1px solid red; */
}

#menu > .image-wrap > .gimbap {
    width: 100%;
    margin: 0 auto;
    /* border: 1px solid red; */
}
#menu > .image-wrap > .gimbap > h3 {
    width: 150px;
    text-align: center;
    margin: 0 auto;
    font-size: 20px;
    margin-top: 200px;
    background: #4c3509;
    padding: 10px;
    color: #fff;
    border-radius: 30px;
}
#menu > .image-wrap > .gimbap > ul {
    width: 75%;
    margin: 0 auto;
    /* margin-top: 80px; */
    text-align: center;
}
#menu > .image-wrap > .gimbap > ul > li {
    width: 19.5%;
    height: 200px;
    text-align: center;
    /* margin-left: 50px; */
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-top: 80px;
    margin-left: -7px;
    /* line-height: 50px; */
    /* border: 1px solid red; */
    overflow: hidden;
}
#menu > .image-wrap > .gimbap > ul > li:first-child {
    margin-left: 0;
}
#menu > .image-wrap > .gimbap > ul > li img {
    width: 70%;
}
#menu > .image-wrap > .gimbap > ul > li .small {
    width: 60%;
}
#menu > .image-wrap > .gimbap > ul > li p {
    margin-top: 12px;
    font-size: 22px;
    font-family: 'GmarketSansMedium';
    color: #006c69;
}
#menu > .image-wrap > .gimbap > ul > li .hover-text {
    position: absolute;
    left: 15%;
    width: 70%;
    /* height: 59%; */
    top: 0;
    /* left: 0; */
    background: rgba(255, 255, 255, 0.3);
    /* line-height: 150px; */
    opacity: 0;
    color: #4c3509;
    font-size: 25px;
    border-radius: 50%;
    font-family: 'Cafe24Dongdong';
    padding-bottom: 13%;
}
#menu > .image-wrap > .gimbap > ul > li .hover-text img {
    width: 50%;
    margin-top: 30%;
}
#menu > .image-wrap > .gimbap > ul > li:hover .hover-text {
    opacity: 1;
    transition: 0.3s;
}
#menu > .image-wrap > .gimbap > ul > li:hover .hover-text img {
    opacity: 0.8;
    transition: 0.3s;
}


#menu > .image-wrap > .kitogimbap > ul {
    width: 75%;
    margin: 0 auto;
    /* margin-top: 80px; */
    text-align: center;
}
#menu > .image-wrap > .kitogimbap > ul > li {
    width: 19.5%;
    height: 200px;
    text-align: center;
    /* margin-left: 50px; */
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-top: 80px;
    margin-left: -7px;
    /* line-height: 50px; */
    /* border: 1px solid red; */
    overflow: hidden;
}
#menu > .image-wrap > .kitogimbap > ul > li:first-child {
    margin-left: 0;
}
#menu > .image-wrap > .kitogimbap > ul > li img {
    width: 70%;
}
#menu > .image-wrap > .kitogimbap > ul > li p {
    margin-top: 12px;
    font-size: 22px;
    font-family: 'GmarketSansMedium';
    color: #006c69;
}
#menu > .image-wrap > .kitogimbap > ul > li .hover-text {
    position: absolute;
    left: 15%;
    width: 70%;
    /* height: 59%; */
    top: 0;
    /* left: 0; */
    background: rgba(255, 255, 255, 0.3);
    /* line-height: 150px; */
    opacity: 0;
    color: #4c3509;
    font-size: 25px;
    border-radius: 50%;
    padding-bottom: 10%;
}
#menu > .image-wrap > .kitogimbap > ul > li .hover-text img {
    width: 50%;
    margin-top: 30%;
}
#menu > .image-wrap > .kitogimbap > ul > li:hover .hover-text {
    opacity: 0.8;
    transition: 0.3s;
}

#menu > .image-wrap > .half {
    width: 80%;
    text-align: center;
    margin: 0 auto;
    margin-top: 50px;
    /* border: 1px solid red; */
}
#menu > .image-wrap > .half > .left {
    width: 50%;
    float: left;
}
#menu > .image-wrap > .half > .left img {
    display: inline-block;
    width: 170px;
    margin-left: 40px;
    /* border: 1px solid red; */
    border-radius: 50%;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
}
#menu > .image-wrap > .half > .left img:first-child {margin-left: 0;}

#menu > .image-wrap > .half > .right {
    width: 50%;
    text-align: left;
    float: right;
}
#menu > .image-wrap > .half > .right h1 {
    font-family: 'GmarketSansBold';
    font-size: 60px;
    color: #006c69;
}
#menu > .image-wrap > .half > .right h2 {
    font-family: 'GmarketSansLight';
    color: #006c69;
    font-size: 60px;
    line-height: 75px;
    font-weight: lighter;
    margin-top: 10px;
}
#menu > .image-wrap > .half > .right h2 span {
    font-family: 'GmarketSansMedium';
}
#menu > .image-wrap > .half img {
    width: 80%;
    margin-top: 50px;
}



#menu > .image-wrap > .jjakggung > ul {
    width: 75%;
    margin: 0 auto;
    /* margin-top: 80px; */
    text-align: center;
}
#menu > .image-wrap > .jjakggung > ul > li {
    width: 19.5%;
    height: 200px;
    text-align: center;
    /* margin-left: 50px; */
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-top: 80px;
    margin-left: -7px;
    /* line-height: 50px; */
    /* border: 1px solid red; */
    overflow: hidden;
}
#menu > .image-wrap > .jjakggung > ul > li:first-child {
    margin-left: 0;
}
#menu > .image-wrap > .jjakggung > ul > li img {
    width: 150px;
}
#menu > .image-wrap > .jjakggung > ul > li p {
    margin-top: 12px;
    font-size: 22px;
    font-family: 'GmarketSansMedium';
    color: #006c69;
}
#menu > .image-wrap > .jjakggung > ul > li .hover-text {
    position: absolute;
    left: 15%;
    width: 150px;
    height: 150px;
    top: 0;
    /* left: 0; */
    background: rgba(255, 255, 255, 0.3);
    line-height: 150px;
    opacity: 0;
    color: #4c3509;
    font-size: 25px;
    border-radius: 50%;
    font-family: 'Cafe24Dongdong';
}
#menu > .image-wrap > .jjakggung > ul > li .hover-text img {
    width: 50px;
    margin-top: 50px;
}
#menu > .image-wrap > .jjakggung > ul > li:hover .hover-text {
    opacity: 0.8;
    transition: 0.3s;
}


#menu > .image-wrap > .drink > ul {
    width: 75%;
    margin: 0 auto;
    margin-top: 80px;
    text-align: center;
}
#menu > .image-wrap > .drink > ul > li {
    width: 19.5%;
    height: 280px;
    text-align: center;
    /* margin-left: 50px; */
    display: inline-block;
    position: relative;
    cursor: pointer;
    /* line-height: 50px; */
    /* border: 1px solid red; */
    overflow: hidden;
}
#menu > .image-wrap > .drink > ul > li:first-child {
    margin-left: 0;
}
#menu > .image-wrap > .drink > ul > li img {
    width: 100px;
}
#menu > .image-wrap > .drink > ul > li:last-child img {
    width: 120px;
}
#menu > .image-wrap > .drink > ul > li p {
    margin-top: 12px;
    font-size: 22px;
    font-family: 'GmarketSansMedium';
    color: #006c69;
}
#menu > .image-wrap > .drink > ul > li .hover-text {
    position: absolute;
    /* left: 15%; */
    width: 100%;
    height: 73%;
    top: 0;
    /* left: 0; */
    background: rgba(255, 255, 255, 0.3);
    line-height: 270px;
    opacity: 0;
    color: #4c3509;
    /* font-size: 50px; */
    border-radius: 50%;
}
#menu > .image-wrap > .drink > ul > li .hover-text img {
    width: 70px;
    margin-top: 50px;
}
#menu > .image-wrap > .drink > ul > li:hover .hover-text {
    opacity: 0.8;
    transition: 0.3s;
}



.selected {
    font-family: 'GmarketSansBold';
    border-bottom: 3px solid #006c69; /* 선택된 카테고리에 밑줄 스타일 추가 */
}
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 600px;
    height: 600px;
    /* padding: 150px; */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border: 5px solid #fdd41d;
    overflow-y: auto;
}

/* 팝업 내부 컨텐츠 스타일 */
.popup-content {
    text-align: center;
    position: relative;
    padding-top: 30px; /* 상단에 여백 추가 */
}

.popup-menu-name {
    font-size: 30px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 10px;
    font-family: 'GmarketSansMedium';
}

.popup-divider {
    width: 80px;
    height: 3px;
    background-color: #ccc;
    margin: 10px auto;
}

.popup-image {
    width: 300px;
    height: auto;
    margin-bottom: 10px;
    margin-top: 30px;
    max-height: 300px;
    object-fit: contain;
}

.popup-description {
    width: 80%;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.5;
    color: #000;
    margin-top: 10px;
    font-family: 'GmarketSansLight';
}

.popup-close {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    padding: 8px 13px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 50%;
    font-size: 25px;
}

.popup-close:hover {
    background-color: #555;
}
.popup-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
.popup-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* 팝업 백그라운드 활성화 스타일 */
.popup-background.active {
    display: block;
}

/* 자세히보기 텍스트 스타일 */
.popup-hover-text {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}