@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --color-bg: #ffffff;
    --color-text: #666666;
    --color-text-light: #aaa;
    --color-muted: #666666;
    --color-heading: #000000;
    --color-tint: #00000050;
    --max: 1024px;
    --pad: clamp(20px, 3vw, 40px);
    --section: clamp(44px, 8vw, 110px);
    --font-body: Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.text-center {
    text-align: center;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

p {
    /* text-align: justify; */
}

.mt-xxl {
    margin-top: 5rem;
}

a {
    text-decoration: none;
    color: var(--color-heading);
    /* border: 2px solid var(--color-heading); */

}

h1,h2,h3,h4 {
    color: var(--color-heading);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    margin-left: 0;
    /* border-radius: 999px; */
    border-radius: 5px;
    color: #fff;
    font-size: 0.96rem;
    transition: 0.2s ease;
    background-color: var(--color-heading);
    color: var(--color-bg);
    border: 2px solid var(--color-heading);
    /* filter: drop-shadow(1px 1px 5px rgba(0, 0, 0, .4)); */


    &:hover {
        background-color: var(--color-bg);
        color: var(--color-heading);
        border: 2px solid var(--color-heading);

    }
}

h1.title {
    margin: 0;
    margin-bottom: 3rem;
    padding: 0;
    font-size: 3rem;
    line-height: 110%;
    letter-spacing: -0.055em;
    font-weight: 300;
    max-width: none;
    color: var(--color-heading)
}

h2.title {
    margin: 0;
    padding: 0;
    font-size: 2.5rem;
    line-height: 110%;
    letter-spacing: -0.055em;
    font-weight: 300;
    max-width: none;
    margin-bottom: 2rem;
    color: var(--color-heading)
}

.muted .content {
    margin: 0;
    color: var(--color-muted);
    font-size: clamp(1rem, 1.35vw, 1.06rem);
    line-height: 1.8;
    width: 100%;
    max-width: none;
}

.navbar {
    margin-bottom: 3rem;

    .nav-item {
        font-size: 0.88rem;
        color: var(--color-text);
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-weight: 500;
        line-height: 1;
        transition: opacity 0.2s ease;

        margin-left: 2rem;

        &.active {
            color: var(--color-heading);
        }

        &:hover {
            opacity: .5;
        }
    }

    .navbar-brand {
        img {
            height: 5rem;
        }
    }
}

.projects-list,
.photo-highlights {

    .highlight {
        position: relative;
        overflow: hidden;
        /* aspect-ratio: 1 / 1; */
        isolation: isolate;

        .img-100 {
            width: 100%;
            object-fit: contain;

        }

        .img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            filter: saturate(0);

            &:hover {
                filter: saturate(1);
            }
        }

        .caption {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 1rem 2rem;
            z-index: 1;
            color: var(--color-bg);
            pointer-events: none;


            .text,
            .title {
                display: block;
                max-width: 100%;
                padding: 0;
                font-size: 0.9rem;
                line-height: 1.35;
                letter-spacing: 0.08em;
                text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
                background: none;
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
                margin-bottom: 0;
                color: var(--color-bg);
            }

            .text,
            {
            font-size: 0.8Xrem;

        }
    }
    }

    .badge {
            display: inline-block;
            width: auto;
            margin-right: 1rem;
        }

}

.hero {
    background-position: center center;
    background-size: cover;
    background-color: var(--color-tint);
    background-blend-mode: darken;

    padding: 5rem 2svw;
    min-height: 60vh;

    display: flex;
    align-items: stretch;

    .hero-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    h1 {
        color: var(--color-bg);
        font-size: 4rem;
        line-height: 0.92;
        letter-spacing: -0.055em;
        font-weight: 300;
        max-width: none;
        margin-bottom: 0rem;
    }

    .hero-content {
        color: var(--color-bg);
        font-size: 1.3rem;

        p {
            text-align: left;
            line-height: 1.5rem;
        }
    }
}


