#logo{
    max-width: 30%;
    height: auto;
    display: block;
}

/* Make all images scale with their container */
img {
    max-width: 10%;
    height: auto;
    display: block;
}

/*h1{
  display: flex;
  color: white;
  max-width: 200px;
}*/

.modal-caption{
  color:white;
}
/* Container that aligns images in a row */
.pics {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    /*align-items: stretch;*/
   /* justify-content: flex-start;*/
    flex-wrap: wrap; /* allow wrapping on small screens */
    width: 100%;
    text-align: center;
}

/* Optional: control each image's base size inside the row */
.pics img {
    box-sizing: border-box;
    /*flex: 0 0 clamp(0px, calc(100% - 100rem), 100%); /* fixed base width, no grow/shrink */
    /*width: clamp(0px, calc(100% - 100rem), 100%);*/
    max-width: 100%;
    height: 200px;
    cursor: pointer;
}

header {
  background-color: rgba(91, 122, 32, 0.5);
  color: white;
  padding: 50px;
  margin-bottom: 100px;
  font-size: 40px;
}

header nav a {
  color: white;
  background: #8caf63;
  margin-right: 12px;
  text-decoration: none;
  padding: 10px;
  border-radius: 100px;
}

header nav a:hover {
  background-color: rgb(159, 160, 83);
  color:white;
  padding: 15px;
  border-radius: 100px;
}

.site-footer {
  background-color: rgba(91, 122, 32, 0.5);
  color: #fff;
  padding: 20px 16px;
  margin-top: 100px;
  text-align: center;
}

.site-footer a {
  color: #eee;
  text-decoration: none;
  margin: 0 10px;
}

.site-footer a:hover {
  text-decoration: underline;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* push footer down */
}

/* Modal styles for enlarged images */
#image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    max-height: 600px;
    display: block;
    margin: 0 auto;
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ccc;
}