* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: .7px;
}

:root {
    --primary-color: #fefbf1;
    --secondary-color: #1a1819;
    --tertiary-color: #01cb36;
    --btn-padding: ;
    --btn-font-size: ;
    --btn-min-width: ;
    --btn-max-width: ;
    --paragraph-font-size: clamp(11px, 2vw, 20px)
}

@font-face {
    font-family: poppin;
    src: url('../fonts/Poppins-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: mono;
    src: url('../fonts/MartianMono-ExtraBold.ttf') format('truetype'),

}

@font-face {
    font-family: tung;
    src: url('../fonts/Tungsten-Bold.ttf') format('truetype'),

}

@font-face {
    font-family: space;
    src: url('../fonts/Space_Mono/SpaceMono-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: hel;
    src: url('../fonts/helvectical/HelveticaNowDisplay-Medium.ttf') format('truetype'),

}

@font-face {
    font-family: hel-thin;
    src: url('../fonts/helvectical/HelveticaNowDisplay-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: wide;
    src: url('../fonts/druk-wide-bold/DrukWideBold.ttf') format('truetype'),

}


html {
    width: 100%;
}

html,
body {
    font-size: 24px;
    overflow-x: clip;
    background-color: var(--primary-color);
}

/* .hero {
    background-image: none !important;
    background-color: var(--secondary-color) !important;
    background-color: black !important;
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100vh !important;
}

.hero .img {
    background-image: url('../img/dinner/dinner-hero.svg');
    width: 28rem;
    height: 18rem;
    background-size: cover;
    position: relative;
    bottom: 8vh;
    margin: auto 0;
}

.hero .img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 70%;
}
 */


/* hero */

nav {
    position: absolute !important;
}

.hero {
    padding: 5rem 2.5rem;
    padding-top: 0px;
    padding-bottom: 0rem;
    min-height: fit-content;
    display: flex;
    flex-direction: column;
    background-color: var(--tertiary-color);
    font-family: sans-serif;
    align-items: center;
    color: var(--primary-color);
    height: 100vh;
    justify-content: center;
    /* height: 100vh !important; */
}

.hero h1 {
    font-size: .9rem;
    font-family: hel;
    font-weight: lighter;
}

.hero .middle-content {
    position: relative;
    width: min(100%, 600px) !important;
    height: 450px !important;
    top: 8%;

}

.hero .middle-content .tray {
    width: 100%;
    top: 50%;
    height: 125%;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero .middle-content .barcode-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: 100%;
}

.hero .middle-content .barcode-container .barcode {
    width: 100%;
    margin: 15px 0px;

}

@media (max-width:570px) {
    .hero .middle-content .barcode-container .barcode {
        width: 120vw;
        position: relative;
        right: 16px;
        height: 55px;
    }
}

.hero .middle-content .barcode-container h3 {
    font-family: space;
    text-align: center;
    font-weight: lighter;
    letter-spacing: .8rem;
    font-size: clamp(13px, 3.85vw, 22px);
    letter-spacing: 35px;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

@media (max-width:570px) {
    .section-2 .middle-content .barcode-container h3 {
        left: calc(10px + 2.5vw)
    }
}

.hero .bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: flex-end;
    gap: 1rem;

}

.hero .bottom-content p {
    font-size: .85rem;
    width: 80%;
    text-align: center;
    font-family: hel-thin;
    /* font-weight: 600; */
    line-height: 1rem;
}

.hero .bottom-content button {
    background-color: var(--secondary-color);
    border: none;
    font-family: poppin;
    color: var(--primary-color);
    padding: .5rem 1.4rem;
    font-size: .55rem;
    text-transform: uppercase;

    /* font-weight: lighter; */
    &:hover {
        cursor: pointer;
    }
}


@media (max-width:600px) {
    /* .hero .middle-content .barcode-container .barcode{
        width: clamp(500px, 185vw, 1368px);
    }
    .hero .middle-content .tray{
        width: clamp(210px, 70vw, 500px);
    }
    .hero .middle-content .barcode-container h3{
        font-size: clamp(10px, 3.5vw, 20px);
    } */
}

@media (max-width:500px) {
    .hero.hero {
        max-height: 100dvh !important;
    }
}


/*  */





/* section-1 */

.section-1 {
    min-height: fit-content;
    padding: 5rem 2.5rem;

    display: flex;
    background-color: #f0ede4;
    gap: 1.5rem;
}


.section-1 .sub-section-1 {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 50%;


}

.section-1 .sub-section-1 .text h2 {
    font-family: hel;
    font-size: 21px;
    /* font-weight: normal; */
}

.section-1 .sub-section-1 .mobile-supermarket-img {
    display: none;
    width: 100%;
}

.section-1 .sub-section-1 .text-2 {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.section-1 .sub-section-1 .text-2 h5 {
    color: var(--tertiary-color);
    letter-spacing: .2rem;
    font-family: hel-thin;
}

.section-1 .sub-section-1 .text-2 h1 {
    font-family: tung;
    font-size: clamp(50px, 4.5vw, 60px) !important;
    font-weight: 500;
}

.section-1 .sub-section-1 .text-2 p {
    font-family: hel;
    font-size: clamp(13px, 1.5vw, 17px) !important;
    width: 85%;
    margin-bottom: 1rem;
    letter-spacing: .7px;
    line-height: calc(14px + .6vw);
}

.section-1 .sub-section-1 .text-2 a {
    color: var(--secondary-color);
}

.section-1 .sub-section-1 .text-2 button {
    background-color: transparent;
    font-family: hel-thin;
    outline: 1px solid var(--secondary-color);

    padding: var(--btn-padding);
    font-size: var(--btn-font-size);
    color: var(--secondary-color) !important;

    width: 100%;
    max-width: var(--btn-max-width);
    min-width: var(--btn-min-width);
    white-space: nowrap;
    display: flex;
    justify-content: center;

}



.section-1 .sub-section-1 .img img {
    width: 100%;
    height: 100%;
}





/* sub-section-2 */

.sub-section-2 {
    width: 50%;
    display: grid;
    position: relative;
    place-items: end;
}

.sub-section-2 .layer {
    position: absolute;
    top: 0rem;
    background-color: #ececec;
    /* background-color: red; */
    width: 22rem;
    height: 22rem;
    width: 100%;
    z-index: 3;
    height: 100%;
    opacity: .1;
}

.sub-section-2 img {
    width: 22rem;
    height: 22rem;

}


a {
    text-decoration: none;
}




/* section-2 */



.section-2 {
    background-color: var(--primary-color);
    min-height: fit-content;

    position: relative;
    color: var(--secondary-color);
    width: 100%;
    padding: 4rem 2.5rem;
    /* padding-top: 4rem; */
}

.section-2 .intro {
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: fit-content;
    z-index: 2;

}

.section-2 .intro .line {
    height: .6px;
    background-color: var(--secondary-color);
    width: 100%;
    position: absolute;
    /* transform: translate(0%,-50%); */
    left: 0px;
    top: 50%;
    z-index: -1;
    left: 0px;
}

.section-2 .intro h1 {
    font-size: clamp(10px + .7vw, 2.1vw, 18px);
    font-family: space;
    font-weight: lighter;
    z-index: 3;
    width: fit-content;
    background-color: var(--primary-color);
    height: 100%;
    margin: 0 auto;
    padding: 0rem 2rem;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: var(--secondary-color);
    /* font-weight: 600; */

}

@media (max-width:400px) {
    .section-2 .intro h1 {
        font-size: 2.95vw;
    }
}

.section-2 .products {
    margin-top: 5rem;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    /* padding: 0rem 2rem; */
    column-gap: 4.5vw;
    min-height: 18rem;
    width: 93%;
    margin: 7vw auto;

}

@media (max-width:1000px) {
    .section-2 .products {
        width: 95%;
    }
}

.section-2 .product {
    display: flex;
    flex-direction: column;
    width: 90%;
    min-height: 15rem;
    overflow-wrap: break-word;
    /* word-break: break-word; */
}

.section-2 .product img {
    width: 100%;
    /* height: 15rem; */
    /* border: 1px solid var(--secondary-color); */
}

.section-2 .product .product-text {
    display: flex;
    flex-direction: column;
    padding-top: 1.6rem;
    font-family: hel-thin;
    gap: .15rem;
}

.section-2 .product .product-text .txt {
    display: flex;
    justify-content: space-between;
    align-items: start;
    font-size: .8rem;
    gap: 4rem;
    color: var(--secondary-color);
}

.section-2 .product .product-text .txt h6 {
    font-family: hel;
    font-size: clamp(13.5px, 1.7vw, 14.4px) !important;
    font-weight: lighter;
}

.section-2 .product .product-text .txt p {
    width: 80%;
    text-align: right;
    font-size: clamp(12px, 1.3vw, 14.4px);
    color: var(--secondary-color);
    font-family: hel;

    display: -webkit-box;
    -webkit-line-clamp: 5;
    /* ✅ number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-2 .product .product-text .txt-1 {
    margin-bottom: .9rem;

}

.section-2 .product .product-text .txt-2 {
    margin-bottom: .9rem;

}

.section-2 .product .product-text .txt-1 h5 {
    color: var(--tertiary-color);
    font-size: .9rem;

}

.section-2 .product .product-text .txt-2 p {
    width: 80%;
    font-weight: bold;
    text-align: right;
    font-size: clamp(12.5px, 1.3vw, 14.4px);
    color: var(--primary-color);
    color: var(--secondary-color);

    display: -webkit-box;
  -webkit-line-clamp: 2;   /* ✅ number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}



.section-2 .txt-2~* p {
    width: 60% !important;
}


.section-2 .btns {
    margin-top: 4rem;
    display: flex;
    /* justify-content: center; */
    flex-direction: column;
    align-items: center;
    /* gap: 1rem; */
}

.section-2 .btns p {
    font-family: hel-thin;
    font-size: 1rem;
}

.section-2 .btns a{
    color: var(--secondary-color);
    text-decoration: none;
}


.section-2 .btns button {
    /* padding: 13px clamp(28px, 4vw, 33px) !important; */
    padding: var(--btn-padding);
    font-size: var(--btn-font-size);
    margin-top: 25px !important;

    &:hover {
        cursor: pointer;
    }
}

.section-2 .btns .btn-1 {
    background-color: var(--tertiary-color);
    border: none;
    color: var(--primary-color);
    margin-top: .8rem;
    font-size: var(--btn-font-size);
    width: 100%;
    max-width: var(--btn-max-width);
    min-width: var(--btn-min-width);
    white-space: nowrap;
    display: flex;
    justify-content: center;

    padding: var(--btn-padding);
}

.section-2 .txt-2 p {
    font-size: clamp(6.5px, 2.2vw, 13px);
}

/* footer */
footer .sub-section-3 .row-2 img {
    width: 6rem !important;
    height: 6rem !important;
}

@media (max-width:900px) {
    .section-1 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .section-1 .sub-section-1 .text-2 p {
        width: 95%;
    }
}

@media (max-width:760px) {
    .section-1 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        flex-direction: column;
    }

    .section-1 .sub-section-1 {
        row-gap: 3rem;
        width: 100%;
    }

    .section-1 .sub-section-1 .img {
        display: block;
        justify-self: center;
    }

    .sub-section-2 {
        display: none;
    }

    .section-1 .mobile-supermarket-img {
        display: block;
    }



    /*  */
    .section-1 .sub-section-1 .text h2 {
        font-family: hel;
        margin-bottom: 20px;
    }


    .section-1 .sub-section-1 .text-2 {
        display: flex;
        flex-direction: column;
        gap: 13px;
    }

    .section-1 .sub-section-1 .text-2 h5 {
        color: var(--tertiary-color);
        letter-spacing: .2rem;
        font-family: hel-thin;
        font-size: 18px;
    }

    .section-1 .sub-section-1 .text-2 h1 {
        font-family: tung;
        margin-top: 7px;
        margin-bottom: 23px;
        /* font-size: clamp(41px, 4.5vw, 50px) !important; */
    }

    .section-1 .sub-section-1 .text-2 p {
        font-family: hel;
        font-size: var(--paragraph-font-size) !important;
        /* font-size: 15px !important; */
        width: 95%;
        line-height: calc(15px + .7vw);
        margin-bottom: 23px;
    }


    .section-1 .sub-section-1 .text-2 button {
        background-color: transparent;
        font-family: hel-thin;
        outline: 1px solid var(--secondary-color);
        width: unset !important;
        border: none !important;

        margin-top: 1rem;
        display: flex;
        align-items: center;
        text-decoration: none;

        width: 100%;
        max-width: var(--btn-max-width);
        min-width: var(--btn-min-width);
        white-space: nowrap;
        display: flex;
        justify-content: center;


    }



    /* .section-2 */

    .section-2 {
        padding-left: 0rem;
        padding-right: 0rem;
    }

    .section-2 .products {
        flex-direction: column;
        row-gap: 70px;
        width: 100%;
        margin: 0 auto;
        padding-left: 0rem;
        padding-right: 0rem;
        margin-top: 11vw;
    }

    /*  */
    .section-2 .product .product-text .txt {
        margin-top: 1rem;
    }


    .section-2 .product .product-text .txt p {
        /* font-size: 1.3rem; */
        /* font-size: clamp(13px, 3vw, 15px); */
        width: 70%;
        text-align: right;
        line-height: calc(.7vw + 16px);

    }

    .section-2 .product .product-text .txt-1 {
        margin-bottom: .9rem;

    }

    .section-2 .product .product-text .txt-2 {
        margin-bottom: .9rem;

    }

    .section-2 .product .product-text .txt-1 h5 {
        color: var(--tertiary-color);
        font-size: 1.7rem;

    }

    .section-2 .product .product-text .txt-2 p {
        font-weight: bold;
        /* font-size: clamp(14px, 1.4vw, 14.4px) !important; */
        position: relative;
        top: .5rem;
        text-align: right;
        line-height: 22px;
        letter-spacing: .7px;

    }

    .hero .middle-content {
        height: 70vw !important;
    }

    .section-2 .btns p {
        font-family: hel-thin;
        font-size: 1.2rem;
    }
}


@media (max-width:550px) {
    .hero .middle-content .barcode-container h3 {
        position: relative;
        left: calc(10px + 2.5vw);
    }

    .section-1 .sub-section-1 .text h2 {
        font-size: 4.5vw;

    }

    .section-1 .sub-section-1 .text-2 h1 {
        font-size: 12vw !important;
    }

    .hero .middle-content .barcode-container .barcode {
        width: 100vw;
        position: relative;
        right: 16px;
        height: 55px;
    }

    .section-1 .sub-section-1 .img img {
        width: 100%;
        height: 100%;
    }


}




@media (max-width:480px) {
    .section-1 .sub-section-1 .img {

        padding: 0rem 0rem;
        width: 100%;
    }




    .section-2 .products {
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
        padding-left: 0rem;
        padding-right: 0rem;
        margin-top: 5rem;
    }
}