/**
 * Theme Name:     Spectra One Child
 * Author:         Wizarts
 * Template:       spectra-one
 * Text Domain:	   spectra-one-child
 * Description:    Custom theme
 */
:root{
	--wp--style--global--wide-size: 1200px !important;
}
.wp-site-blocks{
	margin-top: 124px;
}
.wp-site-blocks > header{
	position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 3;
}
.gform_required_legend{
	display: none;
}

.wp-block-uagb-icon-list-child:last-child,
.wp-block-button:last-child,
.wp-block-button__link:last-child,
p:last-child{
	margin-bottom: 0 !important;
}
form *{
	font-family:'Poppins' !important;
}
form textarea,
form input{
	color: black !important;
}
form input[type='submit']{
	background-color: var(--wp--preset--color--primary) !important;
    border-radius: 0 !important;
    border: 1px solid transparent !important;
	color: var(--wp--preset--color--background) !important;
    font-family: var(--wp--preset--font-family--poppins) !important;
    font-size: var(--wp--preset--font-size--small) !important;
    font-style: normal !important;
    font-weight: 300 !important;
    letter-spacing: 2px !important;
    line-height: var(--wp--custom--line-height--initial) !important;
    padding: calc(0.667em + 2px) calc(1.333em + 2px) !important;
    text-decoration: none !important;
}

.entry-content a:hover{
	text-decoration: underline;
}

.wp-block-navigation .wp-block-navigation-item{
	border-bottom: 2px solid transparent;
}
.wp-block-navigation .wp-block-navigation-item:hover,
.wp-block-navigation .wp-block-navigation-item.current-menu-item {
    color: var(--wp--preset--color--primary);
    border-bottom: 2px solid;
}

/* DECO */
.deco-3,
.deco-3 > div,
.deco-2,
.deco-2 > div,
.deco-1 > div > div,
.deco-1 > div,
.deco-1{
	position: relative;
	z-index: 2;
}
.deco-1 > div::after{
	content:'';
	background-color: black;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
	top: 70px;
	right: 70px;
}
.deco-2::before{
	content:'';
	background-color: black;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
	top: -70px;
	right: -70px;	
}
.deco-3::after{
	content:'';
	background-color: black;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
	top: 70px;
	right: 70px;
}
.grid-offset > div::before{
	content:'';
	position: absolute;
	width: calc(50% - 20px);
	height: 135px;
	top: 0;
	right: 0;
}




/* BUTTONS */
.wp-block-button__link{
	background-color: var(--wp--preset--color--primary);
    border-radius: 0 !important;
	border: 1px solid transparent !important;
	margin: 1rem 1rem 0rem 0rem;
}
.wp-block-button__link > div{
	color: white !important;
}
/* BUTTONS HOVER */
.wp-block-button__link:hover > div,
.wp-block-button__link:hover{
	background-color: var(--wp--preset--color--heading);;
	color: var(--wp--preset--color--secondary);
	text-decoration: underline;
}




/* ENTRY-CONTENT STRUCTURE */
header > div,
footer > div,
.entry-content > *{
	padding-left: 25px !important;
	padding-right: 25px !important;
}




@media screen and (max-width: 1350px){
	h1{
		font-size: 45px
	}
	h2{
		font-size: 35px
	}
}

@media screen and (max-width: 976px){ // breakpoint spectra
	h1{
		font-size: 40px
	}
	h2{
		font-size: 30px
	}

	.deco-1 > div::after{
		content:'';
		background-color: black;
		width: 100%;
		height: 100%;
		position: absolute;
		z-index: 0;
		top: 35px;
		right: 35px;
	}
	.deco-2::before{
		content:'';
		background-color: black;
		width: 100%;
		height: 100%;
		position: absolute;
		z-index: 0;
		top: -35px;
		right: -35px;	
	}
	.deco-3::after{
		content:'';
		background-color: black;
		width: 100%;
		height: 100%;
		position: absolute;
		z-index: 0;
		top: 35px;
		right: 35px;
	}

}

@media screen and (max-width: 600px){
	/* HEADER */
	.custom-logo{
		width: 90px !important;
	}
	.wp-site-blocks{
		margin-top:85px;
	}
	header  .is-menu-open .wp-block-navigation__container::before{
		content: '';
		position: relative;
		width: 114px;
		height: 74px;
		background-repeat: no-repeat;
		top: 0;
		left: 0;
		background-image: url(/wp-content/uploads/2024/10/8138d8_7308453ae8444fb4b28795afa45c0477mv2-1.png);
		background-size: auto;
	}
	header .is-menu-open .wp-block-navigation__responsive-container-content{
		display: flex;
		justify-content: center;
		align-items: center;
	}
	header .is-menu-open .wp-block-navigation__responsive-container-content li,
	header .is-menu-open .wp-block-navigation__responsive-container-content ul{
		align-items: flex-start !important;
	}

	header .is-menu-open .wp-block-navigation__submenu-container a{
		color: gray !important;
		border-bottom: unset !important;
		margin-top: 6px !important;
		text-align: left;
	}

	.current-menu-item a{
		border-bottom: 1px solid;
	}


	h1{
		font-size: 30px
	}
	h2{
		font-size: 22px
	}
}
