@font-face {
    font-family: 'Neue Montreal';
    src: url('../fonts/pp-neue-montreal/NeueMontreal-Medium.woff2') format('woff2'),
    url('../fonts/pp-neue-montreal/NeueMontreal-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Neue Montreal';
    src: url('../fonts/pp-neue-montreal/NeueMontreal-Regular.woff2') format('woff2'),
    url('../fonts/pp-neue-montreal/NeueMontreal-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Migra';
    src: url('../fonts/migra/Migra-Medium.woff2') format('woff2'),
    url('../fonts/migra/Migra-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Migra';
    src: url('../fonts/migra/Migra-Regular.woff2') format('woff2'),
    url('../fonts/migra/Migra-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Migra';
    src: url('../fonts/migra/Migra-Semibold.woff2') format('woff2'),
    url('../fonts/migra/Migra-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Migra';
    src: url('../fonts/migra/Migra-Light.woff2') format('woff2'),
    url('../fonts/migra/Migra-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
:root {
    --color-black: #0b0700;
    --color-white: #fcfbf3;
}
* {
    box-sizing: border-box;
}
html, body {
    overflow-x: clip;
}
body {
    font-family: 'Neue Montreal';
    font-weight: 400;
}
::selection {
    color: var(--color-black);
    background-color: #0728c4;
}
#content {
    padding: 30px 30px 0;
}
.home__hero .home__hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.home__hero-media.media-image {
    width: 100%;
    height: 0;
    padding-bottom: 70%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#header {
    position: relative;
    z-index: 99;
}
.menu__trigger {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 40px;
    height: 40px;
    background-color: var(--color-black);
    border-radius: 50%;
    cursor: pointer;
    transition: transform .2s ease;
    will-change: transform;
}
.menu__trigger:hover {
    transform: scale(1.2);
}
.menu__trigger:before {
    content: '';
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    will-change: width, height;
    animation: ripples 2s ease infinite;
}
@keyframes ripples {
    0% {
        width: 40px;
        height: 40px;
        opacity: 1;
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
.home__texts .home__texts-content {
    padding: 30px 0;
    font-size: 79px;
    font-weight: 500;
    line-height: 1em;
    letter-spacing: 0.02em;
}
.home__texts .home__texts-content .small-text {
    font-size: 20px;
    display: inline-block;
    padding-right: 120px;
    font-weight: 400;
    text-transform: uppercase;
    position: relative;
    vertical-align: middle;
    transform: translateY(-5px);
}
.home__texts .home__texts-content .small-text:before {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    background-color: var(--color-black);
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
#footer .footer__inner {
    background-color: var(--color-black);
    padding: 100px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-white);
}
#footer .footer-content a {
    text-decoration: none;
    color: var(--color-white);
}
.btn-outline-light {
    display: inline-block;
    z-index: 2;
    position: relative;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    text-decoration: none;
    cursor: pointer;
    outline: none;
    padding: 0 25px;
    height: 25px;
    line-height: 25px;
    border-radius: 100px;
    font-size: 12px;
    transition: all 400ms ease;
}
.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}
.btn-outline-dark {
    display: inline-block;
    z-index: 2;
    position: relative;
    border: 1px solid var(--color-black);
    color: var(--color-black);
    text-decoration: none;
    cursor: pointer;
    outline: none;
    padding: 0 50px;
    height: 25px;
    line-height: 25px;
    border-radius: 100px;
    font-size: 12px;
    transition: all 400ms ease;
}
.btn-outline-dark:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}
#footer .footer-item .menu-link {
    text-decoration: none;
    color: var(--color-white);
}
.menu__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100dvh;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.6);
    transform: translateY(110%);
    transition: transform 600ms ease;
    will-change: transform;
    overflow: hidden;
}
.menu__overlay.active {
    transform: translateY(0);
}
.menu__overlay .menu__close {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border-radius: 50%;
    cursor: pointer;
    transition: transform .2s ease;
    will-change: transform;
    z-index: 99;
}
.menu__overlay .menu__close:hover {
    transform: scale(1.2);
}
.menu__overlay .menu__content {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu__overlay .menu__content .menu-item {
    position: relative;
}
.menu__overlay .menu__content .menu-item:hover {
    z-index: 9;
}
.menu__overlay .menu__content .menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.menu__overlay .menu__content .menu a {
    text-decoration: none;
    color: var(--color-black);
    font-size: 72px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100dvh;
    font-weight: 500;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.5));
}
.menu__overlay .menu__content .menu .bg-h {
    transition: transform 1200ms ease;
    will-change: transform;
    transform: translateX(-40%) rotate(90deg);
}
.menu__overlay .menu__content .menu .bg-h a {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 325 191.2'%3E%3Cpolygon fill='%23ffffff' points='166.2 0 166.2 20.3 159.7 20.3 159.7 20.1 159.1 20.1 159.1 0 0 0 0 191.2 159.7 191.2 159.7 176.7 166.2 176.7 166.2 191.2 325 191.2 325 0 166.2 0'/%3E%3C/svg%3E");
}
.menu__overlay .menu__content .menu .bg-z {
    transition: transform 1800ms ease;
    will-change: transform;
    transform: translateX(40%) rotate(-90deg);
}
.menu__overlay .menu__content .menu .bg-z a {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 325 191.2'%3E%3Cpolygon fill='%23ffffff' points='0 0 0 19.1 0 19.2 24.9 19.2 0 31.3 0 191.2 325 191.2 325 170.1 300.1 170.1 325 158 325 0 0 0'/%3E%3C/svg%3E");
}
.menu__overlay.active .menu__content .menu .bg-z,
.menu__overlay.active .menu__content .menu .bg-h {
    transform: translateX(0) rotate(0deg);
    transform-style: preserve-3d;

}
.home__projects .project-item {
    width: calc(50% - 10px);
    display: inline-block;
    margin-bottom: 20px;
}
.home__projects .project-item-inner {
    width: 100%;
    height: 0;
    padding-bottom: 70%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.home__projects .home__projects-data {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}
.home__projects .home__projects-data .gutter-sizer {
    width: 20px;
}
.home__projects .home__projects-data .grid-sizer {
    width: calc(50% - 10px);
}
.home__projects .home__projects-filters-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.home__projects .filters-item {
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px 0;
    user-select: none;
}
.images__animation .images__animation-content {
    padding: 50px 0 0;
}
.images__animation .images__animation-content .image-bottom {
    display: flex;
    padding: 100px 30px;
    position: relative;
}
.images__animation .images__animation-content .image-bottom img {
    width: 100%;
    height: auto;
}
.images__animation .images__animation-content .image-top {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    bottom: -1px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transition: clip-path 500ms linear;
}
.images__animation .images__animation-content .image-top-inner {
    position: absolute;
    top: 50px;
    left: 30px;
    right: 30px;
    bottom: 50px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}
.images__animation .images__animation-content .image-bottom {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}
.recent__projects .title {
    padding: 30px 0;
    margin: 0;
    border-bottom: 1px solid var(--color-black);
    font-size: 50px;
    font-weight: 500;
    text-align: right;
}
.recent__projects .recent__projects-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.recent__projects .recent__projects-button {
    padding-top: 15px;
}
.recent__projects .recent__projects-items {
    display: flex;
    flex-direction: column;
}
.recent__projects .project-item {
    border-bottom: 1px solid var(--color-black);
    text-decoration: none;
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    position: relative;
}
.recent__projects .project-item .project-cat {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.gallery .grid-sizer,
.gallery .gallery-item {
    width: calc(50% - 10px);
}
.gallery .gallery-item {
    display: flex;
    margin-bottom: 20px;
}
.gallery .gutter-sizer {
    width: 20px;
}
.gallery .gallery-item img {
    width: 100%;
}

.single__hero .single__hero-image img{
    width: 100%;
}
.single__hero .single__hero-texts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 150px 30px 0;
}
.single__hero .single__hero-texts .date,
.single__hero .single__hero-texts .title {
    font-size: clamp(2.25rem, 0.4167rem + 3.8194vw, 5rem);
    font-weight: 500;
}
.hz_video .home__hero-media.media-youtube {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
}
.hz_video .home__hero-media.media-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*Theme Dark*/
.theme-dark {
    background: var(--color-black);
}
.theme-dark .menu__trigger {
    background: var(--color-white);
}
.theme-dark .menu__trigger:before {
    background-color: rgba(255, 255, 255, 0.4);
}
.theme-dark .home__texts .home__texts-content {
    color: var(--color-white);
}
.theme-dark .home__texts .home__texts-content .small-text:before {
    background-color: var(--color-white);
}
.theme-dark .recent__projects .title {
    color: var(--color-white);
    border-bottom-color: var(--color-white);
}
.theme-dark .btn-outline-dark {
    border-color: var(--color-white);
    color: var(--color-white);
}
.theme-dark .btn-outline-dark:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}
.theme-dark .recent__projects .project-title,
.theme-dark .recent__projects .project-cat,
.theme-dark .recent__projects .project-year {
    color: var(--color-white);
}
.theme-dark .recent__projects .project-item {
    border-bottom-color: var(--color-white);
}
.theme-dark #footer .footer__inner {
    background-color: var(--color-white);
    color: var(--color-black);
}
.theme-dark #footer .footer-content a {
    color: var(--color-black);
}
.theme-dark .btn-outline-light {
    border-color: var(--color-black);
    color: var(--color-black);
}
.theme-dark .btn-outline-light:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}
.theme-dark #footer .footer-item .menu-link {
    color: var(--color-black);
}
.theme-dark .single__hero .single__hero-texts .date,
.theme-dark .single__hero .single__hero-texts .author,
.theme-dark .single__hero .single__hero-texts .categories,
.theme-dark .single__hero .single__hero-texts .title {
    color: var(--color-white);
}
#content.dark {
    margin: 0;
    padding: 120px 0 0;
}
.dark-side {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background-color: var(--color-black);
}
.wpb-texts {
    position: sticky;
    top: 122px;
    z-index: 9;
    mix-blend-mode: exclusion;
}
.wpb-texts .content {
    color: var(--color-white);
    padding: 50px 80px 30px;
    font-size: clamp(2rem, 0.6667rem + 2.7778vw, 4rem);
    font-family: 'Neue Montreal';
}
.wpb-texts .content .line {
    white-space: nowrap;
}
.wpb-texts .content em {
    font-family: "Migra";
    font-style: normal;
    font-weight: 300;
}
.wpb-texts .content .sub-text {
    font-size: clamp(1.125rem, 0.5417rem + 1.2153vw, 2rem);
    display: inline-block;
    padding-right: clamp(6.25rem, 2.0833rem + 8.6806vw, 12.5rem);
    position: relative;
    transform: translateY(-15%);
}
.wpb-texts .content .sub-text:before {
    content: "";
    position: absolute;
    top: 50%;
    right: clamp(0.9375rem, 0.7292rem + 0.434vw, 1.25rem);
    transform: translate(0, -50%);
    width: clamp(4.375rem, 0.625rem + 7.8125vw, 10rem);
    height: 0;
    border-top: 2px solid var(--color-white);
}
.wpb-texts .content .sub-text.hide-line:before {
    content: none !important;
}
.wpb-image .image-inner {
    padding: 30px 30px 0;
}
.wpb-image .image {
    display: flex;
}
.wpb-image img {
    width: 100%;
}
#header-dark {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Neue Montreal';
    color: var(--color-white);
    padding: 30px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--color-black);
}
#header-dark a {
    color: var(--color-white);
    text-decoration: none;
    outline: none;
    box-shadow: none;
    user-select: none;
    font-family: 'Neue Montreal';
}
#header-dark .socials {
    display: flex;
    flex-direction: column;
}
#header-dark .socials a {
    text-decoration: none;
    text-transform: uppercase;
}
#header-dark .page-link {
    text-transform: uppercase;
    text-decoration: none;
}
#header-dark .logo {
    font-size: 54px;
}
#header-dark .link a {
    text-decoration: underline;
}
#header-dark .lang .wpml-ls-legacy-list-horizontal a,
#header-dark .lang .wpml-ls-legacy-list-horizontal {
    padding: 0;
    border: none;
}
#header-dark .lang .wpml-ls-legacy-list-horizontal a span {
    vertical-align: baseline;
}
.wpml-ls-legacy-list-horizontal .wpml-ls-item:not(:last-child) {
    padding-right: 10px;
    position: relative;
}
.wpml-ls-legacy-list-horizontal .wpml-ls-item:not(:last-child):before {
    content: '';
    position: absolute;
    top: 2px;
    right: 4px;
    bottom: 2px;
    width: 1px;
    background-color: var(--color-white);
    transform: rotate(12deg);
    transform-origin: center center;
}
#header-dark .lang {
    display: flex;
    align-items: center;
}
#footer-dark {
    padding: 50px 30px 200px;
    display: flex;
    justify-content: space-between;
    font-family: 'Neue Montreal';
    align-items: center;
    color: var(--color-white);
    position: relative;
    background-color: var(--color-black);
    z-index: 99;
    margin-top: auto;
}
#footer-dark:before {
    content: "";
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    border-top: 1px solid var(--color-white);
}
#footer-dark a {
    color: var(--color-white);
    text-decoration: none;
}
#footer-dark .contact a {
    text-decoration: underline;
}
#footer-dark .page-link {
    text-transform: uppercase;
}
#footer-dark .socials {
    display: flex;
    flex-direction: column;
}
#footer-dark .socials a {
    text-transform: uppercase;
}
#footer-dark .link a {
    text-decoration: underline;
}
#footer-dark .links {
    text-align: right;
}
#footer-dark .footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    padding: 50px 30px 200px;
    display: flex;
    justify-content: space-between;
    font-family: 'Neue Montreal';
    align-items: center;
    color: var(--color-black);
    background-color: var(--color-white);
    clip-path: polygon(0 0, 100% 0, 100% 0.01%, 0% 0.01%);
    transition: clip-path 300ms linear;
}
#footer-dark .footer-overlay a {
    color: var(--color-black);
}
#footer-dark .footer-overlay:before {
    content: "";
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    border-top: 1px solid var(--color-black);
}
.hz-images-text .images-text-content {
    padding: 80px 30px 30px;
}
.hz-images-text .bottom-images {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 10vw;
    row-gap: 10vw;
}
.hz-images-text .image img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
}
.hz-images-text .image {
    display: flex;
    align-items: center;
}
.hz-images-text .content {
    color: var(--color-white);
    padding: 100px 80px;
    font-size: clamp(2rem, 0.6667rem + 2.7778vw, 4rem);
    font-family: 'Neue Montreal';
}
.hz-images-text .content .sub-text {
    font-size: clamp(1.125rem, 0.5417rem + 1.2153vw, 2rem);
    display: inline-block;
    padding-right: clamp(6.25rem, 2.0833rem + 8.6806vw, 12.5rem);
    position: relative;
    transform: translateY(-15%);
}
.hz-images-text .content em {
    font-family: "Migra";
    font-style: normal;
    font-weight: 300;
}
.hz-images-text .content .sub-text:before {
    content: "";
    position: absolute;
    top: 50%;
    right: clamp(0.9375rem, 0.7292rem + 0.434vw, 1.25rem);
    transform: translate(0, -50%);
    width: clamp(4.375rem, 0.625rem + 7.8125vw, 10rem);
    height: 0;
    border-top: 2px solid var(--color-white);
}
.wpb-services .services-inner {
    padding: 100px 80px;
}
.wpb-services .service-item {
    display: grid;
    grid-template-columns: 2fr 3fr;
}
.wpb-services .subtitle,
.wpb-services .service-number {
    font-size: clamp(1.125rem, 0.5417rem + 1.2153vw, 2rem);
    color: var(--color-white);
    font-weight: 400;
}
.wpb-services .subtitle {
    margin: 0 0 50px;
}
.wpb-services .service-name {
    color: var(--color-white);
    font-size: clamp(2rem, 0.6667rem + 2.7778vw, 4rem);
    font-family: 'Neue Montreal';
    border-bottom: 1px solid var(--color-white);
    padding: 10px 0;
}
#content.landing .images__animation,
#content.landing .wpb-services,
#content.landing .hz-images-text {
    position: relative;
    z-index: 99;
    background-color: var(--color-black);
}
.hz-works .works-inner {
    padding: 50px 20px;
}
.hz-works .project {
    display: flex;
    padding-bottom: 20px;
}
.hz-works .project img {
    width: 100%;
    transform-origin: center center;
}
.hz-works .grid-sizer,
.hz-works .grid-item {
    width: calc(50% - 10px);
}
.hz-works .gutter-sizer {
    width: 20px;
}
.hz-works .project:nth-child(21n) img {
    transform: translate(1%, 4%) scale(0.82);
}

