.mx-age-verification {
	padding: 40px 0 0 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	gap: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left;
	transition: all 1.5s;
	z-index: 9999;
	background-color: var(--ageVerificationBackgroundColor);
}

.mx-age-verification .mx-age-verification-image img {
	border-radius: var(--mainImagesBorderRadius);
}

.mx-age-verification .mx-age-verification-wrapper {
	position: relative;
	max-width: 440px;
}

.mx-age-verification .mx-age-verification-buttons {
	margin: 30px 25px 0 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
}

.mx-age-verification .mx-age-verification-buttons .mx-age-verification-button-agree {
	flex: 0 0 70%;
}

.mx-age-verification .mx-age-verification-buttons .mx-age-verification-button-disagree .mx-button {
	font-family: var(--primaryButtonFontFamily);
	font-size: var(--primaryButtonFontSize);
	color: var(--primaryButtonTextColor);
	background: transparent;
	border: none;
	outline: none;
}

.mx-age-verification .mx-age-verification-buttons .mx-age-verification-button-disagree .mx-button::after,
.mx-age-verification .mx-age-verification-buttons .mx-age-verification-button-disagree .mx-button::before {
	content: unset;
}

@media (max-width: 992px) {
	.mx-age-verification {
		padding: 20px;
		overflow: auto;
		flex-direction: column;
		background-image: none !important;
	}

	.mx-age-verification .mx-age-verification-image {
		position: relative;
		height: 40%;
		overflow: hidden;
	}

	.mx-age-verification .mx-age-verification-image::after {
		content: '';
		background: linear-gradient(0deg, var(--ageVerificationBackgroundColor) 5%, rgba(0, 0, 0, 0) 50%);
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
	}

	.mx-age-verification .mx-age-verification-image img {
		display: block;
		width: 100%;
	}

	.mx-age-verification .mx-age-verification-wrapper {
		max-width: 100%;
		margin: -100px 0 0 0;
	}

	.mx-age-verification.no-image .mx-age-verification-wrapper {
		margin: 0;
	}

	.mx-age-verification .mx-age-verification-buttons .mx-age-verification-button-disagree .mx-button {
		font-size: calc(var(--primaryButtonFontSize) / 1.25);
	}
}

@media (max-width: 768px) {
	.mx-age-verification h1 {
		font-size: calc(var(--headingH1fontSizeMobile) / 1.3);
	}

	.mx-age-verification h2 {
		font-size: calc(var(--headingH2fontSizeMobile) / 1.3);
	}

	.mx-age-verification h3 {
		font-size: calc(var(--headingH3fontSizeMobile) / 1.3);
	}

	.mx-age-verification h4 {
		font-size: calc(var(--headingH4fontSizeMobile) / 1.3);
	}

	.mx-age-verification h5 {
		font-size: calc(var(--headingH5fontSizeMobile) / 1.3);
	}

	.mx-age-verification .mx-age-verification-description {
		font-size: calc(var(--mainFontSize) / 1.33);
	}

	.mx-age-verification .mx-age-verification-buttons {
		margin: 15px 0 0 0;
		display: block;
	}

	.mx-age-verification .mx-age-verification-buttons .mx-button {
		margin: 0 auto;
	}

	.mx-age-verification .mx-age-verification-buttons .mx-age-verification-button-disagree {
		margin: 15px 0 0 0;
	}
}
