/* --------------------------------
   SWIPER
-------------------------------- */

.swiper-slide {
    width: fit-content;
    height: 100%;
}

.project-content.swiper {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.project-content .swiper-slide {
    display: flex;
    flex: 0 0 auto;
    width: auto;
    height: 100vh;
    align-items: center;
    justify-content: space-around;
}

.project-content .video-slide {
    flex: 0 0 100vw;
    width: 100vw;
    justify-content: center;
}

/* .project-content .swiper-slide:first-child {
    flex: 0 0 100vw;
    width: 100vw;
} */

.project-content .project-full-image {
    width: auto;
    height: auto;
    max-width: 50vw;
    max-height: 50vh;
    object-fit: contain;
}

.diplome-page .project-content .project-full-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* --------------------------------
   VERTICAL NICOLA MICHEL
-------------------------------- */

.nicola-name {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: max-content;
    height: max-content;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    z-index: 100;

    color: white;
    font-family: inherit;
    font-size: 9px;
    line-height: normal;

    pointer-events: none;
    mix-blend-mode: difference;
}


/* --------------------------------
   HORIZONTAL PROJECT NAME
-------------------------------- */

.project-name {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);

    width: 100vw;

    display: flex;
    justify-content: space-around;
    align-items: center;

    z-index: 100;

    color: white;
    font-family: inherit;
    font-size: 9px;
    letter-spacing: 40px;
    line-height: normal;

    pointer-events: none;
    mix-blend-mode: difference;
}


/* --------------------------------
   PROJECT TEXT GRID
-------------------------------- */

.project-text-grid {
    position: fixed;
    inset: 0;

    display: grid;

    width: 100vw;
    height: 100vh;

    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr auto 1fr;

    grid-template-areas:
        "block-head-left block-head-center block-head-right"
        "block-middle-left block-middle-center block-middle-right"
        "block-footer-left block-footer-middle block-footer-right";

    z-index: 50;
    pointer-events: none;

    color: white;
    font-family: "Times LT Pro", "Times New Roman", serif;
}


/* --------------------------------
   PROJECT TEXT GRID MOBILE
-------------------------------- */

@media (max-width: 768px) {
    .project-text-grid {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr auto 1fr;

        grid-template-areas:
            "block-head-left block-head-center block-head-right"
            "block-middle-left block-middle-center block-middle-right"
            "block-footer-left block-footer-middle block-footer-right";
    }
}


/* --------------------------------
   PROJECT TEXT GRID AREAS
-------------------------------- */

.block-head-left {
    grid-area: block-head-left;
}

.block-head-center {
    grid-area: block-head-center;
}

.block-head-right {
    grid-area: block-head-right;
}

.block-middle-left {
    grid-area: block-middle-left;
}

.block-middle-center {
    grid-area: block-middle-center;
}

.block-middle-right {
    grid-area: block-middle-right;
}

.block-footer-left {
    grid-area: block-footer-left;
}

.block-footer-middle {
    grid-area: block-footer-middle;
}

.block-footer-right {
    grid-area: block-footer-right;
}


/* --------------------------------
   CENTER ALL GRID BLOCKS (X + Y)
-------------------------------- */

.project-text-grid > div {
    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;
    font-size: 9px;
    line-height: 24px;

    padding: 0;
}


/* --------------------------------
   ALIGN TEXT BLOCKS TO TOP
-------------------------------- */

.project-text-grid > .block-middle-left,
.project-text-grid > .block-middle-right {
    align-items: flex-start;
}


/* --------------------------------
   MOBILE TEXT BLOCK WIDTH
-------------------------------- */

@media (max-width: 768px) {
    .project-text-grid > .block-middle-left,
    .project-text-grid > .block-middle-right {
        max-width: 40ch;
        margin: 0 auto;
    }
}


/* --------------------------------
   SINGLE FOOTER
-------------------------------- */

.project-text-grid > .block-footer-middle {
    /* margin: 100px;
    border-width: 8px;
    padding-top: 32px;
    height: 64px; */
    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
}


/* --------------------------------
   PROJECT TEXT GRID TYPOGRAPHY
-------------------------------- */

.project-text-grid span {
    font-family: "Times LT Pro", "Times New Roman", serif;

    font-size: 9px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0;

    color: white;
}


/* --------------------------------
   HOME BUTTON
-------------------------------- */

.HOME-button {
    position: fixed;
    bottom: 20px;
    left: 20px;

    margin: 0;
    padding: 0;

    z-index: 100;
    pointer-events: auto;

    color: white;

    font-family: "Times LT Pro", "Times New Roman", serif;
    font-size: 14px;
    letter-spacing: 40px;

    text-decoration: none;
    mix-blend-mode: difference;
}


/* --------------------------------
   BOTTOM RIGHT BUTTON
-------------------------------- */

.bottom-right-button {
    position: fixed;
    top: auto;
    right: 20px;
    bottom: 20px;
    left: auto;
}


/* --------------------------------
   ABOUT OVERLAY TOGGLE
-------------------------------- */

.about-overlay-toggle {
    border: 0;
    padding: 0;

    background: transparent;
    cursor: pointer;
}


/* --------------------------------
   ABOUT IMAGE OVERLAY
-------------------------------- */

.about-image-overlay {
    position: fixed;
    inset: 0;

    z-index: 90;

    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: center;

    filter: invert(1);

    pointer-events: none;
}

.about-image-overlay[hidden] {
    display: none;
}


/* --------------------------------
   ABOUT PAGE
-------------------------------- */

.about-page {
    min-height: 100vh;
    overflow: hidden;

    background: black;
}

.about-content {
    min-height: 100vh;
}

.about-fullbleed-image {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: contain;
    object-position: center;

    filter: invert(1);
}