.autoplayer-pro {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.autoplayer-pro .poster {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: block;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: blur(20px);
    aspect-ratio: 800/450;
    width: 100%;
}

@media (max-width: 40em) {
    .autoplayer-pro .poster {
        aspect-ratio: 16/9;
        position: static;
        top: unset;
        left: unset;
        min-height: unset;
        min-width: unset;
        object-fit: unset;
        transform: unset;
        filter: unset;
    }
}

.autoplayer-pro .fallback.loaded .poster {
    filter: none;
}

.autoplayer-pro .video {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 300ms cubic-bezier(0,0,0.3,1);
}

.autoplayer-pro.video-loaded .video {
    opacity: 1;
}

.autoplayer-pro .video-controls {
    display: none;
}

.autoplayer-pro.video-loaded .video-controls {
    display: block;
}

.autoplayer-pro .video-control {
	display: inline-flex;
	align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
	width: 40px;
	height: 40px;
    color: #fff;
    border: none;
    background-color: #242f44;
    cursor: pointer;
}

.autoplayer-pro .video-control:hover {
	background-color: #242f44;
}

.autoplayer-pro .video-control:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #242f44;
    outline: none;
}

.autoplayer-pro .video-control .fa-play {
    margin-left: 2px;
}

.autoplayer-pro .text-content {
    position: absolute;
    z-index: 3;
    right: 0;
    left: auto;
    bottom: 0;
    margin: 15px;
}

@media (min-width: 40em) {
	.autoplayer-pro {
        height: 650px;
    }
}

@media (min-width: 64em) {
	.autoplayer-pro {
        margin: 0 40px;
    }

    .autoplayer-pro .text-content {
        position: absolute;
        z-index: 3;
        left: 0;
        right: auto;
        bottom: 100px;
        margin: 30px
    }
}