.container {
    margin: 50px 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    .content {
        width: 150px;
        height: 200px;
        display: flex;
        border-radius: 15px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #f0f0f0;

        img {
            width: 150px;
            position: relative;
            bottom: 30px;
            z-index: 1;
        }

        .description {
            position: relative;
            bottom: 30px;
            height: 30px;
            color: white;

            .contentTitle {
                font-size: 15px;
                font-weight: 600;
                text-align: center;
                line-height: 1;
            }

            .contentDescription {
                font-size: 9px;
                text-align: center;
            }

        }

        &:hover {
            transform: scale(1.01);
        }

        &:active {
            transform: scale(0.99);
        }
    }

    .content1 {
        background-image: radial-gradient(circle, #e071c5, #570e53);

        &:hover {
            /* transform: scale(1.09); */
            /* transition: all 0.3s ease-in-out; */
            transition: all 0.15s ease-in-out;
            box-shadow: 1px 1px 100px #e071c5;
        }
    }

    .content2 {
        background-image: radial-gradient(circle, #66cea3, #305448);

        &:hover {
            /* transform: scale(1.09); */
            /* transition: all 0.3s ease-in-out; */
            transition: all 0.15s ease-in-out;
            box-shadow: 1px 1px 100px #66cea3;
        }
    }

    .content3 {
        background-image: radial-gradient(circle, #ae71e0, #130e57);

        &:hover {
            /* transform: scale(1.09); */
            /* transition: all 0.3s ease-in-out; */
            transition: all 0.15s ease-in-out;
            box-shadow: 1px 1px 100px #ae71e0;
        }
    }

}


.cardsImage {
    width: 100%;
    height: 100%;
}






.specialOfferHeader,
.categoryHeader,
.flashSalesHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Special Offers */
.specialOffers {
    z-index: 1;

    .specialOfferContent {
        margin-top: 10px;

        .specialOfferCards {
            display: flex;
            position: relative;
            overflow-x: hidden;
            overflow-y: clip;
            column-gap: 20px;
            background: transparent;

            .offerCard {
                width: 100%;
                max-width: 400px;
                /* height: 150px; */
                aspect-ratio: 16 / 9;
                background-color: #aaaaaa;
                border-radius: 10px;
                color: black;
                flex-shrink: 0;
                
                .cardsImage {
                    border-radius: 10px;
                }
            }
        }

        .offerButtons {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 10px;

            .offerRadio {
                margin: 0 5px;
                accent-color: var(--primary-color);
            }
        }
    }
}

/* Special Offers */


/* Category */
.category {
    margin-top: 10px;
    z-index: -1;

    .categoryContent {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 10px;
        align-items: center;
        justify-content: center;

        .categoryButton {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            .categoryImageContainer {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 60px;
                height: 60px;
                background-color: var(--secondary-color-light);
                border-radius: 150px;

                .categoryImage {
                    width: 40px;
                    flex-grow: 0;
                    flex-shrink: 0;
                }

            }

            .categoryTitle {
                font-size: 12px;
                font-weight: 600;
                text-align: center;
                margin-top: 5px;
            }
        }
    }
}

/* Category */


.flashSales {
    margin-top: 10px;

    .flashSalesContent {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        #product-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: space-evenly;
            margin-top: 15px;
        }
    }
}

.notFoundMessage {
    text-align: center;
    color: #6B7280;
}

.errorMessage {
    text-align: center;
    color: #EF4444;
}

.cards {
    width: 100%;
    max-width: 130px;
    display: block;
    border-radius: 0.75rem;
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);

    &:hover {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

    img {
        background-color: gray;
    }
}

.categoryContent {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-evenly;
    margin-top: 15px;
}






/* Header */
.header {
    color: white;
    left: calc((100% - 97%)/2);
    width: 97%;
    border-radius: 0 0 20px 20px;
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;

    .heading {
        /* position: relative;
        top: 20px;
        left: 20px; */
        /* width: 100%; */
        margin-right: auto;
        font-size: 35px;
        font-weight: 600;
    }

    .headerRow1 {
        margin-top: 20px;
        width: calc(100% - 40px);
        display: flex;
        align-items: center;
        column-gap: 20px;
        /* margin-bottom: 20px; */

        .notification {
            border-radius: 5px;
            height: 40px;
            width: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: var(--secondary-color-light);
            flex-shrink: 0;


            div {
                width: 30px;
                height: 30px;

                img {
                    width: 100%;
                    height: 100%;
                    cursor: pointer;
                }
            }
        }
    }

    .headerRow2 {
        margin: 20px 0;
        width: calc(100% - 40px);
        display: flex;
        align-items: center;
        column-gap: 20px;
    }



    #search-bar {
        display: flex;
        align-items: center;
        position: relative;
        width: 100%;
        /* max-width: 500px; */

        input {
            all: unset;
            width: 100%;
            padding: 10px 20px;
            border-radius: 0 5px 5px 0;
            border: none;
            color: black;
            background-color: var(--secondary-color-light);
            font-size: 16px;
            height: 40px;
            box-sizing: border-box;
            cursor: pointer;
        }
    }
}

/* Header */


.searchLogo {
    border-radius: 5px 0 0 5px;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color-light);

    img {
        width: 20px;
        filter: invert(19%) sepia(88%) saturate(7486%) hue-rotate(358deg) brightness(99%) contrast(101%);
    }
}


.hidden {
    display: none;
}

.homeMenu {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    z-index: 1000;
    height: 100%;
    overflow-y: scroll;
}

.filter {
    border-radius: 5px;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color-light);
    flex-shrink: 0;


    img {
        width: 30px;
        height: 30px;
        cursor: pointer;
        filter: invert(19%) sepia(88%) saturate(7486%) hue-rotate(358deg) brightness(99%) contrast(101%);
    }
}



.searchSection {
    position: relative;
    width: 80%;
    margin: 20px auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    img {
        width: 30px;
        height: 30px;
    }
}


.animated-background {
    width: 100%;
    height: 100%;
    /* background-color: black; */
    animation: animate-background 1s linear infinite alternate;
}

@keyframes animate-background {
    0% {
        background-color: rgb(179, 179, 179);
    }
    100% {
        background-color: rgb(88, 88, 88);
    }

}
