/*
Theme Name: Starkes Standing
Author: WaGo-IT
Author URI: https://wago-it.de
Description: Wordpress Theme for starkes-standing.de
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
:root {
    /*--background-color: #d7fbfa;*/
	--background-color: #d7fbfa;
	--main-color: #007572;
	--main-variant-color: #008C85;
	--secondary-color: #00BCB2;
	--accent-variant-color: #43D6CE;
}

body {
	/*font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;*/
	font-family: "Aptos";
	margin: 0;
	padding: 0;
	font-size: 14pt;
}

body.menu-open {
	overflow: hidden;
}

.seperator {
	display: block;
	height: 24px;
}

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
/*

HEADER

*/

header {
	flex: 0 1 auto;
	color: var(--main-color);
	padding: 24px 24px 24px 24px;
	background-color: var(--background-color);
	clip-path: polygon(100% 92.946%, 100% 92.946%, 94.382% 94.724%, 87.79% 96.244%, 80.224% 97.508%, 71.685% 98.513%, 62.172% 99.262%, 51.685% 99.753%, 40.224% 99.987%, 27.79% 99.964%, 14.382% 99.684%, 0% 99.147%, 0% 0%, 100% 0%, 100% 92.946%);
}

header .nav-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding-top: 16px;
}

header .nav-container .active {
	text-decoration: underline;
}

.mobile-nav-menu .active {
	text-decoration: underline;
}

header .content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	font-size: 25pt;
	margin-top: 32px;
}

.right-header {
	margin-left: auto !important;
}

header .banner-left {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding-bottom: 20px;
}

header .banner-image {
	overflow: hidden;
  	position: relative;
	border-radius: 50%;
	height: 300px;
	width: 300px;
}

header .banner-image img {
	min-width: 80%;
	min-height: 80%;
	width: auto;
	height: auto;
	position: absolute;
	left: 10%;
	top: 92%;
	transform: translate(-50%, -50%) scale(0.35);
}

header .logo {
	margin-top: 12px;
	width: 145px;
	height: 145px;
}

header .logo img {
	height: 100%;
}

.greeting-1 {
	color: var(--main-color);
	font-size: 50pt;
	font-weight: 700;
}

.greeting-2 {
	color: var(--secondary-color);
	font-size: 50pt;
	font-weight: 700;
}

/*header .logo img {
	width: 72px;
	transition: all 0.3s;
}

header .logo img:hover {
	width: 100%;
}*/

.menu-toggle {
	border: none;
	background-color: unset;
	width: 36px;
	height: 36px;
	padding: 0;
	margin: 0;
	transition: all 0.3s;
	cursor: pointer;
}

.menu-toggle > img {
	width: 32px;
	height: 32px;
}

.menu-toggle > img:hover {
	width: 36px;
	height: 36px;
}

.nav-menu.menu-open {
	display: block;
}

.nav-menu {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100vh;
	z-index: 100;
	background-color: var(--background-color);
	overflow-y: auto;

	padding: 48px 24px;
}

.nav-header {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-top: 32px;
}

.mobile-nav-menu {
	margin-top: 32px;
}

.mobile-nav-menu > div {
	display: flex;
	flex-direction: column;
}

.mobile-nav-menu a {
	margin: 8px 0;
}

.desktop-nav-menu {
	display: none;
}

.desktop-menu-item {
	font-weight: 600;
	color: var(--main-color);
	text-decoration: none;
	margin: 0 16px;
}

.desktop-menu-item:hover{
	text-decoration: underline;
	transition: all 0.3s;
}

/*

	Page

*/
.small-gap {
	gap: 0.5em;
}

.small-gap h2 {
	margin-block-start: 0;
	margin-block-end: 0;
}

.small-gap p {
	margin-block-start: 0;
	margin-block-end: 0;
}

ul li>*:first-child::before {
	content: '' !important;
}

ul li {
	position: relative;
	list-style-type:none;
	padding: 9px 12px;
}

