* {
    box-sizing: border-box;
    --linkColor: #16a085;
}


body {
    margin: 0;

    font-family:
        Arial,
        sans-serif;

    background: #ffffff;

    color: #111;
}


img {
    display: block;

    width: 100%;

    height: auto;
}


.site-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 30px 5%;

    border-bottom: 1px solid #ddd;
}


.logo {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
/*text-transform: uppercase;*/
    /*font-family: "Sailec", sans-serif;*/
letter-spacing: 1px;
    

    /*white-space: nowrap;*/
    width: 300px;
}
.logo:hover{
    color: inherit;
}

.logo-title {
    font-size: 24px;
    /*font-weight: bold;*/
}


.logo-subtitle {
    font-size: 14px;
    font-weight: 400;

    margin-top: 3px;
}


.main-navigation {
    font-size: 14px;
    display: flex;
    justify-content: flex-end;
    /*display: contents;*/
    gap: 50px;
    /*color: #777; */
    padding-top: 12px;
    flex-grow: 1;
}

.nav-category {
    display: flex;
    flex-direction: column;
   font-weight: bold;
    /*min-width: 100px;*/
    /*max-width: 130px;*/
    /*flex-grow: 1;*/
}
.nav-about{
     max-width: 50px;
    flex-grow: 1;
}


.nav-category-title {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
}


.nav-projects {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
    font-weight:normal;
    /*margin-left: 5px;*/
    /*gap: 5px;*/
}


.nav-project {
    color: #666;
    text-decoration: none;
    padding: 2px;
}
a{
    color: initial;
}

a:hover{
    color: var(--linkColor);
}
.nav-project:hover,
.nav-category-title:hover {
    color: var(--linkColor);
}
.nav-project.active{
    color: var(--linkColor);
}


nav {
    display: flex;

    gap: 25px;
}


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


.hero,
.page-header,
.project-header {
    max-width: 1000px;
    margin: 0;
    padding:
        20px 5% 20px;
}


.hero {
    text-align: center;
}


.hero h1,
.page-header h1,
.project-header h1 {
    font-size: clamp(
        1rem,
        1.5vw,
        1.5rem
    );

    margin-top: 0;
    margin-bottom: 0;
    
    size: 24px;
    font-weight: 100;
    letter-spacing: 2px;
}


.category-grid,
.project-grid {
    max-width: 1400px;

    margin: auto;

    padding:
        0
        5%
        80px;

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(280px, 1fr)
        );

    gap: 25px;
}


.category-card,
.project-card {
    position: relative;

    display: block;

    color: inherit;

    text-decoration: none;

    overflow: hidden;
}


.category-card img,
.project-card img {
    aspect-ratio: 4 / 3;

    object-fit: cover;

    transition:
        transform
        0.4s ease;
}


.category-card:hover img,
.project-card:hover img {
    transform:
        scale(1.0);
}

.project-page {
    opacity: 1;
    transition: opacity 0.25s ease;
}
.project-page.is-loading {
    opacity: 0;
}

.project-page.loaded {
    opacity: 1;
}

.category-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: end;

    padding: 30px;

    color: white;

    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,0.75)
        );
}


.project-info {
    padding:
        20px
        0;
}


.project-info h2 {
    margin-top: 0;
}


.project-description {
    max-width: 700px;
    font-size:14px;
    
    /*
    font-size: clamp(
        0.25vw,
        1rem
    );
    */

    /*line-height: 1.7;*/
}


.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 30px;
}


.tag {
    border:
        1px solid #ccc;

    padding:
        8px
        12px;

    font-size: 0.85rem;
}


.gallery {
    width: 100%;

    margin: 0;

    padding: 0;
}


.gallery-item {
    width: 100%;

    margin: 0 0 60px;

    cursor: pointer;
}


.gallery-item img {
    display: block;

    width: 100%;

    height: auto;

    max-width: none;
}


.gallery-item:hover img {
    transform:
        scale(1.00);
}


.gallery-caption {
    max-width: 400px;
    max-height: 30px;

    /*margin: 25px auto 0;*/

    padding: 25px 5%;
    margin-left: 0;
     /*padding: 25px 5%;*/
    /*margin-left: auto;*/
    /*margin-right: 0;*/
    /*text-align: right;*/
    text-align: left;
    font-size: 10px;
    
    
    
    color: #666;
}


