/* Styles */

header {  
background: #ffffff;
  text-align: center;
  padding: 2rem 1rem 1rem;
  border-bottom: 2px solid #ddd;
}

header h1 {
  font-family: 'Brush Script MT', cursive;
  font-size: 3rem;
  margin: 0;
  text-transform: underline;
  letter-spacing: 2px;
}

nav {
  margin-top: 1rem;
}


nav ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

nav ul li {
  display: inline;
}

nav ul li a {
  text-decoration: none;
  color: #0077b6;
  font-weight: bold;
  padding: 0.5rem;
}

nav ul li a:hover {
  color: #023e8a;
  text-decoration: underline;
}

.wall {
    flex: 1;
    min-width: 0;
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
    gap: 2rem;
    padding: 2rem;
    background: #111;
    color: white;
  }

  .wall.small {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .wall.medium {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .wall.large {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  

  .size-selector {
    text-align: center;
    margin: 1rem 0;
    font-size: 1rem;
  }
  
  .wall.small .framecard {
    transform: scale(0.70);
  }
  
  .wall.large .framecard {
    transform: scale(1.15);
  }
  
  .wall.small .caption {
    font-size: 0.7em;
  }
  
  .wall.large .caption {
    font-size: 1.1em;
  }
  
  .wall .framecard {
    transition: transform 0.3s ease;
  }
  
  
  
  .framecard {
    border: 10px solid #444;
    background: #eeeeee;
    padding: 1rem;
    border-radius: 6px;
  }
  
  .mat {
    background: white;
    border: 1px solid gray;
    padding: 10px;
    border-radius: 4px;
  }
  
  .photo-frame {
    border: 1px solid #000;
  }
  
  .photo-frame img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .caption {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin-top: 0.75rem;
    text-align: center;
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 0.9em;
    color: #444;
  }

  .gallery-layout {
    display: flex;
    align-items: flex-start;
  }
  
  #sidebar {
    position: sticky;
    top: 2rem;
    width: 10%;
    margin-left: auto;
    padding: .25rem;
    background: #f8f8f8;
    border-left: 2px solid #ddd;
    height: fit-content;
  }
  
  .size-selector,
  .tag-filter {
    margin-bottom: 2rem;
  }
  
  .size-selector h3,
  .tag-filter h3 {
    text-align: center;
    margin-top: 0;
  }

  #tag-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem;
  }
  
  #tag-buttons button {
    margin: 0.3rem 0;
    /* width: 100%; */
    /* padding: 0.4rem; */
    font-size: 0.7rem;
    cursor: pointer;
    border: 0px solid #0077b6;
    background: #fff;
    color: #0077b6;
    border-radius: 4px;
  }
  
  #tag-buttons button:hover,
  #tag-buttons button.active {
    background: #0077b6;
    color: #fff;
  }
  
  