/* Universal*/

@font-face {
    font-family: "NeueHaasUnica";
    src: url("/assets/fonts/NeueHaasUnicaPro-Regular.ttf") format("ttf");
}

::-webkit-scrollbar {
    display: none;
}

:root {
    --width: 100vw;
    --gap: 1rem;
    --mobileGap: 2.5rem;
}

.bodyWrapper {
    width: 100%;
    max-width: var(--width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #ffffff;
}

body {
    width: 100vw;
    margin: 0;
    font-family: "NeueHaasUnica", "Arial", sans-serif;
    color: #ffffff;
    font-size: 9pt;
    letter-spacing: -0.04em;
}

span,
a,
p {
    font-size: 1.2rem;
    text-decoration: none;
    color: #000000;
}

.about,
.work,
.collaborators,
.weDo,
.clients,
.freelancerProject,
.freelancerDetails {
    min-height: 300px;
    padding: 0 20px;
}

.footerWrapper {
    padding: 0 20px;
}

/* Header */
.headerWrapper {
    position: fixed;
    width: 100%;
    max-width: var(--width);
    display: flex;
    z-index: 99;
    mix-blend-mode: difference;
}

.homeButton,
.contactButton {
    width: 50%;
    padding: 20px;
}

.homeButton a {
    font-size: 2rem;
    z-index: 9999;
    color: rgb(255, 255, 255);

}

.homeButton a:after {
    font-size: 2rem;

}

.contactButton {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: end;
}

#contactButton {
    padding: 0;
    border: none;
    background: none;
    color: #ffffff;
    mix-blend-mode: difference;
}

#contactButton p {
    color: #ffffff;
}

.contact-overlay-content p {
    color: #ffffff !important;
}

.blurred {
    filter: blur(10px);
}

.contact-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
    cursor: pointer;
    display: none;
    backdrop-filter: blur(10px);
    mix-blend-mode: unset;
}

#contact-overlay {
    backdrop-filter: blur(10px);
}

.contact-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

#closeContactOverlayButton {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 60px;
    color: white;
    border: none;
    background: none;
    cursor: pointer;
}

#closeContactOverlayButton p {
    color: white;
    mix-blend-mode: difference;
}

/* Home page - general */

.sectionTitle {
    display: block;
    width: 100%;
    text-align: center;
    padding: 25px 0;
    font-size: 20pt;
}

/* Home page - Opener */
.contactContent {
    position: absolute !important;
    z-index: 20;
    width: 100vw;
    height: 100vh;
    text-align: center;
    background-color: aqua;
}

.contactText {
    text-align: center;
    color: white;
}

.contactContent p {
    color: white;
}

.opener {
    width: 100%;
    max-width: 100vw;
    height: auto;
    max-height: 100vh;
}

.opener img {
    width: 100%;
    max-width: 100vw;
    height: auto;
    max-height: 100vh;
    object-fit: cover;
}

.openerSlideshow,
.openerSlideshow .splide,
.openerSlideshow .splide__track,
.openerSlideshow .splide li,
.openerSlideshow img {
    height: 100vh !important;
}

/* Home page - About */
.about,
.work {
    padding-top: 100px;
}

.aboutText {
    font-size: 25px;
}



/* Home page - Work */
.work {
    height: fit-content;
    width: var(--width);
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: var(--gap);
    grid-row-gap: var(--gap);
}

.child {
    grid-column: span 3;
    grid-row: span 1;
}



.project-container {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    max-height: 95%;
}

.project-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    /* border-radius: 0.5rem; */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 0;
    transition: opacity 0.3s ease;
    /* border-radius: 0.5rem; */
}

.overlay p {
    text-align: center;
    position: relative;
    top: 45%;
    transform: translateY(-50%);
    color: #ffffff;
    margin: 0;
}

