/* Internal styles extracted from trader/all-categories.blade.php */

/* CSS Block 1 */
@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', sans-serif;
        }

        .Categories-banner {
            background-image: url(../../images/Categories-banner.webp);
            width: 100%;
            height: 400px;
            background-size: cover;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .Categories-banner h3 {
            font-size: 45px;
            color: white;
            font-weight: 400;
            text-align: center;
        }

        .categories-content {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-radius: 5px;
            overflow: hidden;
        }

        .categories-content img {
            width: 100%;
            height: 300px;
            object-fit: cover;
        }

        .categories-content p {
            font-size: 16px;
            font-family: 'Montserrat';
            padding: 15px 10px;
            font-weight: 500;
            text-align: center;
            background: white;
            margin: 0;
        }

        .categories-content:hover {
            transform: scale(1.009);
            /* Slightly scale up the box */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            /* Add shadow effect */
            cursor: pointer;
            /* Change cursor to pointer */
        }

        .categories-content {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            /* Add shadow effect */
            cursor: pointer;
            /* Change cursor to pointer */
        }

        .categories-content:hover p {
            text-decoration: underline;
            /* Add underline to text */
        }

        @media (max-width: 768px) {
            .categories-content {
                width: 100%;
            }

            .Categories-banner {
                height: 200px;
            }

            .Categories-banner h3 {
                font-size: 35px;
            }
        }

        .categories-content a {
            color: black;
            text-decoration: none;
        }

