﻿.videotrailer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
}

    .videotrailer.active {
        visibility: visible;
        opacity: 1;
    }

    .videotrailer video {
        position: relative;
        max-width: 900px;
        outline: none;
    }

.closevideotrailer {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    filter: invert(1);
    max-width: 32px;
}

@media (max-width: 991px) {
    .videotrailer video {
        max-width: 90%;
    }
}