.hz-works .project:nth-child(21n + 1) img {
    transform: translate(2%, 3%) scale(0.70);
}

.hz-works .project:nth-child(21n + 2) img {
    transform: translate(3%, 3.7%) scale(0.91);
}

.hz-works .project:nth-child(21n + 3) img {
    transform: translate(0, 0) scale(1);
}

.hz-works .project:nth-child(21n + 4) img {
    transform: translate(2.2%, 1.4%) scale(0.8);
}

.hz-works .project:nth-child(21n + 5) img {
    transform: translate(2.8%, 3.6%) scale(0.72);
}

.hz-works .project:nth-child(21n + 6) img {
    transform: translate(3.5%, 4.2%) scale(0.88);
}

.hz-works .project:nth-child(21n + 7) img {
    transform: translate(4.4%, 6.1%) scale(0.70);
}

.hz-works .project:nth-child(21n + 8) img {
    transform: translate(-6%, 0.9%) scale(0.8);
}

.hz-works .project:nth-child(21n + 9) img {
    transform: translate(4.4%, 2.3%) scale(0.83);
}

.hz-works .project:nth-child(21n + 10) img {
    transform: translate(2.1%, 4.8%) scale(0.86);
}

.hz-works .project:nth-child(21n + 11) img {
    transform: translate(1.2%, -2.7%) scale(0.70);
}

