.autoplayer-pro {
	--controls-bg-hover-color: var(--gray-100);
	--controls-text-hover-color: var(--sw-key-color);
	--text-content-bg-color: var(--primary-color-100);
	--text-color: var(--gray-100);
	--border-color: var(--gray-100);

	position: relative;
	overflow: hidden;
	height: 667px;
	display: flex;
	margin-bottom: var(--space-8);
}

@media (min-width: 64em) {
	.autoplayer-pro {
		height: 865px;
		margin-bottom: var(--space-16);
	}
}

.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:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #222222 0% 0% no-repeat padding-box;
	pointer-events: none;
	z-index: 2;
	opacity: 0.1;
}

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

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

.autoplayer-pro .video-controls {
	display: none;
	margin-bottom: var(--space-4);
}

.autoplayer-pro.video-loaded .video-controls {
	display: flex;
	gap: var(--space-6);
	justify-content: flex-end;
	position: relative;
	margin-bottom: 0;
}

.autoplayer-pro.video-loaded .video-controls:after {
	content: '';
	position: absolute;
	right: 52px;
	top: -9px;
	height: 62px;
	width: 2px;
	background: #fff;
	transform: rotate(17deg);
}

.autoplayer-pro .video-control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 40px;
	height: 40px;
	color: var(--text-color);
	border: none;
	border-radius: 50%;
	background-color: transparent;
	border: 2px solid var(--border-color);
	cursor: pointer;
}

.autoplayer-pro .video-control .fa-pause-circle {
	font-size: 2.375rem;
}

.autoplayer-pro .video-control .fa-pause-circle.fa-play {
	font-size: 1.125rem;
}

.autoplayer-pro .video-control:focus {
	outline: hsl(215deg 45% 98% / 58%) dashed 1px;
	outline-offset: 4px;
}

.autoplayer-pro .video-control .fa-play {
	margin-left: var(--space-px);
}

.autoplayer-pro .text-content {
	position: absolute;
	right: 0;
	bottom: 14px;
	padding: var(--space-3) var(--space-5);
	width: calc(100% - 4rem);
	max-width: var(--width-comfortable);
	z-index: 12;
	width: max-content;
}

.autoplayer-pro #Layer_2 {
	transition: opacity 0.5s ease-in-out;
	transition-delay: 0.3s;
}

.autoplayer-pro.animate-complete #Layer_2 {
	opacity: 0;
}

.autoplayer-pro .title {
	font-family: var(--font-display);
	margin-bottom: var(--space-2);
	color: var(--text-color);
	position: absolute;
	font-size: 3.25rem;
	letter-spacing: -1.56px;
	font-weight: 100;
	top: calc(50% - 58px);
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	z-index: 3;
	text-align: center;
	line-height: calc(58 / 52);
	max-width: 400px;
	padding-inline: 17px;
	transition: opacity 1s ease-in-out;
	transition-delay: 0.7s;
}

.autoplayer-pro.animate-end .title {
	opacity: 0;
}

.autoplayer-pro .title span {
	display: inline-block;
	opacity: 0;
}

.autoplayer-pro .title span.first-line {
	transition: opacity 1s ease-in-out;
	transition-delay: 2.5s;
}

.autoplayer-pro .title span.first,
.autoplayer-pro .title span.last {
	transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
	transform: translateY(100%);
}

.autoplayer-pro.loaded .title span.first-line {
	opacity: 1;
}

.autoplayer-pro.loaded .title span.first {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 3s;
}

.autoplayer-pro.loaded .title span.last {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 3.5s;
}

.autoplayer-pro .logo-cont {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 75%;
	max-width: 500px;
}

#logo #sun {
	opacity: 0;
	transition: all ease-out 400ms;
	transition-delay: 1.5s;
  }
  
  #logo #ray1 {
	opacity: 0;
	transition: all ease-out 400ms;
	transition-delay: 1.7s;
  }
  
  #logo #ray2 {
	opacity: 0;
	transition: all ease-out 400ms;
	transition-delay: 1.9s;
  }
  
  #logo #ray3 {
	opacity: 0;
	transition: all ease-out 400ms;
	transition-delay: 2.1s;
  }
  
  #logo #ray4 {
	opacity: 0;
	transition: all ease-out 400ms;
	transition-delay: 2.3s;
  }
  
  #logo #wave {
	opacity: 0;
	transition: all ease-out 800ms;
	transition-delay: 2.5s;
  }
  
  #logo #title1 {
	opacity: 0;
	transform: translateY(50px);
	transition: all ease-out 400ms;
	transition-delay: 2.7s;
  }
  
  #logo #title2 {
	opacity: 0;
	transform: translateY(50px);
	transition: all ease-out 400ms;
	transition-delay: 2.9s;
  }
  
  #logo #title3 {
	opacity: 0;
	transform: translateY(50px);
	transition: all ease-out 400ms;
	transition-delay: 3.1s;
  }
  
  #logo #tagline {
	opacity: 0;
	transform: scale(1.5);
	transform-origin: center bottom;
  }

  #logo {
	opacity: 0;
  }
  
