/*---------------------Roots-----------------*/

:root {
    ---pink: #e2a290;
    ---white: #ffffff;
    ---black: #222222;
    ---border: #e5e5e5;
}

/*---------------------Roots-----------------*/

.seller{
    top: 220%;
    position: absolute;
    width: 100%;
}

.gallery-container {
    background: black;
    padding: 50px;
    border-radius: 30px;
    text-align: center;
}
.seller .gallery-container .heading{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.title {
    color: white;
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Darling Coffee', sans-serif;
}
.category-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}
.category-nav a {
    color: var(---white);
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
}
.category-nav a:hover{
    color: var(---pink);
}
.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 30px;
}
.item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.item.large {
    grid-column: span 2;
    grid-row: span 2;
}
.item img {
    width: 100%;
    display: block;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}
.item:hover img {
    transform: scale(1.1);
}
.shop-now {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: black;
    color: white;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}















/* media quries */

@media (max-width:1772px) {
    section {
        padding: 20px 100px;
    }
    .seller{
        top: 260%;
    }
}
@media (max-width:1674px) {
    section {
        padding: 20px 80px;
    }

}
@media (max-width:1590px) {
    section {
        padding: 20px 60px;
    }
    .seller{
        top: 250%;
    }
}

@media (max-width:1486px) {
}

@media (max-width:1390px) {
    section {
        padding: 20px 40px;
    }
    .seller{
        top: 245%;
    }
}

@media (max-width:1280px) {

    html{
        font-size: 80%;
    }

    section {
        padding: 20px 20px;
    }
    .seller{
        top: 240%;
    }
}

@media (max-width:1080px) {
    section {
        padding: 20px 15px;
    }
    .seller .gallery-container .heading{
        display: block;
        justify-content: center;
    }
    .seller{
        top: 220%;
    }
}

@media (max-width:1024px) {
    .seller{
        top: 165%;
    }
}

@media (max-width:915px) {
    .seller{
        top: 115%;
    }
}

@media (max-width:853px) {
    .seller{
        top: 145%;
    }
}

@media (max-width:820px) {
    .seller{
        top: 150%;
    }
}

@media (max-width:780px) {

    section {
        padding: 20px 10px;
    }
    .seller{
        top: 196%;
    }
}

@media (max-width:690px) {
}

@media (max-width:550px) {
    .seller{
        top: 230%;
    }
    .title {
        font-size: 40px;
    }
    .category-nav a {
        font-size: 16px;
    }
    .gallery-container {
        padding: 30px;
        border-radius: 15px;
    }
    .shop-now {
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%);
        background: black;
        color: white;
        padding: 5px 13px;
        font-size: 5px;
        border: none;
        cursor: pointer;
        border-radius: 2px;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }
}

@media (max-width:500px) {
}

@media (max-width:430px) {
    .seller{
        top: 145%;
    }
    .title {
        font-size: 30px;
    }
    .category-nav a {
        font-size: 12px;
    }
    .gallery {
        margin-top: 15px;
        gap: 5px;      
    }
    .item {
        background: white;
        border-radius: 5px;
        overflow: hidden;
        position: relative;
    }
}
@media (max-width:400px) {
    .seller{
        top: 150%;
    }
}
@media (max-width:375px) {
    .seller{
        top: 182%;
    }
    .title {
        font-size: 25px;
    }
    .category-nav a {
        font-size: 10px;
    }
}
@media (max-width:360px) {
    .seller{
        top: 170%;
    }
}
/* media quries */