/* 
Theme Name: HQ Online Thema
Theme URI: https://hq-online.nl/websites
Description: Thema ontwikkeld met liefde door HQ Online
Author: HQ Online B.V.
Author URI: https://hq-online.nl/
Template: hello-elementor
Version: 1.0.1
Text Domain: hq-online-child
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
html, body{
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, .elementor-button-text{
	font-family: 'MADE Sunflower', sans-serif!important;
}

.mega-menu-wrapper{
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
/* 	transition: all .3s ease-in-out; */
	visibility: hidden;
	z-index: 100;
}
.mega-menu-wrapper.open{
/* 	left: 0;	 */
	visibility: visible;
}

.mega-menu-wrapper.open .mega-menu-bg{
	opacity: 1!important;
}

.mega-menu-bg{
	height: 100%;
	width: 100%;
	z-index: 100!important;
	background: url('https://rouwanders.hq-online.dev/wp-content/uploads/2023/05/5DM49196_websize.jpg');
	background-size: cover;
	background-position: bottom center;
	opacity: 0;
	transition: all .3s ease-in-out;
	position: fixed;
	top: 0;
	left: 0;
}

.mega-menu-wrapper .mega-menu{
	width: 100%;
	height: 100vh;
	position: absolute;
	right: 0;
	top: 0;
	transition: all .3s ease-in-out;
	z-index: 200!important;
	background: rgba(30,30,30, 0.8);
	opacity: 0!important;
}

.mega-menu-wrapper.open .mega-menu{
	opacity: 1!important;
}

.mega-menu-primary-wrapper{
	max-width: 1140px;
	margin: 0 auto;
	width: 100%!important;
	height: 100vh;
	z-index: 300;
	position: relative;
	display: -webkit-flex!important;
	display: flex;
	flex-direction: -webkit-row!important;
	flex-direction: row!important;
	justify-content: -webkit-start!important;
	justify-content: start!important;
	-webkit-align-items: center!important;
	align-items: center!important;
	padding-top: 350px;
	padding-bottom: 250px;
	padding-left: 10px;
	padding-right: 10px;
}

.mega-menu-primary-wrapper div{
	width: 50%;
}

.mega-menu-primary-wrapper div #gform_1{
	opacity: 0;
	transition: all .3s ease-in;
}

.mega-menu-primary-wrapper .back{
	display: none;
}

.mega-menu-primary-wrapper div .gform_wrapper, .mega-menu-primary-wrapper div .gform_wrapper div{
	width: 100%!important;
}

.mega-menu-wrapper.open .active-sub{
	right: 0!important;
}

.mega-menu-primary-wrapper input, .mega-menu-primary-wrapper textarea{
	background: transparent;
	border: 2px solid rgba(220, 220, 220, 0.4)!important;
	font-family: 'MADE Sunflower', sans-serif!important;
	font-size: 18px;
	padding: 10px 25px!important;
	border-radius: 0px!important;
	color: #fff;
}
.mega-menu-primary-wrapper input::placeholder, .mega-menu-primary-wrapper textarea::placeholder {
	font-family: 'MADE Sunflower', sans-serif!important;
	font-size: 18px;
	color: #fff!important;
}

.mega-menu-primary-wrapper textarea{
	height: 90px!important;
}

.mega-menu-primary-wrapper input[type="submit"]{
	width: 100%;
	background-color: #A66046;
	color: #fff!important;
	border: none!important;
	border-radius: 0px;
	padding-top: 17px!important;
	padding-bottom: 17px!important;
	transition: all .3s ease-in;
}

.mega-menu-primary-wrapper input[type="submit"]:hover {
    background-color: #fff;
    color: #A66046;
}

.sub-menu-wrapper{
	max-width: 1140px;
	margin: 0 auto;
	width: 100%!important;
	height: 100vh;
	z-index: 310;
	position: absolute;
	top: 0;
	right: -100%;
	display: -webkit-flex!important;
	display: flex;
	flex-direction: -webkit-column!important;
	flex-direction: column!important;
	justify-content: -webkit-column!important;
	justify-content: start!important;
	-webkit-align-items: flex-end!important;
	align-items: end!important;
	padding: 300px 0px;
}

.sub-menu{
	width: 60vw;
	height: 100vh;
	background-color: #272A2C;
	position: absolute;
	right: -100vw;
	top: 0;
	transition: all .3s ease-in-out;
	clip-path: polygon(25% 0%, 100% 0, 100% 100%, 0% 100%);
	z-index: 210!important;
}

.active-sub-wrapper{
	--width: 100vw;
	--rest: calc(var(--width) - 1100px);
	--right: calc(var(--rest) / 2 );
	right: var(--right)!important;
}

.mega-menu-primary-wrapper ul.mega-menu-primary, .sub-menu-wrapper ul{
	list-style-type: none;	
	padding: 0;
}

.mega-menu-primary-wrapper ul.mega-menu-primary li, .sub-menu-wrapper ul li{
	display: block;
	text-align: left;
	opacity: 0;
	margin-bottom: 10px;
}

.mega-menu-primary-wrapper ul.mega-menu-primary li.contact{
	display: none;
}