.project-title {
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.project-container:hover .overlay {
    opacity: 0.7;
}

.projectHoverText {
    display: none;
}

.seeAllWork {
    height: 50px;
    text-align: center;
    padding: 100px 0px;
}

.seeAllWork a {
    font-size: 20pt;
}


/* Home page - Colaborators */
.collaborators {
    height: fit-content;
}

.colabWrapper {
    max-width: var(--width);
}

.gridColab {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: var(--gap);
    grid-row-gap: var(--gap);
}

.childColab {
    grid-column: span 2;
    grid-row: span 1;
}


.colabImg {
    height: 100%;
    width: 100%;
    max-height: 500px;
    max-width: 400px;
    object-fit: cover;
}

.colabHover {
    opacity: 0;
    width: 25%;
    max-width: 400px;
    background-color: rgba(25, 25, 25, 0);
    position: absolute;
    text-align: center;
    justify-content: center;
}

.colabHover:hover {
    opacity: 1;
    background-color: rgba(25, 25, 25, 0.5);
}

.colabHoverText {
    height: 100%;
}

.colabNameWrapper {
    height: 90px;
    padding-top: 10px;
}

.seeAllColaborators {
    text-align: right;
}


/* Home page - We Do */

.weDo {
    width: 100%;
    padding-bottom: 100px;
    padding-top: 150px;
}

.weDoWrapper,
.subRow {
    display: flex;
    flex-wrap: wrap;
}

.weDoSubCol {
    width: 30%;
    padding-right: 3%;
}

.weDoColOne {
    width: 90%;
}

.years {
    text-align: end;
}

/* Home page - Clients */
.clientText {
    font-size: 25pt;
}

/* Footer */
.footerWrapper {
    display: flex;
    padding-top: 100px;
    padding-bottom: 30px;
    width: 100%;
}

.footerCol {
    width: 25%;
    display: flex;
    flex-direction: column;
    /* align-items: flex-end; */
    height: 150px;
}

.footerCol4 {
    display: flex;
    flex-wrap: wrap;

}

.inquire,
.colaborate,
.social,
.phone,
.footerLogo,
.terms,
.rights {
    margin-top: auto;
}

.terms,
.rights,
.social {
    width: 100%;
    text-align: right;

}









/* Freelancer page - details */

.freelancerDetails {
    width: 100%;
    height: fit-content;
    padding-top: 150px;
}

.freelancerDescription {
    padding: 30px 0 60px 0;
}


/* Freelancer page - Slideshow */

.splide {
    max-height: 1000px;
    max-width: 665%;
    padding-bottom: 75px;
}

.freelancerProject .splide {
    max-width: 70%;

}

.splide__track {
    background-color: rgb(243, 243, 243);
}

.splide__image {
    max-height: 750px;
    max-width: 100%;
    width: 100%;
    object-fit: cover;
}

.freelancerProject .splide__image {
    width: auto;
}


.splide li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.projectDetails {
    display: flex;
    max-width: 29%;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
}

.client,
.discipline,
.description {
    padding-right: 25px;
}

/* Hide default cursor over arrows and show custom cursor */
.splide__arrow {
    cursor: none !important;
}

.custom-cursor {
    display: none;
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    color: white;
    /* Example color */
    mix-blend-mode: difference;
    font-family: "NeueHaasUnica", "Arial", sans-serif;
    font-size: 1rem;
}

/* Show custom cursor when hovering over arrows */
.splide__arrow:hover+.custom-cursor {
    display: block;
}

.profileProjectWrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    padding-bottom: 100px;
}




/* All projects page */


.filter-menu {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}

.filter {
    padding: 0 25px;
}



/* Dump page */

.dump-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 100%;
}

.dump img {
    width: 100%;
}

.dumpTitle {
    color: #000000;
}

.dumpDesc{
    padding-bottom: 20px;
}




/* Mobile */




@media (max-width: 1940px) {
    .child {
        grid-column: span 4;
        min-height: 80vh;
    }

    .grid .child:nth-last-child(-n+2) {
        display: none;
    }

    .workWrapper .grid .child:nth-last-child(-n+2) {
        display: block;
    }
}

@media (max-width: 1200px) {

    .work .child {
        padding-bottom: 50px;
    }

    .child {
        grid-column: span 12;
        min-height: 30vh;
        height: 30vh;
    }

    .grid .child:nth-last-child(-n+6) {
        display: none;
    }

    .workWrapper .grid .child:nth-last-child(-n+6) {
        display: block;
    }


    .aboutText {
        font-size: 25px;
        padding-bottom: 150px;
    }

    .seeAllWork a {
        font-size: 2rem;
    }

    .weDo {
        padding-top: 0;
    }

    .weDoWrapper {
        width: 100%;
    }

    .subRowOne,
    .subColThree,
    .weDoColTwo {
        display: none;
    }

    .subColOne {
        width: 50%;
        padding-right: 0;
    }

    .weDoColOne {
        width: 100%;
    }

    .weDoColOne p {
        font-size: 2rem;
    }

    .subColTwo {
        width: 50%;
        padding-right: 0;
    }

    .footerWrapper {
        display: block;
        padding-top: 200px;
        padding-bottom: 30px;
        width: 100%;
    }

    .footerWrapper span,
    .footerWrapper a {
        font-size: 2rem;
    }

    .footerCol {
        width: 100%;
        display: flex;
        flex-direction: column;
        /* align-items: flex-end; */
        height: auto;
        padding: 20px 0;
    }

    .terms,
    .rights {
        width: 100%;
        text-align: left;

    }

    #contactButton p,
    .homeButton a {
        font-size: 20pt;
        margin-top: 0;
    }

    .inquire {
        padding-bottom: 40px;
    }

    .gridColab {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: var(--gap);
        grid-row-gap: var(--mobileGap);
    }

    .childColab {
        grid-column: span 4;
    }

    .grid .childColab:nth-last-child(-n+6) {
        display: none;
    }

    .project-title p {
        font-size: 2rem;
    }

    .freelancerProject .order {
        background-color: aqua;
        max-width: 100%;
        width: 100%;
    }

    .freelancerProject .projectDetails {
        max-width: 100%;
        width: 100%;
        flex-direction: row;
    }

    .freelancerProject .splide {
        padding-bottom: 0;
    }



    .freelancerProject .client {
        width: 50%;
        padding-right: 0;
    }

    .freelancerProject .discipline {
        width: 50%;
        padding-right: 0;
        text-align: right;
    }

    .splide__arrow {
        cursor: auto !important;
    }





}

@media (max-width: 800px) {

    /* Adjust the breakpoint as needed */
    .dump-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for smaller screens */
    }
}

@media (max-width: 500px) {

    /* Adjust the breakpoint as needed */
    .dump-grid {
        grid-template-columns: 1fr;
        /* 1 column for very small screens */
    }
}