html,
body {
    overflow-x: hidden;
}

section img {
    max-width: 100%;
}


section#products {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background: rgba(102, 102, 102, 0.1); */
    /* overflow-x: hidden; */

}


section#products h2 {
    padding-block-start: 40px;
    color: var(--logo-color);
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-inline: auto;
    /* background-color: transparent; */
    /* background: rgba(102, 102, 102, 0.1); */
    position: relative;
    /* z-index: 1; */
}

section#products h2::before {
    content: '';
    top: 0;
    left: -100vw;
    right: -100vw;
    bottom: 0;
    background: rgba(102, 102, 102, 0.1);
    position: absolute;
}

section#products img {
    background: rgba(102, 102, 102, 0.1);
}

section#products p {
    text-align: center;
    font-size: 14px;
    background: #fff;
}

section#products ul {
    background: #fff;
    display: flex;
    padding: 24px 16px;
    align-items: flex-start;
    gap: 10px;
    overflow-x: auto;
    max-width: 100%;
}

section#products ul::-webkit-scrollbar {
    display: none;
}

section#products ul::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

section#products ul li {
    font-family: "Plus Jakarta Sans", sans-serif;
    list-style: none;
    border-radius: 20px;
    padding: 8px 16px;
    align-items: center;
    white-space: nowrap;
    justify-content: center;
    border: 1px solid rgba(102, 102, 102, 0.40);
    background: #fff;
    color: var(--Color-Grey, #666);
}

section#products ul li a {
    text-decoration: none;
    color: #666
}

section#products ul li button {
    color: #666;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.18px;
}


section#products ul li#active-product-link {
    border-radius: 20px;
    border: 1px solid var(--logo-color);
    background: rgba(229, 9, 127, 0.80);
}

section#products ul li#active-product-link a {
    color: #fff;
}

section#products ul li#active-product-link button {
    color: #fff;
}

section#products>section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* padding: 24px; */
    gap: 10px;
}

section#products section>section {
    flex: 0 0 47%;
    /* margin: 12px; */
    position: relative;
    transform: initial;
    overflow: hidden;
    cursor: pointer;
}

section#products section>section:hover>img {
    transition: transform 0.3s ease;
}

section#products section>section:hover>img {
    transform: translateX(30%);
}

section#products section>section:hover>p {
    transform: translate(0%, 20%);
    font-weight: bold;
    width: 60%;
}

section#products section>section>p {
    color: #1A1A1A;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0);
    transition: transform 0.3s ease, font-weight 0.3s ease;
}

section#products section>section>img {
    height: 100%;
}

#product-lists>article {
    flex: 1 0 47%;
    display: flex;
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    /* gap: 80px; */
    /* border-top: 1px solid #808080; */
    border: 1px solid #808080;
    background: #FFF;
}

#product-lists>article>h3 {
    color: var(--logo-color-2);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 33.6px;
}

#product-lists>article>a {
    padding: 12px;
    margin-inline: auto;
    align-items: center;
    width: 92%;
    background: var(--logo-color);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;

}

section#gallery {
    padding-block-start: 40px;
    display: grid;
    grid-template-areas: "text text"
        "img1 img1"
        "img2 img3"
        "custom custom";
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    background: #F6F7FB;
}

section#gallery>h2 {
    grid-area: text;
    color: var(--logo-color);
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    text-transform: uppercase;
}

section#gallery img,
section#gallery video {
    cursor: pointer;
}

section#gallery>#gallery-img-1 {
    grid-area: img2;
}

section#gallery>#gallery-img-2 {
    grid-area: img3;
    height: 100%;
}

section#gallery>#gallery-img-3 {
    grid-area: img1;
    width: 100%;
}

video {
    display: inline-block;
    object-fit: cover;
    aspect-ratio: 16/9;
}

section#gallery>#gallery-img-4 {
    display: none;
}

section#gallery>#gallery-img-5 {
    display: none;
}

section#gallery>article {
    grid-area: custom;
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 80px;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #808080;
    background: #FFF;
}

