html {
    scroll-behavior: smooth;
    scroll-padding-top:5.5rem;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    color:#191919;
    box-sizing: border-box;
    margin:0;
}

body {
    transition: background-color 0.5s, color 0.5s;
}

ul, li {
    list-style:none;
    margin:0;
}

ul {
    padding:0;
}

a {
    color:#000;
    text-decoration: none;
    display:inline-block;
}

.home a {
    color:#fff;
}


img {
    max-width:100%;
    vertical-align: top;
}

figure {
    margin:0;
}


/* Typography */

body {
    font-size:1.1rem;
    line-height:2.1rem;
}

.text-center {
    text-align:center;
}

.text-big {
    font-size:1.4rem;
    line-height:2.2rem;
}


h1 {
    font-family: "Red Hat Text", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size:9rem;
    margin-bottom:2rem;
    line-height:normal;
}


#logo a {
    font-family: "Red Hat Text", sans-serif;
    font-size:2rem;
font-weight:900;
}

#banner p {
    font-size:2rem;
    line-height:2.4rem;
    margin-top:0;
}

h2 {
    font-family: "Red Hat Text", sans-serif;
    font-size:3.8rem;
    font-weight: 900;
    line-height:4.2rem;
    margin-bottom:0;
}

h3 {
    font-weight:700;
}

h4, h5 {
    font-size: 1.1rem;
    text-transform:uppercase;
    margin-bottom:0;
}

h5 span {
    line-height:normal;
    font-weight:normal;
    display:block;
}

cite {
    position:relative;
    margin-top:10px;
}

cite:before {
    content:"";
    height:1px;
    background:#e0b16b;
    width:80px;
    display:inline-block;
    position: relative;
    top: -4px;
    left: 0;
    margin-right:10px;
}

.row {
    max-width:1640px;
    margin:0 auto;
}

/* Grid System */

.one-column{
    display:grid;
    grid-template-columns:1fr;
}

.two-columns{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap: 2.5rem;
}

.two-uneven-columns{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap: 2.5rem;
}

.three-columns{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap: 2.5rem;
}

.three-uneven-columns{
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr;
    gap: 2.5rem;
}

.four-columns{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap: 1.5rem;
}

.twelve-columns {
    display:grid;
    grid-template-columns: repeat(12,1fr);
    gap: 2.5rem;
}

.twelve-columns header {
    grid-column: 2/11;
}

.twelve-columns .content {
    grid-column:3/11;
    grid-row: 2/2;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

main .row {
    padding:25px;
}



/* Headers */

.header-style-one {
    margin-top: 0;
    grid-column: 3 / 9;
}

/* Spacing */

.spacing-200 {
    padding:2rem 0;
}

.spacing-300 {
    padding:3rem 0;
}

.spacing-400 {
    padding:4rem 0;
}

.spacing-500 {
    padding:5rem 0;
}

.spacing-700 {
    padding:7rem 0;
}

.spacing-900 {
    padding:9rem 0;
}

/* Positioning Content */

.v-center-content {
    align-self:center;
}

.h-center-content {
    max-width:520px;
    margin:0 auto;
}

/* Image Grids */

#image-grid-small-big {
    padding:125px 0 0 0;
}

#image-grid-small-big img:first-of-type {
    grid-column:4/7;
}

#image-grid-small-big img:last-of-type {
    grid-column:8/13;
    margin-top:-50px;
}

/* 01 - Header */


.home #main-header {
    color:#fff;
}

#main-header {
    font-size: 1rem;
}

.main-header-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content: center;
    position:absolute;
    top:0;
    width:100%;
    z-index:99;
    padding:1.5rem 2rem;
    box-sizing: border-box;
    text-transform: uppercase;
}

#main-header  nav {
    text-align:center;
}

#main-header ul {
    margin:0;
    padding:0;
}

#main-header  li {
    padding: 0 15px;
    display: inline-block;
}

#main-header li a {
    display: inline-block;
    text-decoration: none;
    position: relative;
}

#main-header nav span:before, span:after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    top: 50%;
    margin-top: -0.5px;
    background: #000;
  }

  .home #main-header nav span:before, .home #main-header nav span:after {
    background: #fff;
  }
  
  #main-header nav span:before {
    left: -2.5px;
  }
  #main-header nav span:after {
    right: 2.5px;
    transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  
  #main-header nav span:hover:before {
    width: 100%;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  
  #main-header nav  span:hover:after {
    background: transparent;
    width: 100%;
    transition: 0s;
  }

#header-contact {
    text-align:right;
}

/* 02 - Banner */

#banner {
    width: 100vw;
    height: 100vh;
    background-size: cover;
    color: #fff;
    display: grid;
    overflow: hidden;
}

#banner-content {
    position:relative;
    z-index:2;
    padding:5rem;
    max-width:900px;
    position:absolute;
    left:0;
    bottom:0;
}

#banner h1 {
    position: relative;
    text-transform: uppercase;
    margin-bottom:0;
}