.autoplayer-pro.animate-end #logo {
	opacity: 1;
}
  
.autoplayer-pro.animate-end #logo #ray1,
.autoplayer-pro.animate-end #logo #ray2,
.autoplayer-pro.animate-end #logo #ray3,
.autoplayer-pro.animate-end #logo #ray4,
.autoplayer-pro.animate-end #logo #sun,
.autoplayer-pro.animate-end #logo #title1,
.autoplayer-pro.animate-end #logo #title2,
.autoplayer-pro.animate-end #logo #title3,
.autoplayer-pro.animate-end #logo #tagline,
.autoplayer-pro.animate-end #logo #wave {
	opacity: 1;
	transform: translateY(0) scale(1);
}
  
 .autoplayer-pro.animate-end #logo #tagline {
	opacity: 1;
	transform: translateY(0) scale(1);
	transition: all ease-out 800ms;
	transition-delay: 3.3s;
  }

/* .autoplayer-pro #sun-cont path,
.autoplayer-pro #svg-logo #wave,
.autoplayer-pro #svg-logo #title-cont g,
.autoplayer-pro #svg-logo #tagline {
	transition: opacity 0.5s ease-in-out;
	opacity: 0;
}

.autoplayer-pro #svg-logo #title-cont g {
	transform: translateY(25%);
}

.autoplayer-pro #svg-logo #sun {
	transition-delay: 2s;
}

.autoplayer-pro #svg-logo #ray1 {
	transition-delay: 2.5s;
}

.autoplayer-pro #svg-logo #ray2 {
	transition-delay: 3s;
}

.autoplayer-pro #svg-logo #ray3 {
	transition-delay: 3.5s;
}

.autoplayer-pro #svg-logo #ray4 {
	transition-delay: 4s;
}

.autoplayer-pro #svg-logo #wave {
	transition-delay: 4.5s;
}

.autoplayer-pro #svg-logo #title-cont #title1 {
	transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
	transition-delay: 5s;
}

.autoplayer-pro #svg-logo #title-cont #title2 {
	transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
	transition-delay: 5.5s;
}

.autoplayer-pro #svg-logo #title-cont #title3 {
	transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
	transition-delay: 6s;
}

.autoplayer-pro #svg-logo #tagline {
	transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
	transform: scale(1.25) translateY(0);
	transition-delay: 6.5s;
}

.autoplayer-pro.animate-end #sun-cont path,
.autoplayer-pro.animate-end #svg-logo #wave {
	opacity: 1;
}

.autoplayer-pro.animate-end #svg-logo #title-cont g {
	opacity: 1;
	transform: translateY(0);
}

.autoplayer-pro.animate-end #svg-logo #tagline {
	opacity: 1;
	transform: scale(1) translateY(0);
} */

.autoplayer-pro .description {
	font-family: var(--font-display);
	font-size: var(--text-base);
	color: var(--text-color);
	margin-bottom: var(--space-2);
}

.autoplayer-pro .text-content .read-more {
	font-family: var(--font-display);
	color: var(--text-color);
	text-decoration: none;
	font-weight: 700;
}

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

.autoplayer-pro .logo-wrapper {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 70%;
	z-index: 3;
}

.autoplayer-pro .logo-wrapper .logo {
	max-width: 242px;
}

@media (min-width: 64em) {
	.autoplayer-pro .title {
		font-size: 4.3125rem;
		line-height: var(--leading-none);
		max-width: 620px;
		top: calc(50% - 8px);
	}
	.autoplayer-pro .title:after {
		bottom: -34px;
	}
	.autoplayer-pro .text-content {
		right: 106px;
		bottom: 36px;
	}
	.autoplayer-pro.video-loaded .video-controls {
		gap: 28px;
	}
	.autoplayer-pro .video-control {
		width: 46px;
		height: 46px;
	}
	.autoplayer-pro.video-loaded .video-controls:after {
		right: 59px;
		top: -10px;
		height: 68px;
	}
	.autoplayer-pro .video-control .fa-pause-circle {
		font-size: 2.8125rem;
	}
	.autoplayer-pro .video-control .fa-pause-circle.fa-play {
		font-size: 1.1875rem;
	}
}
