:root {
    --font-main: 'Helvetica Neue', sans-serif;
    /*--text-bg: #a59de9;*/
    --text-bg: #b1b1b1;
}

body {
    font-family: var(--font-main), sans-serif;
    background-color: #fff;
    width: 100%;
}

body.navbar-opened {
    height: 100vh;
    overflow: hidden;
}

/*GENERAL*/

h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.25;
}

.section-padding {
    padding: 80px 32px;
}

.section-padding-xl {
    padding: 200px 32px 80px 32px;
}

/*PRELOADER*/
.loading {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 999999999
}

.loading svg {
    max-width: 300px;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute
}

.loading svg path, .loading svg polygon {
    fill-opacity: 0;
    stroke: #000;
    stroke-width: 1px;
    -webkit-animation-name: cizim;
    animation-name: cizim;
    -webkit-animation-duration: 35s;
    animation-duration: 35s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    stroke-dasharray: 3319;
    stroke-dashoffset: 3319
}

@-webkit-keyframes cizim {
    7% {
        fill-opacity: 0;
        stroke-width: 1px
    }
    10% {
        fill-opacity: 1;
        stroke-width: 0
    }
    to {
        stroke-width: 0;
        fill-opacity: 1;
        stroke-dashoffset: 0
    }
}

@keyframes cizim {
    7% {
        fill-opacity: 0;
        stroke-width: 1px
    }
    10% {
        fill-opacity: 1;
        stroke-width: 0
    }
    to {
        stroke-width: 0;
        fill-opacity: 1;
        stroke-dashoffset: 0
    }
}

/*HEADER*/

header .logo {
    mix-blend-mode: difference;
    z-index: 998;
    display: block;
    position: fixed;
    top: 32px;
    left: 32px;
    overflow: visible;
}

header .logo img {
    width: 180px;
}

header .logo img {
    display: inline-block;
}

.navbar-menu-toggler {
    position: fixed;
    right: 32px;
    top: 32px;
    width: 45px;
    height: 45px;
    z-index: 999;
    padding: 14px 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #000;
    border-radius: 50%;
    cursor: pointer;
    color: #d8e0f0;
}

.nav-menu-btn-line {
    perspective-origin: 100%;
    transform-origin: 100%;
    background-color: #d8e0f0;
    width: 100%;
    height: 2px;
    margin-top: 2px;
    margin-bottom: 2px;
    position: relative;
}


.nav-menu-btn-line.short {
    width: 70%;
    transition: .4s ease-in-out;
    margin-left: auto;
}

.navbar-menu-toggler:hover .nav-menu-btn-line.short {
    width: 100%;
}

.navbar-menu ul {
    position: fixed;
    right: -50%;
    top: 0;
    z-index: 995;
    background-color: #fff;
    height: 100vh;
    padding: 3.5rem;
    width: 50%;
    transition: .5s ease-in-out;
    border-left: 1px solid #e2e2e2;
}

.navbar-menu ul.show {
    right: 0;
}

.navbar-menu li {
    font-size: 30px;
    margin-bottom: 20px;
    color: #3a3a3a;
}

.navbar-menu-toggler i {
    line-height: 1;
}

/*FOOTER*/
footer {
    padding: 0 3.5rem;
}

.footer-wrapper {
    margin-top: 80px;
    border-top: 1px dotted #8f8f8f;
    padding: 2.5rem 0;
}

footer .logo img {
    width: 140px;
}

footer .social-icons ul {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

footer .social-icons li a {
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #dedede;
    border-radius: 50%;
    font-size: 18px;
    transition: .4s ease-in-out;
    color: #000;
}

footer .social-icons li a:hover {
    background-color: #000;
    color: #fff;
}

footer p {
    font-weight: 400;
    color: #727272;
}

footer p a {
    color: #000;
}

footer .footer-menu ul {
    display: flex;
    gap: 1rem;
    padding-top: 35px;
    color: #4a4a4a;
}

#backToTop {
    cursor: pointer;
}

/*HERO*/
.hero-swiper {
    left: 0;
    top: 0;
    width: 100%;
    right: 0;
}

