/*!
Theme Name: BRESYS
Theme URI: http://underscores.me/
Author: Bresys Informatika Kft - Hungary
Author URI: https://bremersystems.eu
Description: Theme based on underscores.me theme - lightweight and compatible with elementor and more... enjoy!
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bresys
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

BRESYS is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/



/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/


/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/*--------------------------------------------------------------
# HEADER
--------------------------------------------------------------*/

.logo svg {
	display: table;
	width:240px;
}

/***
* class: .sticky-header
*/
header .sticky-header{
	--header-height: 110px;
	--shrink-header-to: 0.1;
	--transition: .45s cubic-bezier(.4, 0, .2, 1);
	background-color: rgba(0,0,0,.0);
	transition: background-color var(--transition),
				backdrop-filter var(--transition),
				box-shadow var(--transition);
	
}

/***
* Sticky header activated
*/
header .sticky-header.elementor-sticky--effects {
	background-color: rgba(0, 0, 0, .8);
	box-shadow: 0px 4px 33px 1px rgba(0, 0, 0, .07);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
}
header .sticky-header > .e-con-inner {
	min-height: var(--header-height);
	transition: min-height var(--transition);
}
header .sticky-header.elementor-sticky--effects > .e-con-inner {
	min-height: calc( var(--header-height) * var(--shrink-header-to) );
}



/***
* Shorter header on mobile (70px instead of 100px)
*/
@media only screen and (max-width: 767px) {
	header .sticky-header {
		--header-height: 70px;
	}
}

/***
* class: .logo
*/
header .sticky-header .logo svg {
	transition: transform var(--transition);
}
header .sticky-header.elementor-sticky--effects .logo svg {
	transform: scale(.8);
}