@media (min-width: 769px) and (max-width: 1024px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .menu {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.77);
        position: absolute;
        top: 70px;
        left: 10px;
        padding: 10px;
        margin-left: 10px;
        border-radius: 5px;
    }

    .menu-button {
        display: block;  
        color: white;  
        padding: 10px 20px; /* 패딩 조정 */
        cursor: pointer;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        position: absolute;
        top: 3%;  
        left: 90%;  
        transform: translate(-50%, -50%);
    }

    .menu-checkbox:checked + .menu-button + .menu {
        display: block;
        background: rgba(0, 0, 0, 0.77);
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%); 
        width: 80%;
        max-width: 400px;
        text-align: center;
        border-radius: 10px;
    }

    .menu-checkbox {
        display: none;
    }

    .menu > li {
        margin: 5px 0; /* 위아래 간격 줄이기 */
        padding: 5px 0; /* 내부 여백 줄이기 */
    }

    .home_text {
        margin-left: 50px;
        margin-right: 50px;
        text-align: center;
        margin-top: 100px;
        border-radius: 10px;
    }

    .faq_text {
        margin-left: 50px;
        margin-right: 50px;
        text-align: center;
        border-radius: 10px;
        margin-top: 100px;
    }

    .about_text {
        margin-left: 50px;
        margin-right: 50px;
        text-align: center;
        border-radius: 10px;
        margin-top: 100px;
    }

    .tourlist_text {
        margin-left: 20px;
        margin-right: 10px;
        text-align: center;
        border-radius: 10px;
        margin-top: 150px;
    }

    .special-offers_container, .popular-destinations_container,
    .banner-container, .footer-container, .about-section, .history-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .banner img, .about-section img, .history-text, .history-image {
        width: 100%;
    }

    .promo-banner {
        width: 80%;
        font-size: 1.5em;
    }

    .footer-section, .about-content {
        min-width: 80%;
        text-align: center;
    }

    .offer1, .offer2, .offer3, .popular {
        width: 45%;
    }

    .buy-now-btn {
        font-size: 18px;
        padding: 12px 24px;
    }

    .startjourney_text1 {
        font-size: 28px;
        margin-top: 80px;
    }
    
    .startjourney_text2 {
        font-size: 18px;
    }
    
    .startjourney_container {
        margin-left: 20px;
        justify-content: center;
    }
    
    .hero-banner {
        height: 300px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .package-list_text {
        font-size: 30px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .package-list_container {
        gap: 80px;
    }

    .paris-img {
        width: 440px;
    }

    .zurich-img {
        width: 440px;
    }

    .rome-img {
        width: 440px;
    }

    .tokyo1-img {
        width: 440px;
    }

    .seoul-img {
        width: 440px;
    }

    .amsterdam-img {
        width: 440px;
    }

    .newyork-img {
        width: 440px;
    }

    .taipei-img {
        width: 440px;
    }
}

