a:link {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
}

a:hover {
  text-decoration: underline; 
}

h1 {
    display: block;
    font-size: 3em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

body {
  background-color: black;
  color: white;
  font-family: Verdana;
}

header {
    display: flex;
    justify-content: space-between; 
    align-items: flex-end;       
    padding-block-start: 1em;
    padding-block-end: 1em;
}

.title-group {
  display: flex;
  flex-direction: column;     
  gap: 0;
}

.back-arrow {
  text-decoration: none;
}

.back-arrow:hover {
  text-decoration: underline; 
}
.breadcrumb {  
  color: #888;          
  margin-bottom: 0;            
  line-height: 1;       
}

.page-title {
  margin: 0;             
}

.nav-list {
  list-style: none;       
  margin: 0;
  padding: 0;
}

.nav-list li {
  display: flex;         
  gap: 10px;
}


.filter-buttons {
        margin-bottom: 1.5rem;
      }
      
.filter-btn {
        background: none;
        border: 1px solid currentColor;
        padding: 0.3rem 0.8rem;
        margin-right: 0.5rem;
        cursor: pointer;
        font-family: inherit;
        font-size: inherit;
        color: inherit;
      }
      
.filter-btn.active {
        background: #000;
        color: #fff;
      }
      

.gallery-grid {
        /*display: grid;*/
        /*grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));*/
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
      }
      
.gallery-item {
        position: relative;
        overflow: hidden;
        /*height: 200px;*/
      }
      
.gallery-item a {
        display: block;
      }
      
.gallery-item img {
        max-height: 300px;
        width: auto;
        height: auto;
        display: block;
      }
      

.gallery-item::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        transition: opacity 0.2s;
        pointer-events: none;
      }
      
.gallery-item:hover::after {
        opacity: 1;
      }
      

.gallery-item.hidden {
        display: none;
      }

footer {
  margin-top: 50px;
}
.copyright {
  color: #2f2f2f;
  font-size: 0.8em;
}