/* Header with darker purple background */
header {
    background-color:hsl(194, 47%, 30%); /* Darker purple color */
    padding: 1em 0;
    text-align: center;
    position: relative;
    min-height: 75px; /* Keeps the header size small */
    display: flex;
    justify-content: center; /* Centers the content horizontally */
    align-items: center; /* Vertically aligns the content */
}

/* Styling the h1 with a logo on the right */
h1 {
    font-size: 2em; /* Ensures the title text is large */
    color: black; /* Set the text color to black */
    margin: 0;
    padding-left: 1em;
    display: flex; /* Switch to flex to align items horizontally */
    align-items: center; /* Vertically align the text and logo */
    text-decoration: none; /* Removes underline */
    position: relative; /* Ensures proper layering */
    z-index: 1;
}

/* Styling the logo (placed to the right of the title) */
h1::after {
    content: "";
    background-image: url('images/jakelogo.png');
    background-repeat: no-repeat;
    background-size: contain; /* Ensures the image is resized to fit */
    width: 75px; /* Half the original size */
    height: 75px; /* Half the original size */
    margin-left: 15px; /* Adds space between the title and logo */
    display: block; /* Makes sure the pseudo-element is treated as a block */
}

/* Navigation links */
nav {
    text-align: center;
    background-color: white;
    padding: 0.5em;
}

nav a {
    display: inline-block;
    margin: 0 10px;
    color: black;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: lightgray;
}

img {
    display: block;
    margin: 20px auto;
    max-width: 600px;
    width: 100%;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Auto-adjust column size */
    gap: 20px;
}

.photo-grid img {
    width: 100%;
    height: auto;
    max-height: 400px; /* Adjust for a better fit */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-grid img:hover {
    transform: scale(1.05);
}