section#gallery>article>h3 {
    color: var(--logo-color-2);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 33.6px;
}

section#gallery>article>a {
    padding: 16px;
    margin-inline: auto;
    align-items: center;
    width: 92%;
    background: var(--logo-color);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;

}


@media (min-width:768px) {}

@media (min-width:1024px) {
    section#products h2 {
        font-size: 80px;
        font-weight: 700;
        line-height: 120px;
        margin-block-end: -50px;
    }

    section#products h2::before {
        height: 33vw;
    }

    section#products>img {
        width: 80%;
        position: relative;
        background-color: transparent;
    }


    section#products>p {
        text-align: center;
        font-size: 20px;
        font-weight: 400;
        line-height: 28px;
        padding: 40px;
        width: 70%;
    }

    section#products>section {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
        padding-inline-start: 20px;

    }

    section#products>section>section {
        flex: 1 0 23%;
        max-width: 23%;
        margin: 0;
        background-color: rgba(102, 102, 102, 0.1);
    }

    section#products>section>section {
        display: block;
    }

    section#products>section>section p {
        z-index: 6;
        top: 10px;
        left: 10px;
    }

    section#products>section>section>img {
        top: 0;
        right: 0;
        width: 100%;
        background-color: rgba(102, 102, 102, 0.1);
    }

    #product-lists>article {
        border: 1px solid #808080;
        flex: 1 0 23%;
        /* max-width: 23%; */
        height: 22vw;
        gap: 0px;
        justify-content: space-between;
    }

    #product-lists>article>h3 {
        font-size: 28px;
        line-height: 50px;
    }

    #product-lists>article>a {
        margin-inline-end: 0;
        width: 75%;

    }


    section#gallery {
        padding-block: 75px;
        justify-content: center;
        /* display: grid;
        grid-template-areas: "text text text"
            "img1 img2 img3"
            "img4 img5 custom"; */
        /* gap: 8px; */
        /* grid-template-columns: auto auto auto; */
        display: flex;
        flex-wrap: wrap;
        padding-inline: 24px;
    }

    section#gallery>h2 {
        /* grid-area: text; */
        flex: 1 1 100%;
        font-size: 70px;
        font-weight: 700;
        line-height: 120px;
    }

    section#gallery>h2>span {
        display: inline;
    }

    section#gallery>img {
        max-width: 100%;
    }

    section#gallery>#gallery-img-1 {
        /* grid-area: img1; */
        flex: 0 0 25vw;
        /* height: 470px;
        width: 331px; */
        max-width: 23vw;
        height: 33vw;
        aspect-ratio: 16/9;
        object-fit: cover;
    }

    section#gallery>#gallery-img-2 {
        /* grid-area: img2; */
        flex: 0 0 25vw;
        /* height: 470px;
        width: 331px; */
        max-width: 23vw;
        height: 33vw;
        aspect-ratio: 16/9;
        object-fit: cover;

    }

    section#gallery>#gallery-img-3 {
        /* grid-area: img3; */
        flex: 0 0 46vw;
        /* height: 470px;
        width: 682px; */
        max-width: 46vw;
        aspect-ratio: 1;
        object-fit: cover;
        height: 33vw;
    }

    section#gallery>#gallery-img-4 {
        display: block;
        /* grid-area: img4; */
        flex: 0 0 30vw;
        /* height: 448px;
        width: 309px; */
        max-width: 30vw;
        height: 22vw;
    }

    section#gallery>#gallery-img-5 {
        display: block;
        /* grid-area: img5; */
        flex: 0 0 30vw;
        /* height: 447px;
        width: 308px; */
        max-width: 30vw;
        height: 22vw;
    }

    section#gallery>article {
        border: 1px solid #808080;
        flex: 0 0 31.8vw;
        max-width: 31.8vw;
        height: 22vw;
        gap: 0px;
        justify-content: space-between;
    }

    section#gallery>article>h3 {
        font-size: 28px;
        line-height: 50px;
    }

    section#gallery>article>a {
        margin-inline-end: 0;
        width: auto;

    }
}