/*!
Theme Name: Schokobilder
Theme URI: https://wp-entwickler.at
Author: wp-entwickler.at | Rene Souri
Author URI: https://wp-entwickler.at
Description: Theme für einen Onepager als Parallax-Slider.
Version: 1.2.3
Requires at least: 5
Tested up to: 6.x
Requires PHP: 7.4
License: Copyright 2021 Indit | Rene Souri
Text Domain: schokobilder_theme
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready, ACF
*/

:root {
	--primary_color: #402020;
	--primary_color_light: #4A3535;
	--secondary_color: #8B5A5A;
	--button_color: #ff6d6a;
	/*--secondary_highlight_color:rgb(139,90,90);*/
	--highlight_color: #7DCAF4;
	--highlight_color_dark: #57B7EA;
	--highlight_color_darker: #339ED8;
	--secondary_highlight_color: #D9B0B0;
	/*--secondary_color: rgb(217,176,176);*/
}
html {
	font-family: "Lato", sans-serif;
	font-size: 18px;
	color: #fff;
	box-sizing: border-box;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	background-color: var( --primary_color );
}
h1, h2 {
	font-weight: 900;
}
p {
	font-weight: 400;
}
a:not( .button ) {
	color: var( --highlight_color );
}
img {
	max-width: 100%;
	height: auto;
}
.is-sr-only {
	border: none!important;
	clip: rect(0,0,0,0)!important;
	height: 0.01em!important;
	overflow: hidden!important;
	padding: 0!important;
	position: absolute!important;
	white-space: nowrap!important;
	width: 0.01em!important;
}

.logo_wrapper {
	padding: 1.5rem 2rem;
	text-align: center;
}
.logo_wrapper img {
	width: 100%;
	max-width: 150px;
	object-position: center;
	object-fit: contain;
}
.has_text_centered {
	text-align: center;
}
.container {
	flex-grow: 1;
	margin: 0 auto;
	position: relative;
	width: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}


.site-header__inner {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	position: relative;
	gap: 1rem;
}
.menu-toggle-checkbox {
	display: none;
}
.menu-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
	width: 44px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	z-index: 20;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.menu-toggle:hover {
	opacity: 0.8;
}
.menu-toggle__line {
	display: block;
	width: 100%;
	height: 4px;
	background-color: #fff;
	border-radius: 2px;
	transition: all 0.3s ease;
}
.menu-toggle-checkbox:checked ~ .main-navigation {
	display: block !important;
}
.main-navigation {
	display: none;
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	background-color: var(--primary_color_light);
	padding: 0;
	border-radius: 2px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	min-width: 220px;
	z-index: 19;
}
.main-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.main-menu a {
	display: block;
	padding: 0.5rem 0;
	color: #fff;
	text-decoration: none;
	transition: color 0.2s ease;
}
.main-menu a:hover {
	color: var(--highlight_color);
}
.main-menu li {
	list-style: none;
	padding: 10px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.main-menu li:last-of-type {
	border-bottom: none;
}

.no-scroll-animation{
	opacity: 1 !important;
}

@media screen and (min-width: 1024px) {
	.container {
		max-width: 960px;
		padding-left: 0;
		padding-right: 0;
	}
}
@media screen and (min-width: 1216px) {
	.container:not( .is_small ) {
		max-width: 1152px;
	}
}
@media screen and (min-width: 1408px) {
	.container:not( .is_small ) {
		max-width: 1344px;
	}
}
