/* =========================================
   RESET
   ========================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;

    background: #F4F4F4;
    color: #000000;

    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;

    line-height: 1.4;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 50px;

    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #F4F4F4;

    z-index: 1000;
}

.site-name {
    color: #000000;

    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.menu-button {
    margin: 0;
    padding: 0;

    color: #000000;

    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}


/* =========================================
   GALLERY
   ========================================= */

.gallery {
    display: flex;

    gap: 30px;

    padding: 120px 5% 5%;
}


/* =========================================
   MASONRY COLUMNS
   ========================================= */

.gallery-column {
    flex: 1;

    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 30px;
}


/* =========================================
   GALLERY ITEMS
   ========================================= */

.gallery-item {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;
}

.gallery-item img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    border: 0;
}


/* =========================================
   MENU PAGE
   ========================================= */

.menu-page {
    padding: 120px 5% 40px;

    display: flex;
    flex-direction: column;

    gap: 8px;
}

.menu-page a {
    color: #000000;

    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;

    text-decoration: none;
}


/* =========================================
   INFORMATION PAGE
   ========================================= */

.info-page {
    padding: 120px 5% 40px;
}

.info-content {
    max-width: 600px;
}

.info-content h1 {
    margin: 0 0 20px;

    font-size: 14px;
    font-weight: 400;
}

.info-content p {
    margin: 0 0 16px;
}


/* =========================================
   INFORMATION PAGE SECTIONS
   ========================================= */

.contact-info {
    display: flex;
    flex-direction: column;

    gap: 0;
}

.contact-info a {
    color: #000000;

    text-decoration: underline;
}

.bio {
    margin-top: 40px;
}

.clients {
    margin-top: 40px;
}

.section-title {
    margin-bottom: 16px;
}

.copyright {
    margin-top: 40px;
}

.copyright p {
    margin-bottom: 16px;
}


/* =========================================
   LEGAL LINKS
   ========================================= */

.legal-links {
    display: flex;
    flex-direction: column;

    gap: 0;

    margin-top: 40px;
}

.legal-links a {
    color: #000000;

    text-decoration: underline;
}


/* =========================================
   LEGAL PAGES
   ========================================= */

.legal-page {
    padding: 160px 5% 40px;
}

.legal-content {
    max-width: 600px;
}

.legal-content h1 {
    margin: 0 0 40px;

    font-size: 14px;
    font-weight: 400;
}

.legal-content h2 {
    margin: 40px 0 16px;

    font-size: 14px;
    font-weight: 700;
}

.legal-content p {
    margin: 0 0 16px;
}

.legal-content a {
    color: #000000;

    text-decoration: underline;
}


/* =========================================
   LIGHTBOX
   ========================================= */

.lightbox {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    display: none;

    align-items: center;

    padding: 50px 5%;

    background: #F4F4F4;

    z-index: 2000;
}

.lightbox.is-open {
    display: flex;
}


/* =========================================
   LIGHTBOX IMAGE
   ========================================= */

.lightbox-image {
    width: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image img {
    display: block;

    max-width: 100%;
    max-height: calc(100vh - 100px);

    width: auto;
    height: auto;
}


/* =========================================
   LIGHTBOX INFORMATION
   ========================================= */

.lightbox-info {
    width: 40%;

    margin-left: 10%;

    align-self: center;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    padding: 0;
}

.lightbox-info h2 {
    margin: 0 0 20px;

    font-family: Helvetica, Arial, sans-serif;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.4;
}


/* =========================================
   PROJECT INFORMATION
   ========================================= */

.lightbox-project {
    margin: 0 0 1px;
}

.lightbox-project p {
    margin: 0;

    font-family: Helvetica, Arial, sans-serif;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.4;
}


/* =========================================
   DESIGN CREDIT
   ========================================= */

.lightbox-credit {
    margin: 0 0 10px;

    font-family: Helvetica, Arial, sans-serif;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.4;
}


/* =========================================
   COPYRIGHT
   ========================================= */

.lightbox-copyright {
    margin: 0;

    font-family: Helvetica, Arial, sans-serif;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.4;
}


/* =========================================
   LIGHTBOX CLOSE BUTTON
   ========================================= */

.lightbox-close {
    position: absolute;

    top: 18px;
    right: 5%;

    margin: 0;
    padding: 0;

    border: 0;
    background: none;

    color: #000000;

    font-family: Helvetica, Arial, sans-serif;

    font-size: 24px;
    font-weight: 400;

    line-height: 1;

    cursor: pointer;
}


/* =========================================
   PREVENT PAGE SCROLLING
   ========================================= */

body.lightbox-open {
    overflow: hidden;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1199px) {

    .gallery {
        gap: 6px;
    }

    .gallery-column {
        gap: 6px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    /* GALLERY */

    .gallery {
        flex-direction: column;

        gap: 6px;

        padding: 120px 5% 5%;
    }

    .gallery-column {
        width: 100%;

        gap: 6px;
    }


    /* LIGHTBOX */

    .lightbox {
        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        padding: 60px 5% 40px;

        overflow-y: auto;
    }


    /* LIGHTBOX IMAGE */

    .lightbox-image {
        width: 100%;

        justify-content: flex-start;

        margin-bottom: 30px;
    }

    .lightbox-image img {
        max-width: 100%;

        max-height: 60vh;
    }


    /* LIGHTBOX INFORMATION */

    .lightbox-info {
        width: 100%;

        margin-left: 0;

        align-self: auto;

        height: auto !important;

        display: flex;

        flex-direction: column;

        justify-content: flex-start;
    }


    /* CLOSE BUTTON */

    .lightbox-close {
        top: 18px;

        right: 5%;
    }

}