/* style.css */


html, body {
    height: 100%; /* Ensure full height */
    display: flex;
    flex-direction: column;
}

body {
    margin: 0; 
}

html {
  line-height: 1.15; 
  -webkit-text-size-adjust: 100%; 
}


body {
  margin: 0;
  font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
}


main {
  display: block;
  flex: 1;
}


h1, h2, h3 {
    font-weight: normal;
}

h1 {
    font-size: 40px;
    text-align: center;
    background: #e8d098;
    padding: 30px 0;
    margin: 0;
    margin-bottom:20px;
    font-family: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
}

h1 a {
    color:#666;
}

h2 {
    margin:0 10px;
    font-size: 20px;
    background: #f2f2f2;
    padding:10px;
    font-weight: bold;
    color:#666;
}


.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Or space-between, center, etc. */
}

.gallery-item {
    /* Calculate width based on desired items per row */
    flex: 0 0 calc(100% / 3); /* 3 items per row */
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 1080px) {
    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        flex: 0 0 100%; /* Each item takes full width */
    }
}


.gallery-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gallery-item-title { /* Style for the title container */
    background-color: #fff;
    padding: 10px;
    width: 100%; /* Make title span the container width */
    box-sizing: border-box; /* Include padding in width calculation */
}

.gallery-item-title h3 {
    margin: 0; /* Remove default margins from heading */
    text-align: center;
}

img {
  border-style: none;
}

a {
  background-color: transparent;
  text-decoration: none;
  color:#328EEA;
}

.desc {
    text-align: center;
    font-style: italic;
    font-size:18px;
    color:#666;
    padding:0 10px;
}

footer {
    background: #e8d098;
    color:#666;
    font-size:16px;
    padding: 30px 10px;
    text-align: center;
    margin-top:50px;
}

footer p {
    margin:0;
}