.hz-works .project:nth-child(21n + 12) img {
    transform: translate(1.1%, 1.7%) scale(0.96);
}

.hz-works .project:nth-child(21n + 13) img {
    transform: translate(-2.9%, 3.4%) scale(0.79);
}

.hz-works .project:nth-child(21n + 14) img {
    transform: translate(2.7%, 2.9%) scale(0.92);
}

.hz-works .project:nth-child(21n + 15) img {
    transform: translate(5.5%, 4.8%) scale(0.84);
}

.hz-works .project:nth-child(21n + 16) img {
    transform: translate(-5.2%, 3.6%) scale(0.73);
}

.hz-works .project:nth-child(21n + 17) img {
    transform: translate(2.5%, 1.3%) scale(0.94);
}

.hz-works .project:nth-child(21n + 18) img {
    transform: translate(3.8%, 5.1%) scale(0.87);
}

.hz-works .project:nth-child(21n + 19) img {
    transform: translate(-3.9%, -2.6%) scale(0.71);
}

.hz-works .project:nth-child(21n + 20) img {
    transform: translate(0.8%, 1.2%) scale(0.97);
}
#content.dark .single__hero .single__hero-texts {
    color: var(--color-white);
}
#content.dark .single__hero .single__hero-inner {
    padding: 0 20px;
}
.project-gallery .gallery-inner {
    padding: 100px 20px;
}
.project-gallery .gallery-item {
    padding-bottom: 20px;
}
.project-gallery .gallery-item iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}
.project-gallery .gallery-item img {
    width: 100%;
    transform-origin: center center;
}
.project-gallery .grid-sizer,
.project-gallery .gallery-item {
    width: calc(50% - 10px);
}
.project-gallery .gutter-sizer {
    width: 20px;
}
.project-gallery .has-featured .gallery-item:nth-child(21n + 3) {
    padding-top: 35vh;
}
.project-gallery .gallery-item:nth-child(21n) img {
    transform: translate(1%, 4%) scale(0.82);
}
.project-gallery .gallery-item:nth-child(21n + 1) img {
    transform: translate(2%, 3%) scale(0.70);
}
.project-gallery .gallery-item:nth-child(21n + 2) img {
    transform: translate(3%, 3.7%) scale(0.91);
}
.project-gallery .gallery-item:nth-child(21n + 3) img {
    transform: translate(0, 0) scale(1);
}
.project-gallery .gallery-item:nth-child(21n + 4) img {
    transform: translate(5%, 10%) scale(0.8);
}
.project-gallery .gallery-item:nth-child(21n + 5) img {
    transform: translate(2.8%, 3.6%) scale(0.72);
}
.project-gallery .gallery-item:nth-child(21n + 6) img {
    transform: translate(3.5%, 4.2%) scale(0.88);
}
.project-gallery .gallery-item:nth-child(21n + 7) img {
    transform: translate(4.4%, 6.1%) scale(0.70);
}
.project-gallery .gallery-item:nth-child(21n + 8) img {
    transform: translate(0.6%, 0.9%) scale(0.98);
}
.project-gallery .gallery-item:nth-child(21n + 9) img {
    transform: translate(4.4%, 2.3%) scale(0.83);
}
.project-gallery .gallery-item:nth-child(21n + 10) img {
    transform: translate(2.1%, 4.8%) scale(0.86);
}
.project-gallery .gallery-item:nth-child(21n + 11) img {
    transform: translate(1.2%, -2.7%) scale(0.70);
}
.project-gallery .gallery-item:nth-child(21n + 12) img {
    transform: translate(1.1%, 1.7%) scale(0.96);
}
.project-gallery .gallery-item:nth-child(21n + 13) img {
    transform: translate(-2.9%, 3.4%) scale(0.79);
}
.project-gallery .gallery-item:nth-child(21n + 14) img {
    transform: translate(2.7%, 2.9%) scale(0.92);
}
.project-gallery .gallery-item:nth-child(21n + 15) img {
    transform: translate(5.5%, 4.8%) scale(0.84);
}
.project-gallery .gallery-item:nth-child(21n + 16) img {
    transform: translate(-5.2%, 3.6%) scale(0.73);
}
.project-gallery .gallery-item:nth-child(21n + 17) img {
    transform: translate(2.5%, 1.3%) scale(0.94);
}
.project-gallery .gallery-item:nth-child(21n + 18) img {
    transform: translate(3.8%, 5.1%) scale(0.87);
}
.project-gallery .gallery-item:nth-child(21n + 19) img {
    transform: translate(-3.9%, -2.6%) scale(0.71);
}
.project-gallery .gallery-item:nth-child(21n + 20) img {
    transform: translate(0.8%, 1.2%) scale(0.97);
}
.project-gallery .gallery-block .featured {
    color: var(--color-white);
    position: absolute;
    top: 0;
    left: 10%;
    background-image: url("../img/arrow.png");
    background-repeat: no-repeat;
    background-size: 32px;
    background-position: left center;
    padding-left: 40px;
}
.project-gallery .gallery-block .featured .links {
    display: flex;
    flex-direction: column;
}
.project-gallery .gallery-block .featured .links a {
    color: var(--color-white);
}
.project-gallery .gallery-block .featured .text {
    text-transform: uppercase;
    text-decoration: underline;
}
.gallery-rand .gallery-block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 50px 0;
}
.gallery-rand .gallery-block .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.gallery-rand .gallery-block .gallery-item:nth-child(4n + 1),
.gallery-rand .gallery-block .gallery-item:nth-child(4n + 3) {
    grid-column: span 2;
}
.gallery-rand .gallery-block .gallery-item:nth-child(4n + 1) img {
    width: 50%;
}
.gallery-rand .gallery-block .gallery-item:nth-child(4n + 3) img {
    width: 40%;
}
.gallery-rand .gallery-block .gallery-item:nth-child(4n + 3) {
    display: flex;
    justify-content: flex-end;
}
.gallery-rand .gallery-block .gallery-item:nth-child(4n) img {
    transform: scale(0.7) translateX(15%);
}
.gallery-rand .gallery-block .gallery-item:nth-child(4n + 2) img {
    transform: scale(0.85);
}
.page-id-3 .footer-overlay,
.page-id-31 .footer-overlay,
.single-project .footer-overlay {
    display: none !important;
}
.marquee-left {
    overflow: hidden;
}
.marquee-left .track {
    display: flex;
    width: max-content;
    animation-name: scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}