.fling-minislide {
    display: block;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: absolute;
    background-color: #000;
    left: 0;
    top: 0;
}

.fling-minislide img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    animation: fling-minislide 32s infinite, zoom-in 32s infinite;
    opacity: 0;
}

@keyframes fling-minislide {
    28% { opacity: 1; }
    32% { opacity: 0; }
}

.fling-minislide img:nth-child(4) { animation-delay: 0s; }
.fling-minislide img:nth-child(3) { animation-delay: 4s; }
.fling-minislide img:nth-child(2) { animation-delay: 8s; }
.fling-minislide img:nth-child(1) { animation-delay: 16s; }
.fling-minislide img:nth-child(5) { animation-delay: 20s; }

@keyframes zoom-in {
    0% { transform: scale(1) translateY(0); transform-origin: 50% 84%; }
    100% { transform: scale(1.5) translateY(15px); transform-origin: center; }
}

.full-width {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    position: relative;
    right: 50%;
    width: 100vw;
}

/*04* Works */

.gallery-item {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    max-height:500px;
    transition:.2s all ease-in;
  }

  .gallery-item:hover {
    background:#000;
    color:#fff;
  }

  .gallery-item h3 {
    font-weight:900;
    font-size:2.8rem;
    margin-bottom:0;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform .5s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.1) translateX(20px);
  }

  .image-container {
    background:#000;
    overflow:hidden;
  }

  .gallery-item .arrow {
    position: absolute;
    bottom:25px;
    right: 25px;
    transform: translateY(-50%);
    font-size: 34px;
    color: #000;
  }

  .gallery-item:hover .arrow {
    color:#fff;
  }

 .single-gallery {
    margin:0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
    width: 100%;
    box-sizing: border-box;
}


.item:nth-child(3n+1) {
    grid-column: span 3;
}

.project-intro {
    max-width:900px;
    margin:0 auto;
}

.masonry {
    column-count: 2;
    column-gap: 15rem;
    width: 100%;
    padding:9rem 5rem;
    box-sizing: border-box;
    
    }
    
    .item {
    break-inside: avoid;
    overflow: hidden;
    overflow: hidden;
    position: relative;
    }
    
    .item img {
    height: auto;
    display: block;
    margin-bottom:5rem;
    cursor:pointer;
    }

    .item:nth-child(1n+1) img {
        margin-bottom:200px;
    }

    #lightbox {
        visibility: hidden; /* Initially hidden */
        opacity: 0; /* Initially transparent */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(250, 250, 250, 1);
        display: grid;
        place-items: center;
        transition:all .3s ease;
    }

 body.gallery-open {
        overflow-y: hidden; /* Hide vertical scrollbar */
        overflow-x: hidden; /* Hide horizontal scrollbar */
    }

    body.gallery-open #lightbox {
        visibility: visible;
        opacity: 1;
        z-index: 1000;
    }

    #lightbox img {
        max-width: 90vw;
        max-height: 90vh;
        object-fit: contain;
    }

    /* Page Footer*/

    #page-footer ul {
        text-align:right;
    }

    #page-footer ul li {
        display:inline-block;
        margin-left:20px;
    }

/* Responsive */

    @media (max-width: 1024px) {

        .one-column,
        .two-columns, .two-uneven-columns, .three-columns, .three-uneven-columns, 
        .four-columns, .twelve-columns {
            display:block;
        }

        .spacing-900 {
            padding-top:6rem;
            padding-bottom:2rem;
        }

        /* Header */

        .main-header-inner {
            grid-template-columns:1fr;
            text-align:center;
            padding: 1.5rem 0.5rem;
        }

        #header-contact {
            display:none;
        }

        /* Typography */

        h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
        }

        h2 {
            font-size: 1.8rem;
            line-height: 2.2rem;
        }

        .text-big {
            font-size: 1.1rem;
            line-height: 2.1rem;
        }

        .info {
            padding:10px 15px;
        }

        .gallery-item h3 {
            font-weight: 900;
            font-size: 1.8rem;
            margin-bottom: 0;
            margin-top: 0;
        }

        .gallery-item {
            margin-bottom:25px;
        }

        .masonry {
            column-count: 1;
            column-gap: 0;
            width: 100%;
            padding: 1rem;
            box-sizing: border-box;
        }

        .item:nth-child(1n+1) img {
            margin-bottom: 25px;
        }

        .home h1 {
            display:none;
        }

        #banner-content {
            padding: 0 2rem 0 2rem;
            max-width: 900px;
        }

    }

    @media (min-width: 1025px) and (max-width: 1280px)  {

        #main-header li {
            padding: 0px 2px;
        }

        .header-style-one {
            margin-top: 0;
            grid-column: 3 / 11;
        }

        h1 {
            font-family: "Red Hat Text", sans-serif;
            font-weight: 900;
            font-style: normal;
            font-size: 5rem;
            margin-bottom: 2rem;
            line-height: normal;
        }

        .masonry {
            column-count: 2;
            column-gap: 4rem;
        }

    }