.hero .swiper-pagination-bullet {
    height: 10px;
    width: 17px;
    background-color: transparent;
    border: 1px solid #fff;
    opacity: 1;
    border-radius: 0;
}

.hero span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    height: 12px;
    width: 19px;
    background-color: #fff;
}

.hero .swiper-slide {
    height: 100vh;
}

.hero .swiper-slide img, .hero .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*HOMEPAGE*/
section.intro-page h1 {
    color: #000;
    letter-spacing: -1px;
    word-break: keep-all;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 90px;
    font-weight: 900;
    line-height: 110px;
    position: relative;
}

section.intro-page h1 span, .slogan h1 span {
    background-color: #a59de9;
}

section.intro-page h4 {
    color: #000;
    margin-bottom: 24px;
    font-family: HelveticaNeue, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
}

section.intro-page h4 span {
    color: #ff037e;
}

.intro-menu {
    grid-column-gap: 12px;
    grid-row-gap: 12px;
    flex-flow: wrap;
    justify-content: flex-start;
    align-items: center;
    display: flex;
}

.intro-menu a {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    border: 1px solid #8f9091;
    border-radius: 32px;
    flex-flow: row;
    order: 1;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    justify-content: center;
    align-self: auto;
    align-items: center;
    height: 42px;
    padding: 10px 24px;
    font-family: HelveticaNeue, sans-serif;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    position: static;
}

.intro-menu .intro-menu-text {
    color: #8f9091;
    -webkit-text-stroke-color: #000;
    text-transform: none;
    font-family: HelveticaNeue, sans-serif;
    font-style: normal;
    text-decoration: none;
}

.img-with-link {
    position: relative;
}

.img-with-link img {
    width: 100%;
}

.img-with-link a {
    position: absolute;
    bottom: 30px;
    left: 30px;
    padding: 1rem;
    color: #fff;
    z-index: 2;
}

.img-with-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0)
    );
    pointer-events: none;
}


/*PROJECT LIST*/

.filter {
    margin-bottom: 30px;
    display: flex;
    gap: 1rem;
}

.filter button {
    padding: .5rem 1.75rem;
    border-radius: 20px;
    border: 1px solid #2c2c2c;
    margin-bottom: 15px;
    cursor: pointer;
    transition: .4s ease-in-out;
}

.filter button:hover {
    background-color: var(--text-bg);
}

.filter button.active {
    background-color: var(--text-bg);
}

.project-item {
    position: relative;
    padding: .75rem;
    padding-bottom: 0;
}

.project-item .project-cover {
    height: 305px;
    position: relative;
}

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

.project-item .project-location {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 4px 10px;
    background-color: #000;
    color: #fff;
}

.project-item h3 {
    font-size: 22px;
    font-weight: 900;
    padding: .55rem;
    transition: .2s ease-in-out;
}

.project-item:hover h3 {
    background-color: var(--text-bg);
}

/*PROJECT DETAIL*/

.project-banner {
    position: relative;
}

.project-categories h1 {
    margin-bottom: 0;
    color: #fff;
    background-color: #000;
    padding: 10px 15px;
}

.project-categories {
    position: absolute;
    bottom: 25px;
    left: 5%;
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.project-categories h5 {
    background-color: #000;
    color: #fff;
    padding: 5px 15px;
    font-size: 20px;
    font-weight: 600;
}

.gallery-item {
    padding: .5rem;
}

.gallery-item img {
    width: 100%;
}

h1.page-title {
    background-color: var(--text-bg);
    padding: 6px 10px;
    display: inline-block;
}

/*ABOUT*/

section.about p {
    margin-bottom: 1rem;
}

.team-item {
    padding: .5rem;
    margin-bottom: 1.5rem;
}

.team-cover {
    overflow: hidden;
    text-align: center;
    display: grid;
    place-items: center;
}

.team-cover img {
    width: calc(100% + 5px);
    height: calc(100% + 5px);
    object-fit: cover;
    margin: 0 auto;
    object-position: center;
}

h4.team-name {
    background-color: #000;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    padding-left: 5px;
}


h6.team-position {
    font-size: 16px;
    padding-top: 4px;
    font-weight: 500;
}
