.tag-court-métrage {
    background-color: #211364;
    color: #e1dbec;
}

#reel {
    padding: 32px 0px;
    width: 100vw;
    display: flex;
    justify-content: center;
    z-index: 3;
    
    animation: fadeIn 2s;
}

#reel-content {
    width: 80vw;
    height: 70vh;
    filter: drop-shadow(0px 0px 16px var(--dark-accent-primary));
    animation: fadeIn 2s;
}

#reel video {
    width: inherit;
    height: inherit;
    position: absolute;
    filter: brightness(40%);
    
    cursor: pointer !important;
}

#reel #text-overlay {
    width: inherit;
    height: inherit;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#reel h1 {
    position: absolute;
    font-size: 19.4vw;
    color: var(--dark-white);
    font-weight: 700;
    text-transform: uppercase;
    mix-blend-mode: hard-light;
    white-space: nowrap;
    user-select: none;
    text-shadow: -1px -1px 0 var(--dark-white-6b), 1px -1px 0 var(--dark-white-6b), -1px 1px 0 var(--dark-white-6b), 1px 1px 0 var(--dark-white-6b);
}

#reel #text-overlay .fr {
    font-size: 17.2vw;
    text-align: center;
}

.mfp-content {
    width: auto !important;
}

#reel-video {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: inherit;
    width: 80vw;
    max-width: 80vw;
}

#reel-video iframe {
    width: inherit;
    max-width: inherit;
    aspect-ratio: 16 / 9;

}

#strikethrough {
    position: absolute;
    /* bottom: -20px; */
    background-color: var(--dark-accent-tertiary-6b);
    /* background-color: var(--dark-accent+); */
    width: 100vw;
    height: 24px;
    z-index: 3;
}

/* CONCERNANT LA LISTE */

/* List Styling */

:root {
    --list-item-content-sections: 2;
}

.list-content-item {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.list-content-item:focus-visible > .portfolio-item-thumbnail {
    outline: 2px solid var(--dark-white) !important;
    opacity: .8;
    transition: ease-in-out .5s;
}

.list-content-item:focus-visible > .contents {
    opacity: 1;
    transition: ease-in-out .5s;
}

.portfolio-item-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: black;
    
    cursor: pointer !important;
    transition: ease-in-out .5s;
}

.contents {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: ease-in-out .5s;
}

.list-content-item:hover > .contents {
    opacity: 1;
    transition: ease-in-out .5s;
}

.list-content-item:hover > .portfolio-item-thumbnail {
    opacity: .8;
    transition: ease-in-out .5s;
}

/* POUR LA FENÊTRE DU MODAL */
.modal-fenêtre {
    width: 90vw;
    height: 80vh;
    /* padding: 32px; */
    background-color: var(--dark-black);
    outline: 2px solid var(--dark-white-6b);
    outline-style: auto;
    overflow-y: hidden;
    display: flex;
    /* opacity: 0%; */

    position: fixed;
    z-index: 100;

    transition: opacity .5s ease-in-out;
}

[data-titre1texte] li, [data-titre2texte] li {
    margin-left: 48px;
    padding-left: 8px;
    padding-right: 8px;
}

[data-titre2texte] li {
    list-style: disclosure-closed;
}

.étendu {
    /* height: 45%; */
}

#bouton-sortir {
    top: 0;
    position: absolute;
    left: 0;
    padding: 0;
    margin: 0;
}

#bouton-sortir > h2 {
    margin-top: 16px;
    margin-left: 16px;
    pointer-events: none;
    padding-left: 32px;
    transform: skewX(0deg);
    transition: padding .5s ease-in-out, transform .75s ease-in-out;
}

#bouton-sortir:hover > h2 {
    transform: skewX(-10deg);
    padding-left: 8px;
    transition: padding .5s ease-in-out, transform .5s ease-in-out;
}

