.directors-wrapper {
    min-height: 100vh;
    background: #000;
    position: relative;
    display: -ms-grid;
    display: grid;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}


.video,
.directors-carousel video {
    height: 100vh;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
}

.directors-list {
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 1280px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    max-height: 80vh;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
    color: #fff;
    text-shadow: 0 0 10px #000000b5;
    padding: 4rem;
}

.director-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.director-item a,
.director-item p {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.director-item,
.director-item a,
.director-item p {
    font-size: 1.5rem;
    line-height: 1;
    font-family: 'Anton', Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
    position: relative;
}


.director-item a:after,
.director-item p:after {
    content: '';
    width: 100%;
    position: absolute;
    background-color: #ffffff;
    height: 0.25rem;
    left: 0;
    bottom: -0.5rem;
    opacity: 0;
    -webkit-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
}

.director-item a:hover:after,
.director-item p:hover:after {
    opacity: 1;
}

.directors-carousel .f-carousel__slide {
    height: 100vh;
}


.directors-list video {
    display: none;
}


@media (max-width: 980px) {
    .directors-list {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: (1fr)[1];
        grid-template-columns: repeat(1, 1fr);
        padding-top: 10vh;
        padding-bottom: 10vh;
        margin-top: 5vh;
        width: 100%;
        max-height: 75vh;
        overflow-y: auto;
        -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(10vh, black), color-stop(black), to(transparent));
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10vh, black calc(100% - 10vh), transparent 100%);
        mask-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(10vh, black), color-stop(black), to(transparent));
        mask-image: linear-gradient(to bottom, transparent 0%, black 10vh, black calc(100% - 10vh), transparent 100%);
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .directors-list::-webkit-scrollbar {
        display: none;
    }

    .directors-carousel .f-carousel__slide {
        height: 100vh;
    }
}


#directors video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

#directors video.inactive {
    opacity: 0;
}

#directors video.active {
    opacity: 1;
}