body {
    margin: 0;
    font-family: Baskerville;
    background-image: url("labels/25815ext.jpeg");
    color: black;
}

nav {
    background-color: #000000;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

nav a {
    color: white;
    border: 2px solid gray;
    background-color: #f02c34;
    padding: 8px 16px;
    transition: background-color 0.3s;
}

nav a:hover {
    border: 2px solid white;
}

h1 {
    text-align: center;
    font-size: 3em;
    margin-top: 20px;
}

h2 {
    text-align: center;
    font-size: 1.5em;
    margin-top: 20px;
}

h3 {
    text-align: center;
    font-size: 1em;
    margin-top: 20px;
}

p {
    text-align: center;
    line-height: 1.6;
    max-width: 800px;
    margin: 10px auto;
    padding: 0 15px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.photo-grid img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid gray;
}

.photo-grid img:hover {
    border: 2px solid #f02c34;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox.active {
    display: flex;
}

#myBtn {
  display: none;
  font-family: Baskerville;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  background-color: #f02c34;
  color: white;
  cursor: pointer;
  padding: 15px;
  font-size: 18px;
  border: 2px solid gray;
}

#myBtn:hover {
      border: 2px solid black;
}

.logo {
    text-align: center;
    margin: 20px 0;
}

.logo img {
    max-width: 200px;
    height: auto;
}
.grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }

        .grid a {
            color: inherit;
            background-color: white;
            border: 2px solid gray;
            overflow: hidden;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .grid a:hover {
            border: 2px solid #f02c34;
        }

        .grid img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            display: block;
        }

        .grid span {
            display: block;
            padding: 8px;
            font-weight: bold;
            text-align: center;
        }
        
.content-box {
    background-color: rgba(255, 255, 255, 0.9);
    max-width: 1000px;
    margin: 10px auto;
    padding: 10px 10px;
}