@font-face {
    font-family: 'dogica';
    src: url('fonts/dogica.otf');
}

* {
    margin: 0;
    /* padding: 0; */
    box-sizing: border-box;
    color: var(--text-color);
    font-family: 'dogica', sans-serif;
    transition: 0.5s ease-in-out;
}

html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

:root {
    --background-color: #0b0b0b;
    --text-color: #ffffff;
}

.light-mode {
    --background-color: #f1efeb;
    --text-color: #0b0b0b;
}

main {
    position:relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: scroll;
    background-color: var(--background-color);
}

/* navigation */
.topnav {
    background-color: var(--background-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 32px 2vw;
    z-index: 10;
    gap: 8px;
  }

  .header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .description {
    margin: 0;
  }

  .filter {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
  }

 .filter .filter-item {
    color: var( --text-color);
    font-size: 12px;
    display: inline-block;
    border-radius: 20px;
    cursor: pointer;
    padding: 8px 16px;
    line-height: 1.2;
    transition: all 0.3s ease;
    opacity: 0.5;
 }
 .filter .filter-item:hover {
    opacity: 0.8;
 }
 .filter .filter-item.active {
    opacity: 1;
    border: 1px solid var(--text-color);
 }
 
#icon {
    cursor: pointer;
    color:var( --text-color);
}




/* .header {
    position: fixed;
    width: 100%;
    height: 75px;
    display: flex;
    align-items: center;
    padding: 0 2vw;
    z-index: 10;
    mix-blend-mode: difference;
    background: var(--background-color;
} */

.container {
    position: relative;
    width: 100%;
    display: flex;
    gap: 12px;
    padding:8px 2vw;
}

.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.photos {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
    background: red;
}

img {
    width: 100%;
}

.footer {
    color: var( --text-color);
    background-color: var(--background-color);
    bottom: 0;
    width: 100%;
    height:fit-content;
    text-align: center;   
    line-height: 150%; 
    padding: 32px 32px;
}






/* Fonts */

h1 {
    font-size: 36px;
    line-height: 54px;
}

h2 {
    font-size: 24px;
}

p {
    font-family: 'Dogica', sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 28px;
}

/* Lightbox */
.lightbox {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 95vw;
    max-height: 95vh;
    gap: 20px;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-meta {
    text-align: center;
    color: #ffffff;
}

.lightbox-meta .location {
    font-size: 16px;
    margin-bottom: 6px;
    text-transform: capitalize;
}

.lightbox-meta .year {
    font-size: 14px;
    opacity: 0.7;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 32px;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    background: none;
    border: none;
    font-family: 'dogica', sans-serif;
}

.lightbox-close:hover {
    opacity: 1;
}

.photo {
    cursor: pointer;
}

.photo img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.photo:hover img {
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 600px) {
    h1 {
        font-size: 24px;
        line-height: 36px;
    }
    .filter .filter-item {
        font-size: 11px;
        padding: 6px 12px;
    }
}


