/* Reset default styles */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, rgb(38,38,38), rgb(252, 88, 87)); /* Background color gradient from black to red */
    color: white;
}

/* Grid item styles */
.item {
    background-color: rgba(51, 51, 51, 0.1); /* 20% transparent black */
    padding: 20px;
    border-radius: 10px;
}

.item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Footer styles */
.footer-container {
    background-color: #333; /* Dark-grey background */
    width: 100%;
    padding: 20px 0;
    bottom: 0; /* Align the footer to the bottom */
    left: 0; /* Align the footer to the left */
    z-index: 1000; /* Ensure footer appears on top of other content */
    margin-top: auto;
}

.footer {
    text-align: center;
    color: white;
    width: 80%;
    margin: 0 auto;
}

.footer a {
    color: white;
    text-decoration: none;
    padding: 0 10px;
}

.footer a:not(:last-child) {
    border-right: 1px solid white;
}

/* Contact button styles */
.contact-button {
    padding: 10px 20px;
    background-color: rgba(51, 51, 51, 0.3); /* 20% transparent black */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-button:hover {
    background-color: #777;
}

/* Additional text styles */
.additional-text {
    text-align: center;
    color: white;
    margin-top: 20px; /* Adjust spacing between footer and additional text */
}

/* Category buttons styles */
.category-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.category-button {
    margin: 0 5px;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    background-color: rgba(51, 51, 51, 0); /* 20% transparent black */
    color: white;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}


        /* Hide all slides by default */
        .mySlides {
            display: none;
        }
        /* Show the first slide of each item */
        .item .mySlides:first-child {
            display: block;
        }
        /* Set maximum width for grid items */
        .item {
            width: 500px;
            max-width: calc(100vw - 20px); /* Adjust according to your grid gap */
            margin-bottom: 20px; /* Adjust the margin as needed */
            text-align: center;
        }

        /* Responsive grid with media queries */
        .grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 20px; /* Adjust the gap between items */
            padding: 20px; /* Adjust the padding of the grid container */
        }

        /* Adjust number of columns for smaller screens */
        @media screen and (max-width: 800px) {
            .grid-container {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjust the minimum width of grid items */
            }
        }

        @media screen and (max-width: 500px) {
            .grid-container {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust the minimum width of grid items */
            }
        }

        .category-dropdown {
            position: relative;
        }
        
        .category-label {
            cursor: pointer;
        }
        
        #category-select {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
        }
        
        #category-select.active {
            display: block;
        }

/* Adjust the positioning of the category options */
.category-dropdown {
    display: inline-block;
    position: relative;
}

.category-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(51, 51, 51, 0.8); /* 20% transparent black */
    border-radius: 5px;
    padding: 10px;
    transition: opacity 2s ease; /* Add a transition for opacity */
}

.category-dropdown.active .category-options {
    display: block;
    opacity: 1; /* Set opacity to 1 when active */
}


.category-label {
font-size: 1.17em; /* equivalent to the font size of h3 */
margin-block-start: 1em; /* equivalent to the margin-top of h3 */
margin-block-end: 1em; /* equivalent to the margin-bottom of h3 */
font-weight: bold; /* equivalent to the font weight of h3 */
line-height: 1.2; /* equivalent to the line height of h3 */
}

.description {
    text-align: left;
}

