/* parallax area */

.parallax-area, .parallax-video-content {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position: relative;
	text-align: left;
	top: 0;
	left: 0;
	height: 85vh;
	width: 100%;
	color: #f2f2f2;
	overflow:hidden;
	z-index: 1;
	margin: 45px 0;
	clip-path: polygon(0 0, 50% 10%, 100% 0, 100% 100%, 50% 90%, 0 100%)
}

.parallax-area .button, .parallax-video-content .button {
	margin: 20px auto 0;
}

.parallax-area:before, .parallax-video-content:before {
	content: '';
	background: var(--second-color);
	position: absolute;
	z-index: 2;
	top: -60px;
	width: 100%;
	height: 85vh;
	clip-path: polygon(0 0, 100% 0%, 100% 6%, 50% 23%, 0 6%);
}

.parallax-area:after, .parallax-video-content:after {
	content: '';
	background: var(--second-color);
	position: absolute;
	z-index: 2;
	bottom: -40px;
	width: 100%;
	height: 85vh;
	clip-path:polygon(50% 80%, 100% 98%, 100% 100%, 0 100%, 0 98%);
}


@media only screen and (max-width:1024px) {
	
	.parallax-area, .parallax-video-content { 
		clip-path: polygon(0 0, 50% 4%, 100% 0, 100% 100%, 50% 96%, 0 100%);		
	}
	
	.parallax-area:before, .parallax-video-content:before { 
		clip-path: polygon(0 0, 100% 0%, 100% 6%, 50% 16%, 0 6%);
	}
	
	.parallax-area:after, .parallax-video-content:after { 
		clip-path:polygon(50% 87%, 100% 98%, 100% 100%, 0 100%, 0 98%);
	}
	
}

@media only screen and (max-width:500px) {
	
}

.parallax-image {
	position: fixed;
	width: 100%;
  height: 100vh; 
  background-size: cover;
  background-position: center;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
}

.parallax-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}



.parallax-area .overlay, .parallax-video-content .overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(7,57,105,0.4);
	mix-blend-mode: multiply;
	z-index: 1;
}

/* .parallax-area video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.95);
} */

.parallax-area video {
position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%; /* Ensures the video covers the width */
  min-height: 100%; /* Ensures the video covers the height */
  width: auto;
  height: auto;
  transform: translate(-50%, -50%); /* Centers the video */
  object-fit: cover; /* Ensures the video covers the container without stretching */
}

.parallax-area .max-width,
.parallax-video-content .max-width {
	position: absolute;
	width: 100%;
	max-width: 900px;
	text-align: center;
	padding: 0 5%;
}


.parallax-area h2,
.parallax-video-content h2 {
	font-size: 2.5em;
	  text-transform: uppercase;
	  font-weight: 800;
	  color: var(--white-color);
	  line-height: 1em;
	  background: var(--second-color);
	  padding: 0 0;
	  display: inline;
	  box-shadow: -18px 0 0 var(--second-color), 18px 0 0 var(--second-color);
	  -webkit-box-decoration-break: clone;
	  -moz-box-decoration-break: clone;
	  box-decoration-break: clone;
}

.parallax-area h3,
.parallax-video-content h3{
	color: var(--white-color);
}

.parallax-area p,
.parallax-video-content p  {
	color: var(--white-color);
	font-weight: 700;
	font-size: 1.25em;
}

.parallax-video {
	position: fixed;
	top: 0;
	z-index: -1;
	left: 0;
	width: 100%;
	height: 100vh;
}

@media only screen and (max-width:769px){
	.parallax-area, .parallax-video-content {
		text-align: left;
	}
}