﻿@media (min-width: 1200px) {
    .content-container {
        max-width: 1140px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(10dvh);
}

/* SECTION1 */
.delivery-section1 {
    height: 30rem;
    width: 96%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url(/images/DeliveryOrdering/Section1-background.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin: 0 auto;
    padding: 0 7rem;
    margin-top: 3rem;
    border-radius: 1.3rem;
}

.delivery-section1-part1 {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.delivery-section1-h1 {
    text-align: left;
    font-weight: 600;
    color: #fff;
    font-size: 2.5rem;
    width: 90%;
}

.delivery-section1-p {
    text-align: left;
    color: #fff;
    width: 90%;
}

.delivery-section2-part2 {
    width: 95%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 8rem;
}

.delivery-section1-image {
    width: 22rem;
    z-index: 900;
    transition: all 0.2s ease-in-out;
}

.delivery-section1-part2 {
    z-index: 900;
}

.delivery-section1-image:hover {
    transform: translateY(-4px) scale(1.05);
}

.delivery-section1-decoration {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    width: 50%;
}

/* SECTION2 */
.delivery-section2 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 5rem 0;
}

.delivery-section2-part1 {
    width: 95%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8rem;
}

.section2-item-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.section2-item-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25rem;
}

.section2-item {
    padding: 0.6rem;
    transition: all 0.2s ease-in-out;
    border-radius: 1.3rem;
}

    .section2-item:hover {
        box-shadow: 0px 4px 15px #5555;
        transform: translateY(-4px);
    }

        .section2-item:hover .section2-item-icon {
            transform: rotate(-8deg);
        }

.section2-image {
    width: 100%;
    transition: all 0.2s ease-in-out;
}

    .section2-image:hover {
        transform: translateY(-4px);
    }

.section2-item-information {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    height: 25rem;
}

.section2-item-icon {
    width: 3rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease-in-out;
}

.item-information-p {
    width: 100%;
    color: var(--PrimaryColor6);
    font-size: 1rem;
    margin: 0;
}

.item-information-h2 {
    font-weight: 600;
}

.section2-part2-h2 {
    font-weight: 600;
}

.section2-part2-p {
    font-size: 1rem;
    width: 80%;
    color: var(--PrimaryColor6);
}

.section2-part2-content1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    height: 25rem;
    width: 120%;
}

/* Responsive */
@media (max-width: 950px) {
    .delivery-section1 {
        padding: 0 3rem;
    }

    .delivery-section1-p {
        width: 100%;
        font-size: 1.3rem;
    }

    .delivery-section1-part1 {
        width: 60%;
    }

    .delivery-section1-image {
        width: 15rem;
    }

    .delivery-section1-h1 {
        width: 100%;
    }

    .delivery-section2-part1 {
        flex-direction: column;
        gap: 3rem;
    }

    .section2-special-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .section2-special-item {
        height: 21rem !important;
    }

    .section2-item-container {
        width: 70%;
        flex-direction: column-reverse;
    }

    .item-information-h2 {
        font-size: 2.5rem;
    }

    .item-information-p {
        font-size: 1.3rem;
    }

    .section2-item-information {
        align-items: start;
        justify-content: start;
        height: 20rem;
    }

    .delivery-section2-part2 {
        flex-direction: column;
    }

    .section2-part2-content1 {
        height: 20rem;
        width: 90%;
        align-items: center;
    }

    .section2-part2-h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    .section2-part2-p {
        font-size: 1.3rem;
        text-align: center;
    }

    .section2-item-image {
        height: 25rem;
    }

    .section2-special-image {
        width: 74%;
    }

    .section2-special-icon {
        width: 6rem;
    }
}

@media (max-width: 500px) {
    .delivery-section1 {
        padding: 0;
        flex-direction: column;
        justify-content: center;
    }

    .delivery-section1-h1 {
        font-size: 1.6rem;
        text-align: center;
    }

    .delivery-section1-p {
        font-size: 1rem;
        text-align: center;
    }

    .delivery-section1-image {
        width: 13rem;
    }

    .item-information-h2 {
        font-size: 1.6rem;
    }

    .item-information-p {
        font-size: 1rem;
    }

    .section2-item-container {
        width: 85%;
        gap: 0;
    }

    .delivery-section2-part1 {
        gap: 0;
    }

    .section2-item-information {
        height: 18rem;
    }

    .section2-special-icon {
        width: 5rem;
    }

    .section2-part2-h2 {
        font-size: 1.6rem;
    }

    .section2-part2-p {
        font-size: 1rem;
        width: 95%;
    }

    .delivery-section2-part2 {
        gap: 0;
        margin-top: 4rem;
    }

    .section2-part2-content1 {
        height: 16rem;
    }
}