.centred {
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.opacity100 {
    opacity: 100%;
    transition: opacity .5s ease-in-out;
}

.modal-ouvert  {
    overflow: hidden;
    /* position: fixed; */
}

#modal-bg {
    background-color: var(--dark-black-8b);
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 99;
    top: 0;
    opacity: 0%;
    pointer-events: none;
    transition: opacity .5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-bg.modal-active {
    opacity: 100%;
    pointer-events: all;
    transition: opacity .5s ease-in-out;
}

.modal-gauche {
    width: 50%;
    display: flex;
    justify-content: center;
}

.modal-gauche > section {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

p {
    text-align: center;
}

.modal-droite > section {
    background: rgb(10,10,10);
    background: linear-gradient(0deg, #000000 0%, #0a0a0a00 12%, #0a0a0a00 100%); 
}

.modal-droite p {
    text-align: left;
}

.modal-gauche > section > h1 {
    margin: 16px 0px 0px 0px;
    text-align: center;
    filter: drop-shadow(0px 0px 16px var(--dark-accent-primary));
}

.video-wrapper {
    padding: 8px;
}

.modal-tags {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about-images {
    margin: 16px;
    width: 40%;
    display: flex;
    justify-content: space-between;
}

#about-images > img {
    height: 88%;
    width: fit-content;
    overflow: hidden;
}

.modal-droite {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.modal-droite > section {
    height: 45%;
    width: 95%;
    overflow-y: auto;
}

.modal-droite h3 {
    filter: drop-shadow(0px 0px 8px var(--dark-accent-primary));
}

.modal-droite > section > ul {
    margin: 0;
    padding-left: 32px;
}

.modal-droite >  section > ul > li {
    text-decoration: none;
    list-style: none;
    padding: 0;
    margin: 0;
}




/* For hyperlink icon */
/* .list-content-item > .list-content-section:first-of-type {
    flex-direction: column;
} */

.list-content-section {
    /* width: calc(100% / var(--list-item-content-sections)); */
    width: calc((100% - 20%) / var(--list-item-content-sections));
}

/* LIST SECTIONS */

.list-section-tags {
    width: auto;
    display: flex;
    flex-direction: row;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-x: hidden;
}

.list-section-media-tags {
    display: flex;
    flex-wrap: wrap;
    white-space: wrap;
}

.list-section-tags {
    display: flex;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-direction: row;
    overflow-x: hidden;
}

.list-item-title {
    margin: 0px;
    padding: 0px;
    font-size: 24px;
    font-weight: 600;
    filter: drop-shadow(2px 2px 8px var(--dark-black-8b));
}

a.hyperlink-text {
    text-decoration: none !important;
}

.list-media-tag, .list-language-tag, .list-sort-tag, .list-tag, .list-tag-show-more {
    width: fit-content;
    margin: 4px !important;
    height: 24px;
    padding: 4px 6px 4px 6px;
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
}

.list-tag:focus-visible {
    outline: 2px solid var(--dark-white) !important;
    
    transition: outline .25s ease-in-out;
}

.list-tag-show-more {
    background-color: var(--dark-black-8b);
}

.list-media-tag, .list-sort-tag {
    height: auto;
}

/* List Icons */

.list-media-tags-icon {
    width: 16px;
    padding-right: 8px;
    filter: drop-shadow(0px 0px 8px var(--dark-white));
    
    cursor: pointer !important;
}
/* Sort & Filter Menu */

.filter-menu .list-section-tags, .sort-menu .list-section-tags, .filter-menu .list-section-tags, .sort-menu .list-section-tags {
    width: auto;
}

.tag-sort {
    margin: 0 !important;
    /* background-color: var(--dark-primary); */
    color: var(--dark-white);
}

.menu-language-options {
    height: 100%;
    width: 25%;
    margin: 0px !important;
}

.menu-captions-options {
    height: 100%;
    width: 25%;
    margin: 0px !important;
}

.menu-tag .list-language-tag, .menu-tag .list-tag {
    margin: 0px !important;
}

.menu-content-section {
    width: 100%;
    display: flex;
}
.sort-button-group, .menu-sort-ascending-buttons, .menu-sort-descending-buttons, .menu-tags-checklist {
    width: auto;
    display: flex;
    justify-content: flex-end;
    
    cursor: auto;
}

#menu-checkbox-filters-all, #menu-checkbox-filters-all ~ button {
    cursor: not-allowed !important;
}

/* Tables */

.sort-menu table, .filter-menu table {
    position: relative;
    box-shadow: none;
}

.sort-menu table td, .filter-menu table td {
    font-size: 16px;
    overflow: hidden;
    text-transform: initial;
}

.sort-menu table tr td:first-of-type, .filter-menu table tr td:first-of-type {
    max-width: 50%;
    width: 50%;
}

.sort-menu table tr td:not(table tr td:first-of-type) {
    max-width: 25%;
    width: 25%;
    text-align: right;
}

.filter-menu table tr td:not(table tr td:first-of-type) {
    min-width: 50%;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

/* Tooltip Themes (List-Specific) */

.tippy-tooltip.tag-authorized-theme {
    background-color: #24ff413f;
    border: 1px solid #24ff413f;
}

.tippy-tooltip.tag-authorized-theme .tippy-backdrop {
    background-color: #24ff413f;
}

.tippy-popper[x-placement^=bottom] .tippy-tooltip.tag-authorized-theme .tippy-arrow {
    border-bottom: 7px solid #24ff413f;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
}

.tippy-tooltip.tag-vpn-recommended-theme {
    background-color: #ff74243f;
    border: 1px solid #ff74243f;
}

.tippy-tooltip.tag-vpn-recommended-theme .tippy-backdrop {
    background-color: #ff74243f;
}

.tippy-popper[x-placement^=bottom] .tippy-tooltip.tag-vpn-recommended-theme .tippy-arrow {
    border-bottom: 7px solid #ff74243f;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
}

/* Tags */

.tag-none {
    background-color: #0A0A0A;
    color: #F1F1F1;
    opacity: 0;
}

.tag-all {
    background-color: #0A0A0A;
    color: #F1F1F1;
}

.tag-list {
    background-color: #faf6cc;
    color: #43437b;
}

.tag-language {
    background-color: #eaca61;
    color: #5f4c35;
}

.tag-video-editing {
    background-color: #211364;
    color: #e1dbec;
}

/* Media Queries */

@media screen and (max-width: 1000px) {
    .list-media-tag {
        min-height: 24px;
    }

    .list-media-tags-icon {
        width: 16px;
    }

    .mfp-container {
        padding: 0 !important;
    }

    .mfp-content {
        height: 100%;
    }

    .modal-fenêtre {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow-y: scroll;
    }

    button.mfp-close {
        position: fixed !important;
    }
}

/* LES QUÉRIES  MÉDIAS */

@media screen and (max-width: 1500px) {
    .modal-fenêtre {
        flex-direction: column;
        overflow-y: auto;
    }

    .modal-gauche, .modal-droite {
        width: 100%;
    }
    .modal-gauche > section, .modal-droite > section {
        height: auto;
    }
}

@media screen and (max-width: 1300px) {
    #reel-content {
        width: 80vw;
        height: 60vh;
    }
}

@media screen and (max-width: 1100px) {
    #reel-content {
        width: 80vw;
        height: 40vh;
    }
}

@media screen and (max-width: 700px) {
    #reel-content {
        width: 80vw;
        height: 30vh;
    }
}

@media screen and (max-width: 600px) {
    #reel-content {
        width: 200vw;
        height: 60vh;
    }

    .modal-gauche > section {
        margin-top: 128px;
        width: 100%;
        flex-direction: column-reverse;
    }

    .video-wrapper {
        width: 90%;
    }

    .video-wrapper iframe {
        width: 100%;
    }
}