:root {
    --p-font-size: 1rem;
    --h6-font-size: 1.25rem;
    --h5-font-size: 1.563rem;
    --h4-font-size: 1.953rem;
    --h3-font-size: 2.441rem;
    --h2-font-size: 3.052rem;
    --h1-font-size: 3.815rem;
    --text-color: #ffffff;
    --text-contrast-color: #000000;
    --hover-color: #808080;
    --text-font-weight: 600;
    --text-light-font-weight: 300;
}

* {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    font-size: 62.5%;
    font-family: Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    overflow-x: hidden;
    -webkit-animation: fadeInAnimation ease 3s;
    animation: fadeInAnimation ease 3s;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* scrollbar */
::-webkit-scrollbar {
    display: none;
}

/* Menu */
.nav-header-container {
    position: fixed;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0;
    padding: 1rem 2rem;
    z-index: 5;
}

.nav-item {
    font-size: var(--p-font-size);
    font-weight: var(--text-font-weight);
    text-transform: uppercase;
    text-align: left;
    margin: 0;
    padding: 0;
    transition: 0.2s ease-in;
}

.right-nav {
    width: 50%;
}

.nav-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: 0.2s ease-in;
}

.nav-item a:hover {
    color: var(--hover-color);
    transition: 0.2s ease-out;
}

.mobile-nav,
.openbtn,
.hamburger,
.logo {
    display: none;
}

/* nav phone */
@media screen and (max-width: 768px) {
    .nav-header-container {
        display: none;
    }

    .mobile-nav {
        position: fixed;
        display: block;
        height: 100vh;
        width: 0;
        z-index: 999;
        top: 0;
        left: 0;
        background-color: #ffffff;
        overflow: hidden;
        transition: ease-in-out 0.2s;
    }

    .m-n-content {
        position: relative;
        top: 25%;
        width: 100%;
        margin-top: 30px;
        text-wrap: nowrap;
        transition: ease-in-out 0.2s;
    }

    .m-n-content a {
        display: flex;
        width: 100%;
        margin: 0;
        padding: 10px;
        text-decoration: none;
        font-size: var(--h5-font-size);
        text-transform: uppercase;
        color: var(--text-contrast-color);
    }

    .hamburger {
        display: block;
        position: fixed;
        cursor: pointer;
        margin: 0%;
        padding: 10px;
        z-index: 12;
        background-color: #ffffff;
    }

    .line:first-child {
        width: 20px;
        height: 1px;
        background-color: #000000;
        margin: 0 0 6px 0;
        padding: 0;
        transition: 0.4;
    }

    .line {
        width: 20px;
        height: 1px;
        background-color: #000000;
        margin: 0 0 6px 0;
        padding: 0;
        transition: 0.4;
    }

    .line:last-child {
        width: 20px;
        height: 1px;
        background-color: #000000;
        margin: 0;
        padding: 0;
        transition: 0.4;
    }

    .closebtn {
        position: absolute;
        text-align: right;
        font-size: var(--h6-font-size);
        font-weight: var(--text-font-weight);
        text-transform: uppercase;
        text-decoration: none;
        color: #000000;
        width: 100%;
        margin: 0;
        padding: 10px;
    }

    .logo {
        position: fixed;
        display: flex;
        justify-content: right;
        width: 100vw;
        margin: 0%;
        padding: 1rem;
        font-size: var(--p-font-size);
        text-transform: uppercase;
        color: var(--text-color);
        z-index: 11;
    }
}

/* project header */
.project-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 0;
    padding: 0;
}

.project-text-item-left {
    flex: 50%;
    margin: 0%;
    padding: 0%;
}

.project-text-item-right {
    flex: 50%;
    margin: 0%;
    padding: 0%;
}

.left-text-first {
    font-size: var(--h4-font-size);
    font-weight: var(--text-font-weight);
    color: #ffffff;
    margin: 0;
    padding: 20rem 2rem 10rem;
}

.left-text {
    font-size: var(--h4-font-size);
    font-weight: var(--text-font-weight);
    color: #ffffff;
    margin: 0;
    padding: 10rem 2rem 10rem;
}

.left-text a {
    font-size: var(--h4-font-size);
    font-weight: var(--text-font-weight);
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.right-text {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 2rem;
    font-style: normal;
    font-variant: normal;
    font-weight: 100;
    line-height: 2.5rem;
    color: #ffffff;
    padding: 4em 1em;
}

/* project images */
.project-image-container {
    display: grid;
    gap: 15rem;
    grid-template-columns: repeat(3, 1fr);
    margin: 15rem 2rem;
    padding: 0;
}

.project-image-container-two {
    display: grid;
    gap: 15rem;
    grid-template-columns: repeat(2, 1fr);
    margin: 15rem 2rem;
    padding: 0;
}

.project-image-container-four {
    display: grid;
    gap: 15rem;
    grid-template-columns: repeat(4, 1fr);
    margin: 15rem 2rem;
    padding: 0;
}

.project-image-container-vorm-kleur {
    display: grid;
    gap: 15rem;
    grid-template-columns: repeat(2, 1fr);
    margin: 15rem 2rem;
    padding: 0;
}

.project-image-item {
    margin: 0;
    padding: 0;
}

.project-image-item img {
    width: 100%;
}

.project-item-text-left {
    position: absolute;
    font-size: var(--p-font-size);
    font-weight: var(--text-contrast-color);
    text-align: left;
    color: var(--text-color);
    margin: 0;
    padding: 5px;
}

.project-item-text-right {
    font-size: var(--p-font-size);
    font-weight: var(--text-contrast-color);
    text-align: right;
    color: var(--text-color);
    margin: 0;
    padding: 5px;
}

.fullpage-span {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 4;
}

/* video */
.video-container {
    position: relative;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
}

video {
    position: absolute;
    width: 80vw;
    height: 80vh;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

/* vorm & kleur */
.vorm-kleur-container {
    position: relative;
}

.original-image {
    width: 100%;
    height: auto;
}

.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    transition: opacity 0.3s ease;
}

.vorm-kleur-container:hover .hover-image {
    opacity: 1;
}

@media screen and (max-width: 900px) {
    .project-container {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        margin: 0;
        padding: 0;
    }

    .project-text-item-left {
        flex: 100;
        margin: 0%;
        padding: 0%;
    }

    .project-text-item-right {
        display: none;
    }

    .left-text-first {
        font-size: var(--h5-font-size);
        font-weight: var(--text-font-weight);
        color: #ffffff;
        margin: 0;
        padding: 10rem 1rem 0rem;
    }

    .left-text {
        font-size: var(--h5-font-size);
        font-weight: var(--text-font-weight);
        color: #ffffff;
        margin: 0;
        padding: 0rem 1rem 0rem;
    }

    .project-image-container {
        display: none;
    }

    .project-image-container-two {
        display: none;
    }

    .project-image-container-four {
        display: none;
    }

    .project-image-container-vorm-kleur {
        display: none;
    }

    .project-image-container-phone {
        display: grid;
        gap: 2rem;
        grid-template-columns: repeat(1, 1fr);
        margin: 10rem 1rem;
        padding: 0;
    }

    .project-image-container-phone-two {
        display: grid;
        gap: 2rem;
        grid-template-columns: repeat(2, 1fr);
        margin: 10rem 1rem;
        padding: 0;
    }

    .project-image-container-vorm-kleur-phone {
        display: grid;
        gap: 2rem;
        grid-template-columns: repeat(2, 1fr);
        margin: 10rem 1rem;
        padding: 0;
    }
}