body {
    margin: 0;
    background: #000;
    font-family: 'Geist', sans-serif;
}

a {
    cursor: pointer;
}

.menu-horizontal {
    position: absolute;
    top: 0px;
    height: 50px;
    left: 0;
    width: 100%;
    transform: none;
    align-items: center;
    z-index: 10;
    box-sizing: border-box;
    display: flex;
    padding: 0 20px;
    &>ul {
        width: 100%;
        justify-content: space-between;
    }
    &>ul>li {
        flex: 1;
        text-align: center;
    }
}

.menu-horizontal>ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.menu-horizontal>ul>li>img {
    height: 50px;
    width: auto;
    display: block;
    filter: invert(1);
    margin-left: auto;
    margin-right: auto;
}

.menu-horizontal>ul>li>a {
    text-decoration: none;
    font-size: 20px;
    color: white;
    text-transform: uppercase;
    transition: all 0.3s ease;
    opacity: 0.7;
    font-weight: 200;
    text-shadow: rgba(0, 0, 0, 0.5) 1px 1px 3px;
}

.menu-horizontal>ul>li>a:hover {
    opacity: 1;
}

.split {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    /* diagonale par défaut */
    --base-top: 80%;
    --base-bottom: 20%;
    --shift: 0%;
}

.category_container {
    position: absolute;
    inset: 0;
    transition: all 0.5s ease;
    cursor: pointer;
    user-select: none;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0.5;
    transition: all 0.5s ease;
}

#stockFootage_container>.overlay {
    background: rgba(0, 0, 0, 0.4);
}

.inactive>.overlay {
    opacity: 1;
}

.inactive:hover>.overlay {
    opacity: 0.5;
}

.link_active {
    opacity: 1 !important;
}


/* panneau gauche / haut */

#stockFootage_container {
    z-index: 1;
    clip-path: polygon( 0 0, calc(var(--base-top) + var(--shift)) 0, calc(var(--base-bottom) + var(--shift)) 100%, 0 100%);
}


/* panneau droit / bas */

#customFootage_container {
    z-index: 0;
    clip-path: polygon( 100% 0, calc(var(--base-top) + var(--shift)) 0, calc(var(--base-bottom) + var(--shift)) 100%, 100% 100%);
}


/* hover stock : la diagonale part vers la droite */

.split:has(#stockFootage_container.inactive:hover) {
    --shift: 3% !important;
}


/* hover custom : la diagonale part vers la gauche */

.split:has(#customFootage_container.inactive:hover) {
    --shift: -3% !important;
}

.category_container-title {
    position: absolute;
    text-align: center;
    transition: all 0.5s ease;
    font-size: larger;
    color: white;
}

.inactive>.category_container-title {
    font-size: medium;
    color: lightgrey;
}

.inactive:hover>.category_container-title {
    color: white;
    text-shadow: rgba(255, 204, 25, 0.63) 0px 0px 10px;
}

.category_container-title>h1 {
    position: relative;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
}

.category_container-title>p {
    position: relative;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    font-weight: 300;
}

#stockFootage_container>.category_container-title {
    top: 30%;
    left: 20%;
}

#customFootage_container>.category_container-title {
    bottom: 30%;
    right: 20%;
}

iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 100/56.25 = 1.778 (16:9 aspect ratio) */
    min-height: 100vh;
    min-width: 177.78vh;
    /* 16/9 = 1.778 */
    transform: translate(-50%, -50%);
}