body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Container to center everything */
.container {
    max-width: 1200px; /* Adjust this value as needed */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Add some padding on the sides */
}

header {
    background-color: #cc3263;
    background-image: url('Images/back/back\ \ \(4\).jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header .wt {
    color: black;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

header .mw {
    font-size: 40px;
    margin-top: -22px;
    color: rgb(245, 243, 243);
    margin-left: 10px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center; /* Center the navigation items */
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    transition: 0.3s;
}

nav ul li a:hover {
    color: black;
}

.image-gallery {
    display: flex;
    justify-content: center; /* Center the gallery */
    flex-wrap: wrap;
    margin-top: 20px;
    margin-left: 10px;
}

.image-gallery img {
    width: 23%; /* Default width for desktop */
    border-radius: 8px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
    object-fit: cover; /* Maintain aspect ratio */
}

.image-gallery img:hover {
    transform: scale(1.05);
}

.content h2 {
    font-size: 40px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center; /* Center the heading */
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    header .mw {
        font-size: 36px; /* Adjust font size for smaller desktops */
    }

    .image-gallery img {
        width: 30%; /* Adjust image width for smaller desktops */
    }
}

@media (max-width: 768px) {
    header .mw {
        font-size: 30px; /* Adjust font size for tablets */
    }

    nav ul li {
        display: block; /* Stack navigation items vertically */
        margin: 10px 0; /* Add spacing between items */
    }

    .image-gallery img {
        margin-left: 25px;
        width: 45%; /* Two images per row on tablets */
    }

    .content h2 {
        font-size: 30px; /* Smaller heading size for tablets */
    }
}

@media (max-width: 480px) {
    header .mw {
        font-size: 24px; /* Adjust font size for mobile */
    }

    nav ul li a {
        font-size: 14px; /* Smaller font size for mobile navigation */
    }

    .image-gallery img {
        margin-left: 20px;
        width: 90%; /* One image per row on mobile */

    }

    .content h2 {
        font-size: 24px; /* Smaller heading size for mobile */
    }
}

@media (max-width: 320px) {
    header .mw {
        font-size: 20px; /* Adjust font size for very small devices */
    }

    nav ul li a {
        font-size: 12px; /* Smaller font size for very small devices */
    }

    .image-gallery img {
        width: 95%;
        margin-left: 8px; /* Slightly larger images for very small devices */
    }

    .content h2 {
        font-size: 20px; /* Smaller heading size for very small devices */
    }
}