html,
body {
    height: 100%;
    overflow: hidden;
}

/* =========================
LAYOUT PROJET
========================= */

.project-layout {
    width: 100%;
    height: 100vh;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;

    padding:
        120px
        1.3em
        140px;

    overflow: hidden;
}

/* =========================
TEXTE FIXE
========================= */

.content-header {
    width: 52%;
    height: 100%;

    flex-shrink: 0;

    margin: 0;
    padding: 0;
}

.text-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.left-column,
.right-column {
    width: 100%;
}

.right-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.titre-projet {
    font-size: 15px;
    font-weight: 590;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.left-text,
.right-text {
    font-size: 14px;
    line-height: 1.7;
    max-width: 85%;
}

.left-text .highlight,
.right-text .highlight {
    font-weight: 400;
}

.right-text {
    text-align: left;
    margin-bottom: 20px;
}

.right-column img {
    width: 25%;
    transition: transform 0.3s ease;
}

.right-column img:hover {
    transform: scale(1.03);
}

/* =========================
ZONE SCROLL
========================= */

.container {
    width: 38%;
    height: 100%;

    overflow-y: auto;

    padding-right: 10px;
    padding-bottom: 180px;

    position: relative;
    z-index: 2;
}

/* =========================
BOUTON LIEN
========================= */

.bouton-video {
    border: none;
    padding: 0;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    background: transparent;
    position: relative;
    color: black;
}

/* ligne */

.bouton-video::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: black;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* hover */

.bouton-video:hover::after {
    transform: scaleX(0.4);
}

/* =========================
NAVIGATION PROJETS
========================= */

#navigationprojet {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding-top: 60px;
}

.div-2,
.navigation-index {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.div-2 path {
  fill: #000000;
}

.text_wrapper {
  margin: 0 10px;
  font-size: 15px;
  font-weight: 590;
  color: #000000;
}

.div-2,
.navigation-index {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.div-2:hover,
.navigation-index:hover {
  transform: translateY(-2px);
  opacity: 0.7;
}

/* RESPONSIVE SECTION */
@media (max-width: 768px) {
  .navigation-projet {
    gap: 30px;
    padding-top: 40px;
  }

  .div-2,
  .navigation-index {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .vector {
    width: 10px;
  }

  .text-wrapper {
    margin: 0 5px;
    font-size: 14px;
  }
}

/* =========================
GRID MODERNE
========================= */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 90%;
}

/* BLOCS */

.project-item {
    overflow: hidden;
    position: relative;
}

/* IMAGES */

.project-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    transition: transform 0.6s ease;
}

.project-item:hover img {
    transform: scale(1.03);
}

/* FORMATS */

.full {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

.square {
    aspect-ratio: 1 / 1;
}

.portrait {
    aspect-ratio: 4 / 5;
}

.cinematic {
    grid-column: span 2;
    aspect-ratio: 21 / 9;
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 768px) {

    html,
    body {
        overflow: auto;
    }

    .project-layout {
        height: auto;

        flex-direction: column;

        padding:
            120px
            1em
            180px;

        gap: 40px;

        overflow: visible;
    }

    .content-header {
        width: 100%;
        height: auto;
    }

    .container {
        width: 100%;
        height: auto;

        overflow: visible;

        gap: 1em;

        padding-right: 0;
    }

    .row,
    .col {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .col-box,
    .box {
        width: 100%;
    }

    .col-box img,
    .box img {
        width: 100%;
        height: auto;
    }

    .col-box:hover img,
    .box:hover img {
        transform: none;
    }

    .text-container {
        gap: 20px;
    }

    .right-column img {
        width: 60%;
        margin: 0 auto;
    }

    .titre-projet,
    .left-text,
    .right-text {
        text-align: left;
        margin: 0;
    }

    #navigationprojet {
        bottom: 20px;
        gap: 30px;
    }

    .text_wrapper {
        font-size: 14px;
    }
}