.title {
    background-image: linear-gradient(var(--black-50), var(--black-50)), url('../images/header-foods.jpg');
}

.foods {
    border-radius: 0 0 30px 30px;
}

.foods-subtitle {
    justify-items: center;
    margin-bottom: 100px;
}

.foods-subtitle h3 {
    margin-bottom: 20px;
}

.nasi-lemak {
    display: flex;
    gap: 50px;
    align-items: center;
    position: relative;
    justify-content: center;
}

.nasi-lemak-img img {
    transition: transform 0.3s ease;
}

.nasi-lemak-img img:hover {
    transform: scale(1.05);
}

.deco {
    position: absolute;
    right: -100px;
    bottom: -70px;
}

.brown-card {
    background-color: var(--dark-brown);
    position: relative;
    border-radius: 20px;
    padding: 10px 5px;
    width: 31%;
    height: 17.5vw;
    transition: transform 0.3s ease;
}

.brown-card:hover {
    transform: scale(1.05);
}

.pastry img {
    transition: transform 0.3s ease;
}

.pastry img:hover {
    transform: scale(1.05);
}

.white-card-foods {
    background-color: var(--white);
    position: relative;
    border-radius: 20px;
    padding: 3vw 6.1vw;
    text-align: center;
    width: fit-content;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
}

.pastry-price-tag {
    position: absolute;
    background: var(--tertiary);
    bottom: 7vw;
    right: -1vw;
    padding: 2.5% 5.5%;
    border-radius: 15px;
    text-align: center;
    height: fit-content;
}

.price-tag {
    position: absolute;
    background: var(--tertiary);
    bottom: 20px;
    right: 20px;
    padding: 2.5% 5.5%;
    border-radius: 15px;
    text-align: center;
}

p.price {
    color: var(--white);
}

.foods-subtitle {
    text-align: center;
}

.price-tag p.subtitle {
    color: var(--white);
}

.pastry-price-tag p.subtitle {
    color: var(--white);
}

.pastry-items h6 {
    margin-bottom: 10px;
}

.noodles-dishes-items img {
    max-width: 85%;
}

/* rice dishes*/
.rice-dishes-items {
    display: flex;
    justify-content: center;
    justify-content: space-between;
    text-align: center;
    margin-top: 50px;

}

.curryfish {
    position: absolute;
    left: -55px;
    top: 40px;
}

.chickenrice {
    position: absolute;
    right: -5px;
    top: 25px;
}

.friedrice {
    position: absolute;
    right: -5px;
    top: 48x;
}

.nasipattaya {
    position: absolute;
    right: 20px;
    top: -20px
}

.nasigoreng {
    position: absolute;
    right: 30px;
    top: 5px;
}

.duckrice {
    position: absolute;
    right: 5px;
    top: 45px;
}

/*noodles*/
.noodles {
    display: flex;
    gap: 50px;
    align-items: center;
    position: relative;
    justify-content: center;
}

.noodles-img img {
    transition: transform 0.3s ease;
}

.noodles-img img:hover {
    transform: scale(1.05);
}

.noodles-flower {
    position: absolute;
    right: 20px;
    bottom: 30px;
}

.noodles-dishes-items {
    display: flex;
    justify-content: center;
    justify-content: space-between;
    text-align: center;
    margin-top: 50px;
}

.laksa-img {
    position: absolute;
    right: 65px;
    top: -35px;
}

.meegoreng {
    position: absolute;
    right: 40px;
}

.maggigoreng {
    position: absolute;
    right: 10px;
    top: 50px;
}

.currymee {
    position: absolute;
    left: -10px;
    top: -5px;
}

.charkueyteow {
    position: absolute;
    top: 20px;
    right: 20px;
}

.fishbeehoon {
    position: absolute;
    top: 40px;
    right: 20px;
}

/*pastry*/
.pastry-items {
    display: flex;
    align-items: flex-end;
    gap: 3vw;
    justify-content: space-between;
}

.pastry {
    border-radius: 30px 0 0;
}

.chicken-pie {
    position: relative;
    justify-items: center;
}

.chicken-pie .pastry-price-tag {
    padding: 2.5% 5%;
}

.croissant {
    position: relative;
    justify-items: center;
}

.curry-puff {
    position: relative;
    justify-items: center;
}

.curry-puff .pastry-price-tag {
    right: -2vw;
}

.croissant .pastry-price-tag {
    right: -1vw;
}


/*tablet hide*/
.tablet {
    display: none;
}

@media screen and (max-width: 1024px) {
    .nasi-lemak {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .noodles {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .nasi-lemak-img img {
        max-width: 80%;
    }

    .noodles-img img {
        max-width: 80%;
    }

    .tablet {
        display: block;
    }

    .desktop p.small {
        display: none;
    }

    .desktop h4 {
        display: none;
    }

    .deco {
        right: -30px;
        bottom: -50px;
    }

    .brown-card {
        height: 20vw;
    }

    .noodles-flower {
        right: 10px;
        bottom: 10px;
    }

    .price-tag {
        bottom: 10px;
        right: 10px;
    }

    .pastry-price-tag {
        bottom: 7vw;
        right: 0.1vw;
    }

    .laksa-img {
        right: 50px;
        top: -20px;
    }

    .curry-puff .pastry-price-tag {
        right: 0;
    }

    .rice-dishes,
    .noodles-dishes,
    .pastry {
        text-align: center;
    }

    .currymee {
        top: 0;
    }
}

@media screen and (max-width: 768px) {
    .rice-dishes-items {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 30px;
    }

    .nasipattaya {
        top: 0;
    }

    .friedrice {
        top: 20px;
        right: -20px;
    }

    .chickenrice {
        right: -20px;
        top: 10px;
    }

    .duckrice {
        top: 30px;
    }

    .curryfish {
        left: -50px;
        top: 30px;
    }

    .currymee {
        top: 5px;
    }

    .maggigoreng {
        top: 40px;
    }

    .meegoreng {
        right: 20px;
        top: 40px;
    }

    .brown-card {
        height: 39vw;
        width: 59%;
    }

    p.price {
        line-height: 25px;
    }

    .noodles-dishes-items {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 30px;
    }

    .pastry-items {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 50px;
        margin-bottom: 50px;
    }

    .chicken-pie {
        justify-items: center;
        text-align: center;
        align-items: center;
    }

    .croissant {
        justify-items: center;
        text-align: center;
        align-items: center;
    }

    .curry-puff {
        justify-items: center;
        text-align: center;
        align-items: center;
    }

    .white-card-foods {
        padding: 3vw 18vw;
    }

    .pastry-items img {
        max-width: 70%;
    }

    .pastry-price-tag {
        right: -1vw;
    }

    .curry-puff .pastry-price-tag {
        right: -1vw;
    }

    .croissant .pastry-price-tag {
        right: -1vw;
    }
}