.gallery-caption h2 {
    margin:
        0
        0
        8px;
    
       font-weight: 100;
    /*letter-spacing: 2px;*/
}


.gallery-caption p {

    line-height: 1.5;
}

.gallery-card {
    width: 100%;
    /*padding: 0 5%;*/
    
}
.gallery-item.gallery-full {
    width: 100%;
}
.gallery-item.gallery-card .gallery-caption{
    padding:0;
    
}

.gallery-card img {
    display: block;

    width: 100%;
    height: auto;
}

.gallery-card-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 1.5rem;

    width: 100%;

    margin-bottom: 2rem;
     padding: 0 5%;
}


.gallery-card-grid figure {
    margin: 0;
}


.gallery-card-grid img {
    display: block;

    width: 100%;
    height: auto;
}
@media (max-width: 700px)
{

    .gallery-card-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 1rem;
    }
    
    .main-navigation{
        display: contents;
    }
    .nav-category{
        max-width: 400px;
    }
}
@media (max-width: 450px)
{
    .gallery-card-grid {
        grid-template-columns: 1fr;
    }
}


.lightbox {
    position: fixed;

    inset: 0;

    z-index: 100;

    display: none;

    align-items: center;

    justify-content: center;

    background:
        rgba(0,0,0,0.95);

    padding: 30px;
}


.lightbox.active {
    display: flex;
}


.lightbox-content {
    max-width: calc(100vw-30px);
    max-height: calc(100vh-30px);

    text-align: center;
    font-size: 10px;
    color: #666;
}


.lightbox-content img {
    max-height: 75vh;

    width: auto;

    max-width: 100%;

    margin: auto;
    
}


.lightbox-info {
    margin-top: 20px;
}

.lightbox-info h2{
    font-size: 12px;
    font-weight: 100;
}

.lightbox-close,
.lightbox-navigation {
    position: absolute;

    border: none;

    background: none;

    color: white;

    font-size: 3rem;

    cursor: pointer;
}


.lightbox-close {
    top: 20px;

    right: 30px;
}


.lightbox-navigation {
    top: 50%;

    transform:
        translateY(-50%);
}




.previous {
    left: 30px;
}


.next {
    right: 30px;
}
.slideshow {
    position: relative;

    width: 100%;

    height: 100vh;

    overflow: hidden;

    background: #111;
}


.slideshow-image {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    opacity: 0;

    transform: scale(1);

    transition:
        opacity 1.5s ease;
}


.slideshow-image.active {
    opacity: 1;
}


.slideshow-image.zoom {
    animation:
        slideshowZoom 6s ease-out forwards;
}
.slideshow-navigation {
    position: absolute;

    top: 25px;
    right: 25px;

    z-index: 100;

    display: flex;

    gap: 8px;

    opacity: 1 !important;

    visibility: visible !important;
}
.slideshow-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 1px solid white;

    border-radius: 50%;

    background: transparent;

    opacity: 0.7;

    cursor: pointer;

    transition:
        opacity 0.2s ease,
        background 0.2s ease;
}

.slideshow-dot:hover {
    opacity: 1;
}

.slideshow-dot.active {
    background: white;

    opacity: 1;
}

@keyframes slideshowZoom {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }

}
.about-text {
    max-width: 900px;
    padding-top:20px;
    padding-left:5%;
}
.site-footer{
    font-size: 12px;
    text-align: right;
    color:#ccc;
}
#less{
    color:#999;
}
.contact{
    color:darkgrey;
    width: 100%;
    display: inline-table;
    padding-top: 20px;
    padding-left:5%;
    border-top: 1px solid #ddd;
    font-size: 14px;
font-weight: 400;
}
.contact ul{
    list-style: none;
    padding: 0;
    
   
}
.contact ul>li{
    vertical-align: top;
      display: inline-block;
     padding-right: 20px;
}
.contact a:hover{
    color: var(--linkColor);
}
.contact a{
    color: inherit;
}

@media (max-width: 700px) {

    .site-header {
        flex-direction: column;

        gap: 20px;
    }


    nav {
        gap: 15px;

        font-size: 0.9rem;
    }


    .gallery {
        grid-template-columns:
            1fr;
        /*display: flex;*/
    }
    .gallery.is-loading {
        display: none;
    }

    .lightbox-navigation {
        font-size: 2rem;
    }

}