.imageAndText {
    .content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

}


footer {
    margin: 4rem 0 2rem;
    padding-top: 1rem;
    color: var(--color-muted);
    border-top: 1px solid #efefef;
    font-size: .8rem;

    .footer-bottom {


        .credits {
            text-align: right;
        }
    }

    .social-links {
        text-align: right;
    }

    .social {
        color: var(--color-bg);
        background-color: var(--color-heading);
        border-radius: 9999px;
        margin: 0 .5rem;
        width: 30px;
        height: 30px;
        font-size: .9rem;
        line-height: 30px;
        text-align: center;
        border: 1px solid var(--color-heading);


        &:hover {
            background-color: var(--color-bg);
            color: var(--color-heading);
        }
    }
}





.project-details {
    .wrapper {
    position: relative;
    }
    .categ {
        /* color: var(--color-bg); */
        text-decoration: dotted;
        font-weight: 100;
        margin-top: 1.5rem;
        display: inline-block;
    }

    .hero {
        background-blend-mode: normal;
    }

    .centered {
        width: 700px;
        margin: auto;
    }

    .tech-data {
        width: 200px;
        position: absolute;
        top: 0;
        right: 0;
    }

    .description {
        text-align: left;
    }

    .project-hero {
        color: var(--color-heading);
        margin-bottom: 1rem!important;
    }

    .title {
        margin-bottom: .2rem;
    }
    .hero {
        min-height: 60vh;

        h1 {
            margin-bottom: 0;
            font-size: 3rem;
            font-weight: 300;
        }


        .hero-content p,
        .hero-content {
            display: inline-block;
            font-size: 1rem;
            /* text-transform: uppercase; */
            letter-spacing: 0.08em;
            margin-top: .5rem;
        }
    }

    .features {

        td {
            font-weight: 300;
            font-size: 0.9rem;

        }


        th {
            &.first {
                padding-top: 0;
            }

            /* color: #999 !important; */
            font-size: 0.9rem;
            line-height: 140%;
            display: block;
            font-weight: 400;
            padding-top: 1rem;
                            color: var(--color-heading);

        }
    }

    &.photo-highlights {
        & .highlight {
            & .img {
                filter: saturate(1);
                border: 2px solid transparent;
                object-fit: contain;


                &:hover {
                    border: 2px solid var(--color-text)
                }
            }
        }
    }
}

.contacts {
    .contact {
        text-decoration: none;
        font-size: 1.2rem;
        line-height: 1.35;

        margin-top: 4rem;
        display: inline-block;

        &:hover i {
            color: var(--color-heading);
            background-color: var(--color-bg);
        }

        .icon {
            width: 46px;
            float: left;
            line-height: 46px;
        }

        .link {
            margin-left: 60px;
            padding-top: .5rem;

        }

        i {
            width: 46px;
            height: 46px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--color-text-light);
            border-radius: 999px;

            color: var(--color-bg);
            background-color: var(--color-heading);


        }
    }
}

.text-right {
    text-align: right;
}



.navbar-toggler {
    border: none;
    outline: none;
    font-size: 1.5rem;
    color: var(--color-heading);
    padding-right: 0;
}

#_press_container {
    a {
        font-weight: bold;
        font-size: 1.2rem;
    }

    em {
        display: block;
        color: var(--color-muted);
        font-size: .9rem;
    }
}


.prj-grid {
    text-align: center;
}

.prj-img {
    max-height: 100%;
    max-width: 100%;
    display: block;
    margin: auto;
}



@media only screen and (max-width: 768px) {

    .project-details {
        .tech-data {
        width: auto;
        position: relative;

    }
    }
    footer {
        .footer-bottom {

            .copy,
            .social-links,
            .credits {
                text-align: center;
            }

            .social-links,
            .credits {
                text-align: center;
                margin-top: 1rem;
            }


        }
    }

    .btn-cta {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

}