.background {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.background picture,
.background img,
.background video {
    width: 100%;
    height: 100%;
}

.background img,
.background video {
    object-fit: cover;
    display: block;
    height: 102%;
}

.project {
    cursor: pointer;
}

.project-info {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 30px;
    z-index: 2;
    mix-blend-mode: difference;
    color: var(--white);
}

.project-intro {
    gap: 10px;
}

.cross {
    margin-top: 5px;
    width: 15px;
    height: 15px;
    position: relative;
    display: block;
}

.cross:after,
.cross:before {
    content: "";
    display: block;
    position: absolute;
    background: var(--white);
}

.cross:before {
    width: 3px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    -webkit-transform: translate3d(-50%, 0, 0);
}

.cross:after {
    width: 100%;
    height: 3px;
    top: 50%;
    left: 0;
    transform: translate3d(0, -50%, 0);
    -webkit-transform: translate3d(0, -50%, 0);
}

.project-expanded-info::-webkit-scrollbar {
    display: none;
}

.project-expanded-info {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow-y: scroll;
    opacity: 0;
    backdrop-filter: blur(0px);
    padding: 60px 30px 80px;
    transition: backdrop-filter 0.8s ease, opacity 0.8s ease;
    -webkit-transition: backdrop-filter 0.8s ease, opacity 0.8s ease;
    color: var(--white);
    background: rgba(0, 0, 0, 0.3);
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.project-expanded-info.active {
    pointer-events: visible;
    opacity: 1;
    backdrop-filter: blur(36px);
}

*.not-interactive {
    pointer-events: none !important;
}

.project-hidden {
    width: 100%;
    height: auto;
    position: relative;
    left: 0;
    top: 0;
    display: none;
}

.project-hidden.show {
    display: block;
}

.project-content {
    width: 100%;
    max-width: 715px;
}

.project-content .font-size-m2 {
    margin-top: 45px;
    margin-bottom: 45px;
}

.project-expanded-info a {
    color: var(--white);
}

.project-expanded-info a:hover {
    text-decoration: underline;
}

.close {
    cursor: pointer;
}

/* RESPONSIVE */
@media only screen and (max-width: 1024px) {
    .hero.fullscreen {
        max-height: 56vw;
    }

    .project-info {
        align-items: flex-end;
    }
}

@media only screen and (max-width: 768px) {
    .project-expanded-info {
        padding: 60px 10px 80px;
    }

    .project-intro {
        gap: 4px;
    }

    .project-info {
        padding: 20px 10px;
    }

    .cross {
        display: none;
    }
}
