/*======= Video =======*/
.yankee-video {
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    width: 500px;
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    .popup-video {
        position: relative;
        background-color: $white;
        color: $secondary-color;
        font-size: 16px;
        width: 80px;
        height: 80px;
        text-align: center;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;

        &::before {
            position: absolute;
            content: "";
            background-color: rgba($white, 0.8);
            z-index: -1;
            animation: pulse-border 1500ms ease-out infinite;
            left: 50%;
            top: 50%;
            height: 100%;
            width: 100%;
        }
    }

    &.left {
        justify-content: flex-start;

        @include respond-below(xs) {
            justify-content: center;
        }

        .popup-video {
            transform: translateX(-50%);

            @include respond-below(xs) {
                transform: translateX(0);
            }
        }
    }

    &.right {
        justify-content: flex-end;

        @include respond-below(xs) {
            justify-content: center;
        }

        .popup-video {
            transform: translateX(50%);

            @include respond-below(xs) {
                transform: translateY(0);
            }
        }
    }

    &.top {
        align-items: flex-start;

        .popup-video {
            transform: translateY(-50%);
        }
    }

    &.bottom {
        align-items: flex-end;

        .popup-video {
            transform: translateY(50%);
        }
    }
}