/*
Theme Name: Redvest Media Splash Page
Author: Ace Creative Services
*/


body {
	background: #d40029;
	font-family: "Roboto", sans-serif;
	margin: 0;
}

#background {
	position: fixed;
	inset: 0;
	background: url('img/aceMedia-site-bg-2.webp') no-repeat 100% / 100%;
	background-size: cover;
	z-index: -1;
}

.logo {
	padding: min(3%, 40px);
	text-align: right;
}

.logo img {
	width: 10%;
	max-width: 205px;
}

main {
	display: grid;
	grid-template-rows: 8% auto 8%;
	/* grid-template-columns: 45.3125% 54.6875%; */
	grid-template-columns: 60% 40%;
	max-width: 1312px;
	margin: auto;
}

.copy {
	grid-area: 2 / 1 / 3 / 2;
	background-color: #fff;
	border-radius: 20px 0 0 20px;
	/* border-radius: 20px; */
	padding: 1rem;
	display: grid;
	align-content: center;
	line-height: 1.15;
	overflow: clip;
	padding: 1.5rem;
	margin-left: 1rem;
}

.video-embed iframe {
	width: 100% !important;
	aspect-ratio: 16 / 9;
}

h1 {
	font-size: 3.125rem;
	margin-top: 0;
	color: #d40029;
	line-height: 1.15;
	text-wrap: balance;
	margin-bottom: 1rem;
}

h2 {
	font-size: 1.875rem;
	margin-top: 0;
	color: #d40029;
	line-height: 1.15;
	text-wrap: balance;
}

h3 {
	margin-block: 10px 0;	
	font-size: 1.25rem;
	line-height: 1.15;
}

h3 + p {
	margin-top: 0;
}

.capture {
	grid-area: 1 / 2 / 4 / 3;
	background-color: #EFEFEF;
	border-radius: 20px;
	max-height: 570px;
	overflow: scroll;
	padding: 1.5rem;
	margin-right: 1rem;
}

.capture iframe {
	display: block;
}

.red {
	color: #d40029;
}

@media(min-width: 1024px) {
	#background:after {
		content: "";
		width: 100%;
		height: 100%;
		display: block;
		background-image: url('img/aceMedia-bg-triangle.svg');
		background-size: 18.5%;
		background-repeat: no-repeat;
		background-position: top right;
	}
}

@media(max-width: 1023px) {

	#background {
		background: linear-gradient(180deg, rgba(212, 0, 41, 1) 0%, rgba(125, 1, 25, 1) 100%);
		min-height: 100vh;
		position: fixed;
	}
	.main {
		background-image: unset;
		place-content: start;
	}

	.logo {
		background-color: #fff;
		text-align: center;
	}
	.logo img {
		width: calc(145 / 375 * 100vw);
	}

	main {
		grid-template-columns: 1fr;
		grid-template-rows: 500px auto;
		gap: 1.625rem;
		margin: 1rem;
	}

	.capture {
		grid-area: 1 / 1 / 2 / 2;
		border-radius: 20px;
		margin: 0;
	}

	.copy {
		grid-area: 2 / 1 / 3 / 2;
		border-radius: 20px;
		font-size: .875rem;
		padding: 1rem;
		margin: 0;
	}

	h1 {
		font-size: 2.5rem;
	}

	h2 {
		font-size: 1.75rem;
	}

	h3 {
		font-size: 1.125rem;
	}

}

/* WP FORMS STYLES */
#wpforms-41 {
	--wpforms-field-size-input-spacing: 10px !important;
}