body{
    background-color: black;
}

/* Lightbox styling */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.hidden {
    display: none;
}


  /* Reset some default styles for consistency */
body, h1, h2, h3, p, img {
    margin: 0;
    padding: 0;

}




/* Background styling */
.background {
    background-color: #f2f2f2;
    background-image: url('http://www.philipgordts.com/wp-content/uploads/2018/03/Grunge-Seamless-Pattern-For-Website-Background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Content container */
.content {
    background-color: rgba(255, 255, 255, 0.9);
    background-image: url('http://www.philipgordts.com/wp-content/uploads/2018/03/Grunge-Seamless-Pattern-For-Website-Background.jpg');
    padding: 2rem;
    border-radius: 12px;
    width: 80%;
    max-width: 1200px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styling for header, main content, and footer */
header, footer {
    text-align: center;
}

/* Styling for solution grid */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Styling for each solution */
.solution {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    padding: 1rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Styling for solution image */
.solution img {
    width: 300px;
    height: 300px;
    margin: auto;
    display: block;
}

/* Styling for solution title */
.solution h2 {
    color: #333333;
    font-size: 1.2rem;
    margin: 1rem 0;
    text-align: center;
}


/* Your existing styles here */

/* Add a media query for smaller screens (mobile devices) */
@media only screen and (max-width: 768px) {
    /* Adjustments for smaller screens */

    /* Center align the header text */
    header {
        text-align: center;
    }

    /* Adjust solution grid for mobile devices */
    .solution-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    /* Lightbox adjustments for mobile */
    #lightbox-img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .lightbox-close {
        top: 5px;
        right: 10px;
        font-size: 24px;
    }
}