.mega-menu-primary-wrapper ul.mega-menu-primary li.highlight a, .sub-menu-wrapper ul li.highlight a{
	background: linear-gradient(90deg, rgba(166, 96, 70, 1) 0%, rgba(166, 96, 70, ,1) 50%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
	background-size: 200% 100%;
	background-position: 0% 0%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: all .25s ease-in-out;
}

.mega-menu-primary-wrapper ul.mega-menu-primary li a, .sub-menu-wrapper ul li a, .mega-menu-primary-wrapper .back{
	font-family: 'MADE Sunflower', sans-serif!important;
	font-size: 40px;
	font-weight: 400;
	background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(166, 96, 70, 1) 50%, rgba(166, 96, 70, 1) 100%);
	background-size: 200% 100%;
	background-position: 0% 0%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: all .25s ease-in-out;
}

.mega-menu-primary-wrapper ul li a:hover, .mega-menu-primary-wrapper ul li.highlight a:hover, .sub-menu-wrapper ul li a:hover{
	background-position: 100% 0%!important;
}

.mega-menu-wrapper.open .mega-menu-primary-wrapper.active-primary ul.mega-menu-primary li, .sub-menu-wrapper.active-sub-wrapper ul li{
	animation-name: stagger;
  	animation-duration: 200ms;
  	animation-delay: calc(var(--animation-order) * 100ms);
  	animation-fill-mode: forwards;
  	animation-timing-function: ease-out;
	transform: translateY(-30px);
	opacity: 0;
	animation-direction: normal;
}

.mega-menu-wrapper.open .mega-menu-primary-wrapper div #gform_1{
	opacity: 1;
}



/* .mega-menu-wrapper.open .mega-menu-primary-wrapper ul.mega-menu-primary li{
	animation-name: stagger;
  	animation-duration: 200ms;
  	animation-delay: calc(var(--animation-order) * 100ms);
  	animation-fill-mode: forwards;
  	animation-timing-function: ease-out;
	animation-direction: reverse;
} */

.mega-menu-wrapper.open .mega-menu-primary-wrapper ul.mega-menu-secondary li{
	animation-name: stagger;
  	animation-duration: 200ms;
  	animation-delay: calc(var(--animation-order) * 100ms + 300ms);
  	animation-fill-mode: forwards;
  	animation-timing-function: ease-out;
	-webkit-animation-name: stagger;
  	-webkit-animation-duration: 200ms;
  	-webkit-animation-delay: calc(var(--animation-order) * 100ms + 300ms);
  	-webkit-animation-fill-mode: forwards;
  	-webkit-animation-timing-function: ease-out;
	-webkit-animation-timing-function: ease-out;
	transform: translateY(-30px);
	-webkit-transform: translateY(-30px);
	opacity: 0;
}

@keyframes stagger {
	from {
		transform: translateY(-30px);
		opacity: 0;
	}
	to {
		transform: translateY(0px);
		opacity: 1;
	}
}


@-webkit-keyframes stagger {
	from {
		-webkit-transform: translateY(-30px);
		-webkit-opacity: 0;
	}
	to {
		-webkit-transform: translateY(0px);
		-webkit-opacity: 1;
	}
}


.mega-menu-wrapper .mega-menu-primary-wrapper ul.mega-menu-secondary{
	margin-top: 0px;
	list-style-type: none;
}

.mega-menu-wrapper .mega-menu-primary-wrapper ul.mega-menu-secondary li{
	text-align: right;
	opacity: 0;
}

.mega-menu-wrapper.open .mega-menu-primary-wrapper ul.mega-menu-secondary li{
/* 	opacity: 1; */
}

.mega-menu-wrapper.open .mega-menu-primary-wrapper ul.mega-menu-secondary li a{
	font-family: 'MADE Sunflower', sans-serif!important;
	font-size: 24px;
	font-weight: 400;
/* 	color: #fff; */
	background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(239,175,46,1) 50%, rgba(239,175,46,1) 100%);
	background-size: 200% 100%;
	background-position: 0% 0%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: all .25s ease-in-out;
}

@media screen and (max-width: 1024px){
	.mega-menu-primary-wrapper{
		padding: 190px 40px;
		flex-direction: column!important;
	}
	
	.mega-menu-wrapper .mega-menu{
		width: 100%;
	}
	
	.mega-menu-primary-wrapper div{
		width: 100%;
	}
	
	
	.active-sub-wrapper{
		width: 100vw;
		right: 0!important;
		padding: 200px 40px;
	}
	
	.mega-menu-primary-wrapper ul.mega-menu-primary li a, .sub-menu-wrapper ul li a, .mega-menu-primary-wrapper .back{
		font-size: 32px;	
	}
}

@media screen and (max-width: 550px){
	.mega-menu-primary-wrapper{
		padding: 200px 40px 100px 40px;
		flex-direction: column!important;
		position: relative;
	}
	
	.mega-menu-primary-wrapper div{
		width: 100%;
	}
	
	.mega-menu-primary-wrapper div:nth-child(2){

	}
	
	.mega-menu-wrapper .mega-menu{
		height: 100vh!important;
		width: 100%;
	}
	
	.mega-menu-primary-wrapper ul.mega-menu-primary li.contact{
		display: block;
	}
	
	.mega-menu-primary-wrapper #gform_wrapper_1{
		opacity: 0;
		visibility: hidden;
	}
	
	
	.mega-menu-primary-wrapper ul.mega-menu-primary li a, .sub-menu-wrapper ul li a, .mega-menu-primary-wrapper .back{
		font-size: 24px;	
	}
	
	.active-sub-wrapper{
		width: 100vw;
		right: 0!important;
		padding: 300px 40px 100px 40px;
	}
}