.autoplayer-pro {
    position: relative;
    height: 80vh;
}

.autoplayer-pro.show-overlay::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    content: '';
    background: rgba(51,51,51,.5);
    pointer-events: none;
}

.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);
}

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

.autoplayer-pro .fallback.loaded {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
}

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

.autoplayer-pro .video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.autoplayer-pro .video-controls {
    position: absolute;
    margin-bottom: 1rem;
    right: 1rem;
    bottom: 1rem;
}

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

.autoplayer-pro .video-control {
	display: inline-flex;
	align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
	width: 30px;
	height: 30px;
    color: #fff;
    border: none;
	border-radius: 50%;
    background-color: transparent; /* #203f99 */
    cursor: pointer;
}

.autoplayer-pro .video-control:hover {
	background-color: #3e5dbb;
}

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

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

.autoplayer-pro .text-content {
    position: absolute;
    z-index: 4;
    left: 0;
    bottom: 0;
    top: 0;
    margin: 0;
    padding: 10px;
    width: 100%;
}

.autoplayer-pro .title-section {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    flex-wrap: wrap;
    height: 108px;
}

.autoplayer-pro .text-content .title {
    font-family: 'Merriweather', serif;
    font-weight: 600;
    font-size: 53px;
    font-style: italic;
    color: white;
    text-shadow: 0 3px 7px rgba(0, 0, 0, 0.13);
    margin-right: 10px;
    align-self: flex-start;
    flex-wrap: wrap;
    letter-spacing: -0.04em;
    line-height: 1;
    text-align: right;
}

.autoplayer-pro .text-content .title2 {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 19px;
    color: white;
    line-height: 1.2;
    border-bottom: 2px solid var(--Yellow);
    text-align: center;
    text-shadow: 0 3px 7px rgba(0, 0, 0, 0.13);
}

.autoplayer-pro .text-content .title3 {
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    color: transparent;
    font-size: 49px;
    -webkit-text-stroke: 1px rgb(255, 255, 255);
    margin-left: 5px;
    text-shadow: 0 3px 7px rgba(0, 0, 0, 0.13);
    align-self: end;
}

.autoplayer-pro .text-content .read-more {
    color: #203f99;
    text-decoration: none;
}

.autoplayer-pro .text-content .read-more:hover,
.autoplayer-pro .text-content .read-more:focus {
    text-decoration: underline;
    outline: none;
}

.autoplayer-pro .text-content .icon {
    display: none;
}

@media (max-width: 641px) {
    .autoplayer-pro {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
    }

    .autoplayer-pro .video {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
    }
}

@media (min-width: 641px) {
    .autoplayer-pro {
        height: 600px;
    }

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

    .autoplayer-pro .title-section {
        padding: 0;
        height: auto;
    }

    .autoplayer-pro .text-content .title {
        font-size: 100px;
        margin-bottom: 95px;
    }
    
    .autoplayer-pro .text-content .title2 {
        font-size: 30px;
        border-width: 5px;
    }
    
    .autoplayer-pro .text-content .title3 {
        font-size: 90px;
        -webkit-text-stroke: 2px rgb(255, 255, 255);
        text-shadow: 0 3px 7px rgba(0, 0, 0, 0.08);
        margin-top: 105px;
    }
}

@media screen and (min-width: 64em) {
    .autoplayer-pro .text-content .icon {
        display: block;
        position: absolute;
        left: 9.4%;
        bottom: 0;
        width: 91px;
        transform: translateY(50%);
    }

    .autoplayer-pro .text-content {
        overflow: visible;
    }

    .autoplayer-pro.show-icon .text-content::after {
        content: "";
        position: absolute;
        width: 91px;
        height: 91px;
        bottom: -46px;
        left: 96px;
        background-image: url('/includes/public/assets/shared/icons/summer-orange-logo-mark.svg');
        background-size: contain;
        background-repeat: no-repeat;
        overflow: visible;
    }
}

@media screen and (min-width: 80em) {
    .autoplayer-pro {
        height: 700px;
    }

    .autoplayer-pro .text-content .title {
        font-size: 143px;
    }
    
    .autoplayer-pro .text-content .title2 {
        font-size: 51px;
    }
    
    .autoplayer-pro .text-content .title3 {
        font-size: 131px;
    }

    .autoplayer-pro .text-content::after {
        left: 135px;
    }
}