.marquee-left .marquee-content {
    display: flex;
    column-gap: 10vw;
    padding-right: 10vw;
}
.marquee-left .image {
    width: calc(80vw / 3);
}
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.marquee-right {
    overflow: hidden;
}
.marquee-right .track {
    display: flex;
    width: max-content;
    animation-name: scroll-right;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}
.marquee-right .marquee-content {
    display: flex;
    column-gap: 10vw;
    padding-right: 10vw;
}
.marquee-right .image {
    width: calc(80vw / 3);
}
@keyframes scroll-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}
#content.box {
    max-width: 980px;
    margin: 0 auto;
    color: var(--color-white);
    padding: 150px 15px 50px;
}
#content.box a {
    color: var(--color-white);
}
#footer-dark .lang {
    display: none;
}
.projects-nav {
    display: flex;
    justify-content: space-between;
    padding: 30px;
}
.projects-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: clamp(1.125rem, 0.5417rem + 1.2153vw, 2rem);
}
.projects-nav .prev-project {
    padding-left: 30px;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffffff' d='M7 239c-9.4 9.4-9.4 24.6 0 33.9L175 441c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L81.9 280 488 280c13.3 0 24-10.7 24-24s-10.7-24-24-24L81.9 232 209 105c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L7 239z'/%3E%3C/svg%3E");
}
.projects-nav .next-project {
    padding-right: 30px;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffffff' d='M505 273c9.4-9.4 9.4-24.6 0-33.9L337 71c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l127 127-406.1 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l406.1 0-127 127c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0L505 273z'/%3E%3C/svg%3E");
}
@media screen and (max-width: 920px) {
    .single__hero .single__hero-texts {
        padding: 30px 0;
    }
}
@media screen and (max-width: 768px) {
    .hz-images-text .top-images, .hz-images-text .bottom-images {
        grid-template-columns: 1fr 1fr;
        column-gap: 50px;
        row-gap: 50px;
    }
    .hz-images-text .content {
        padding: 50px 0 30px;
    }
    .wpb-texts .content {
        padding: 50px 30px 30px;
    }
    .wpb-services .services-inner {
        padding: 50px 30px;
    }
    .wpb-services .service-item {
        grid-template-columns: 100px 3fr;
        align-items: center;
    }
    #header-dark .logo {
        font-size: 36px;
    }
    #header-dark {
        padding: 20px 30px;
    }
    #footer-dark,
    #footer-dark .footer-overlay {
        flex-direction: column;
        row-gap: 20px;
        align-items: flex-start;
    }
}
@media screen and (max-width: 560px) {
    #header-dark {
        padding: 20px 15px;
        display: grid;
        grid-template-columns: 1fr auto;
        column-gap: 15px;
        grid-template-areas: "logo link";
    }
    #header-dark .logo {
        font-size: 42px;
        grid-column: 1;
        grid-row: 1;
        line-height: 1;
    }
    .wpb-texts .content .sub-text,
    .hz-images-text .content .sub-text {
        font-size: 16px;
        padding-right: 80px;
    }
    .wpb-texts .content .sub-text:before,
    .hz-images-text .content .sub-text:before {
        width: 50px;
    }
    .wpb-texts .content {
        padding: 50px 15px 30px;
        font-size: 28px;
    }
    .wpb-image .image-inner {
        padding: 30px 15px 0;
    }
    .hz-images-text .images-text-content {
        padding: 30px 15px;
    }
    .hz-images-text .top-images, .hz-images-text .bottom-images {
        column-gap: 15px;
        row-gap: 15px;
    }
    .wpb-services .services-inner {
        padding: 30px 15px;
    }
    .wpb-services .subtitle {
        margin: 0 0 30px;
    }
    .wpb-services .subtitle, .wpb-services .service-number {
        font-size: 16px;
    }
    .wpb-services .service-item {
        grid-template-columns: 80px 1fr;
    }
    .wpb-services .service-name {
        font-size: 28px;
    }
    #footer-dark {
        padding: 50px 15px 200px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "link lang" "contact ." "plink ." "socials links";
    }
    #footer-dark:before {
        left: 15px;
        right: 15px;
    }
    #footer-dark .footer-overlay {
        padding: 50px 15px 200px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "link lang" "contact ." "plink ." "socials links";
    }
    #footer-dark .lang {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        grid-area: lang;
    }
    #footer-dark .lang .wpml-ls-legacy-list-horizontal a,
    #footer-dark .lang .wpml-ls-legacy-list-horizontal {
        padding: 0;
        border: none;
    }
    #footer-dark .lang .wpml-ls-legacy-list-horizontal a span {
        vertical-align: baseline;
    }
    #footer-dark .link {
        grid-area: link;
    }
    #footer-dark .contact {
        grid-area: contact;
    }
    #footer-dark .socials {
        grid-area: socials;
    }
    #footer-dark .page-link {
        grid-area: plink;
    }
    #footer-dark .links {
        grid-area: links;
    }
    #footer-dark .footer-overlay:before {
        left: 15px;
        right: 15px;
    }
    .hz-works .works-inner {
        padding: 50px 10px;
    }
    .hz-works .grid-sizer,
    .hz-works .grid-item {
        width: calc(50% - 5px);
    }
    .hz-works .gutter-sizer {
        width: 10px;
    }
    .hz-works .project {
        padding-bottom: 10px;
    }
    .project-gallery .gallery-item:nth-child(21n + 3) {
        padding-top: 100px;
    }
    #content.dark .single__hero .single__hero-inner {
        padding: 0 15px;
    }
    .single__hero .single__hero-texts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "date categories" "date author" "title title";
        column-gap: 15px;
        row-gap: 10px;
    }
    .single__hero .single__hero-texts .date {
        font-size: 32px;
        grid-area: date;
    }
    .single__hero .single__hero-texts .title {
        font-size: 36px;
        grid-area: title;
    }
    .single__hero .single__hero-texts .categories {
        grid-area: categories;
    }
    .single__hero .single__hero-texts .author {
        grid-area: author;
    }
    .project-gallery .gallery-block .featured {
        left: 0;
        width: calc(50% - 20px);
    }
    .project-gallery .gallery-inner {
        padding: 50px 15px;
    }
    .project-gallery .grid-sizer, .project-gallery .gallery-item {
        width: calc(50% - 5px);
    }
    .project-gallery .gutter-sizer {
        width: 10px;
    }
    #header-dark .socials,
    #header-dark .link {
        display: none;
    }
    #header-dark .logo {
        grid-area: logo;
    }
    #header-dark .page-link {
        grid-area: link;
        text-align: right;
        display: inline-block;
        padding-top: 10px;
    }
    #header-dark .lang {
        display: none;
    }
    .project-gallery .has-featured .gallery-item:nth-child(21n + 3) {
        padding-top: 15vh;
    }
    .hz-works .project img {
        transform-origin: left center;
    }
    .hz-works .project:nth-child(n) img {
        transform: none !important;
    }
    .images__animation .images__animation-content .image-bottom {
        padding: 50px 15px;
    }
    .images__animation .images__animation-content .image-top-inner {
        left: 15px;
        right: 15px;
        top: 20px;
        bottom: 20px;
    }
    .projects-nav {
        padding: 15px;
    }
    .projects-nav .next-project {
        padding-right: 25px;
        background-size: 15px;
    }
    .projects-nav .prev-project {
        padding-left: 25px;
        background-size: 15px;
    }
}