ul li:before {
	content: "";
	background-image: url('./img/leaf.svg');
	background-repeat: no-repeat;
	background-size: 24px;
	position: absolute;
	width: 24px;
	height: 24px;
	left: -24px;
	top: 50%;
	line-height: 1.8;
	transform: translate(0, -30%);
}

ul li:nth-child(odd):before {
	background-image: url('./img/leaf2.svg');
}

:root :where(.wp-block-image.is-style-rounded img,.wp-block-image .is-style-rounded img) {
	border-radius: 30px !important;
}

main {
	padding: 16px 24px;
	font-size: 16pt;
	line-height: 1.8;
}

main section {
	max-width: 1400px;
	width: 100%;
}

main a {
	text-decoration: none;
	color: var(--main-color);
}

main a::selection {
	text-decoration: none;
	color: var(--main-color);
}

main.default-page {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: max-content;
	flex: 1 1 auto;
}

label {
	color: #4c4c4c;
}

input[type="text"] {
	display: block;
	box-sizing: border-box;

	padding: 8px;
	border-radius: 5px;
	border: 1px solid var(--main-variant-color);
	width: 100%;
}

input[type="email"] {
	display: block;
	box-sizing: border-box;

	padding: 8px;
	border-radius: 5px;
	border: 1px solid var(--main-variant-color);
	width: 100%;
}

input[type="submit"] {
	display: block;
	box-sizing: border-box;
	cursor: pointer;

	padding: 8px 32px;
	border-radius: 5px;
	border: 1px solid var(--main-variant-color);
	background-color: var(--main-variant-color);
	color: var(--background-color);
}

input[type="submit"]:hover {
	background-color: var(--main-variant-color);
}

textarea {
	display: block;
	box-sizing: border-box;

	padding: 8px;
	border-radius: 5px;
	border: 1px solid var(--main-variant-color);
	width: 100%;
}

.rounded img {
	border-radius: 30px !important;
}

.rounded iframe {
	border-radius: 30px !important;
}

.center {
	text-align: center;
}

iframe {
	width: 100%;
	max-width: 800px !important;
	height: 200px;
}

.table-max {
	max-width: 1100px;
	margin-left: auto;
    margin-right: auto;
}

.table-max div p {
	margin-block-start: 0.4em;
	margin-block-end: 0.4em;
}

.cite {
	font-style: italic;
}

.n2-ss-layer-row {
	padding: 0 40px !important;
}

.disable-on-desktop {
	display: block;
}


/*h2 > mark {
	font-size: 36pt !important;
	color: var(--main-variant-color);
}*/

.fold-fold-control {
	cursor: pointer;
}

.fold-content {
	display: none;
}

.fold-unfold-control {
	display: none;
	cursor: pointer;
}

.mob-slider div .n2-ss-slider-1 {
	font-size: 11pt !important;
	min-height: 800px !important;
}

.wp-block-button__link {
	color: var(--main-variant-color) !important;
	border-radius: 0 !important;
	border: 2px solid var(--main-variant-color) !important;
	background-color: unset !important;
	font-size: 14pt !important;
	font-weight: 600 !important;
	padding: 12px 20px !important;
}

.wp-block-button__link:hover {
	color: white !important;
	background-color: var(--main-variant-color) !important;
}

div.fold-font > p {
	font-size: 16pt !important;
    line-height: 1.8 !important;
}

.mobile-spacer {
	max-height: 100px;
}

.mobile-spacer-2 {
	max-height: 40px;
}

/*

	Footer

*/
footer {
	flex: 0 1 auto;
	padding: 48px 16px;
	color: var(--main-color);
	text-align: center;
	background-color: #f4ffff;

	display: flex !important;
	flex-direction: column;
	justify-content: center;	
	gap: 32px;
}

footer > div {
	display: inline-block;
}

footer > * {
	margin: 0 8px;
}

footer a {
	color: var(--main-color);
	text-decoration: none;
}

.social {
	display: flex;
	text-align: center;
	flex-direction: row;
	gap: 14px;
	justify-content: center;
}

