/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

/* Header Styles */
header {
    background-color: #333;
    color: white;
    padding: 10px 15px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box; /* Ensure padding is included in the width */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%; /* Prevent overflow */
}

.header-content h1 {
    margin: 0;
    font-size: 24px;
    /*white-space: nowrap; !* Prevent text wrapping *!*/
}

.header-content .order-print {
    color: white;
    text-decoration: none;
    background-color: #555;
    padding: 10px 15px;
    border-radius: 5px;
    white-space: nowrap; /* Prevent text wrapping */
}

.header-content .order-print:hover {
    background-color: #777;
}

/* Category Selector Styles */
.category-selector {
    text-align: center; /* Center the selector */
}

.category-options {
    display: flex;
    justify-content: center;
}

.category-label {
    padding: 10px 15px;
    font-size: 16px;
}

.category-options button {
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #777;
    color: #777;
    background-color: #333;
    cursor: pointer;
    transition: background-color 0.3s;
}

.category-options button:hover {
    background-color: #ddd;
}

.category-options button.active {
    background-color: #fff;
    color: #555;
    border: none;
}

/* Main Content Styles */
main {
    padding-top: 100px; /* Height of the header plus category selector */
}

.gallery {
    padding: 20px;
    text-align: center; /* Center-align images horizontally */
}

.gallery img {
    display: inline-block;
    height: 400px; /* Fixed height for all images */
    width: auto; /* Maintain aspect ratio */
    margin: 5px;
    border-radius: 5px;
}

/* Media query for devices with a max width of 768px (typically mobile devices) */
@media (max-width: 768px) {
    main {
        padding-top: 0; /* Height of the header plus category selector */
    }

    header {
        position: relative;
    }

    .header-content {
        flex-direction: column;
    }

    .header-content h1 {
        margin-bottom: 10px;
    }

    .gallery img {
        height: auto; /* Reduce height on smaller screens */
        width: 100%; /* Maintain aspect ratio */
    }

    .category-options {
        flex-direction: column;
    }

    .category-options button {
        width: 100%;
        text-align: center;
    }
}
