body {
    font-size: 16px;
    font-family: 'Arial', sans-serif;
}

.container {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    margin: 0 auto;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.menu-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-bottom: 20px;
}

.menu-table th {
    width: 5%;
    padding: 10px;
    background-color: #f0f0f0;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
}

.menu-table td {
    position: relative;
    width: 25%;
    height: 100px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    vertical-align: middle;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.menu-table td:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.menu-table td:nth-child(2) {
    background-color: #fff8e1;  /* 연한 노란색 */
}

.menu-table td:nth-child(4) {
    background-color: #e3f2fd;  /* 연한 파란색 */
}

.menu-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 5px;
    box-sizing: border-box;
    font-size: 1.1em;
    line-height: 1.5;
    color: #333;
}

.menu-text p {
    margin: 5px 0;
}

.menu-text p:first-child {
    font-weight: bold;
    color: #1a237e;  /* 진한 파란색 */
    margin-bottom: 10px;
}


.notice {
    text-align: center;
    font-style: italic;
    color: #666;
    margin: 15px 0;
}

.info {
    display: flex;
    justify-content: space-between;
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.info-left, .info-right {
    width: 48%;
}

.info p {
    font-size: 0.9em;
    line-height: 1.6;
    margin: 10px 0;
    color: #333;
}

.origin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.origin-table th, .origin-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size: 0.85em;
}

.origin-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.button-container button {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.button-container button:hover {
    transform: translateY(-2px);
}

.print-btn, .capture-btn {
    background-color: #4CAF50;
    color: white;
}

.share-btn {
    background-color: #3b5998;
    color: white;
}

.share-btn.twitter {
    background-color: #1DA1F2;
}

.share-btn.copy-link {
    background-color: #6c757d;
}

@media screen and (max-width: 768px) {
    body{
        padding: 0px 20px 0px 0px;
    }

    .container {
        padding: 10px;
    }

    h1 {
        font-size: 1.2em;
    }

    .menu-table td {
        padding: 5px;
        height: auto;
    }

    .menu-text p {
        font-size: 0.9em;  /* 모바일에서의 폰트 크기 */
    }

    .info {
        flex-direction: column;
    }

    .info-left, .info-right {
        width: 100%;
    }

    .info p {
        font-size: 0.8em;
    }

    .origin-table th, .origin-table td {
        font-size: 0.75em;
        padding: 5px;
    }

    .button-container button {
        width: 100%;
        margin: 5px 0;
    }

    .print-btn {
        display: none;
    }

    .capture-btn {
        display: none;
    }
}

@media print {
    @page {
        size: landscape;
        margin: 5mm;
    }

    body {
        width: 100%;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .container {
        width: 100%;
        padding: 0;
        max-width: none;
    }

    nav, .button-container {
        display: none;
    }

    h1 {
        margin: 5px 0;
        font-size: 24px;
    }

    .menu-table {
        margin-bottom: 10px;
    }

    .menu-table td {
        height: 80px;
    }

    .menu-table p {
        font-size: 1.2em;
    }

    .notice {
        font-size: 0.9em;
        margin: 5px 0;
    }

    .origin-table {
        font-size: 0.8em;
    }

    .origin-table th, .origin-table td {
        padding: 3px;
    }

    .menu-text {
        font-size: 9pt;
    }

    .menu-text p {
        font-size: 0.95em;  /* 인쇄시 폰트 크기 */
    }
}