.social img{
	width: 24px;
	height: 24px;
	cursor: pointer;
}


/*

	Animations

*/
.fade-on-start {
	opacity: 0;
	transition: opacity 3s;
}

.fade-on-start-active {
	opacity: 1;
}

.fade {
    opacity: 0;
	transform: translate(-8px, 0);
	transition: transform 500ms;
}

/*

	Margins

*/
.mt-10 {
	margin-top: 10px;
}

@media (min-width: 570px) {
	header .content {
		flex-direction: row;
		justify-content: space-around;
		font-size: 30pt;
		padding: 30px 24px;
	}

	header .logo {
		width: 170px;
		height: 170px;
		padding-bottom: 24px;
	}

	.banner-text > div > span {
		display: block;
	}

	iframe {
		height: 300px;
	}
}

@media (min-width: 600px) {
	.left-header .logo {
		display: none;
	}

	header .logo {
		width: 190px;
		height: 190px;
		padding-bottom: 32px;
	}

	footer {
		text-align: left;
		flex-direction: row;
		align-items: start;
		justify-content: space-around;
	}
}

@media (min-width: 783px) {
	.greeting-1 {
		font-size: 45pt;
	}

	.greeting-2 {
		font-size: 45pt;
	}

	.small-gap p {
		margin-block-start: 1em;
		margin-block-end: 1em;
	}

	iframe {
		height: 430px;
	}
}

@media (min-width: 1000px) {
	.desktop-nav-menu {
		display: block;
	}

	.banner-text > div > span {
		display: inline;
	}

	.menu-toggle {
		display: none;
	}

	header .nav-container {
		padding-top: 4px;
	}

	.nav-menu.menu-open {
		display: none;
	}

	header .banner-image {
		height: 200px;
		width: 200px;
	}

	header .banner-image img {
		min-width: 80%;
		min-height: 80%;
		width: auto;
		height: auto;
		position: absolute;
		left: 10%;
		top: 92%;
		transform: translate(-50%, -50%) scale(0.25);
	}
	
	header .logo {
		width: 180px;
		height: 180px;
		margin-right: 48px;
		padding-bottom: 32px;
	}

	header .content {
		flex-direction: row;
		justify-content: space-around;
		font-size: 30pt;
		padding: 54px 24px;
	}

	.greeting-1 {
		font-size: 50pt;
	}

	.greeting-2 {
		font-size: 50pt;
	}

	header .banner-image {
		margin-left: 0;
	}

	.disable-on-desktop div {
		display: block !important;
	}

	.disable-on-desktop .fold-fold-control {
		display: none !important;
	}

	.disable-on-desktop .fold-unfold-control {
		display: none !important;
	}

	.mob-slider div .n2-ss-slider-1 {
		font-size: unset !important;
		min-height: 300px !important;
	}
	
	
	.mobile-spacer {
		max-height: unset;
	}
	
	
	.mobile-spacer-2 {
		max-height: unset;
	}
}

@media (min-width: 1400px) {
	header .logo {
		width: 230px;
		height: 230px;
	}

	header .banner-image {
		height: 300px;
		width: 300px;
	}

	header .banner-image img {
		min-width: 80%;
		min-height: 80%;
		width: auto;
		height: auto;
		position: absolute;
		left: 10%;
		top: 92%;
		transform: translate(-50%, -50%) scale(0.35);
	}

	header .content {
		justify-content: space-around;
		font-size: 30pt;
	}

	.greeting-1 {
		font-size: 65pt;
	}

	.greeting-2 {
		font-size: 65pt;
	}

	header .banner-image {
		margin-left: 0;
	}

	footer {
		line-height: 1.5;
	}

	footer .right-footer {
		line-height: 2;
	}
}

@media (min-width: 1685px) {
	header .content {
		padding: 60px 64px;
		font-size: 35pt;
	}

	.greeting-1 {
		font-size: 80pt;
	}

	.greeting-2 {
		font-size: 80pt;
	}
}