/*
	Theme Name:	Chancen
	Author:		pepper
	Author URI:	https://pepper.green/
	Template:	generatepress
	Version:	1
*/
 

/* smooth scroll */
html {
	scroll-behavior: smooth;
}
body {
	overflow-y: scroll;
}

/* animations */
@keyframes fadein {
	from {
		opacity:0;
	}
	to {
		opacity:1;
	}
}

/* fixes */
strong, b {
	font-weight: bold;
}
p {
	margin-bottom: 1.45em;
}
.site p a, 
.site li a {
	text-decoration: underline;
}
.site p a:hover, 
.site li a:hover {
	text-decoration: none;
}
.nowrap {
	white-space: nowrap;
}
.gb-icon svg {
	width: auto !important;
}
.site-header, .main-navigation:not(.slideout-navigation) {
	z-index: 1000 !important;
}
.pseudobackground {
	z-index: 0;
}
.pseudobackground::after {
	z-index: -1 !important;
}


/* Typography settings */
.site-main {
	word-spacing: -0.033em;
}

/* Hyphenate */
.site-main p, .site-main p,
.site-main h2, .site-main h3,
h1 {
	hyphens: auto;
	hyphenate-limit-chars: 12 5 5;
}
.site-main h2, .site-main h3,
h1 {
	text-wrap: balance;
}

/* Lists */
.site-main ul {
	list-style-type: "\2013";
	margin: 1em 0;
	padding: 0 0 0 .5em; 
}
.site-main ol {
	margin: 1em 0;
	padding: 0 0 0 1em; 
}
.site-main li {
	padding-left: 0.25em;
}
.site-main li > p {
	margin: 0;
}
.site-main ul ul,
.site-main ol ol,
.site-main ul ol,
.site-main ol ul {
	margin: 0;
}

.square {
	aspect-ratio: 1 / 1;
}

.gb-query-loop-wrapper .gb-query-loop-item:not(.has-post-thumbnail) .gb-grid-wrapper {
	row-gap: 0px !important;
} 


/* Contact form 7 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
	width: 100%;
	border-radius: 10px;
	padding: 0.75em 1.25em;
	border: 2px solid var(--hwh-black);
	font-size: 1.125rem;
	box-sizing: border-box;
	transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
	background-color: var(--hwh-white);
	color: var(--hwh-black);
	margin: 0;
}
.wpcf7 input[type="text"]:hover,
.wpcf7 input[type="email"]:hover,
.wpcf7 input[type="tel"]:hover,
.wpcf7 input[type="url"]:hover,
.wpcf7 textarea:hover,
.wpcf7 select:hover {
	background-color: var(--hwh-dusky-pink);
}

.wpcf7-form p:last-of-type {
	margin-bottom: 0;
}


/* Fehlermeldungen */
.wpcf7-not-valid-tip {
	border-color: #dc3232;
	    margin-top: .175em;
	color: var(--hwh-soft-grey);
	font-weight: bold;
}

.wpcf7-response-output {
	margin-top: 1em;
	padding: 1em;
	border-radius: 6px;
	font-weight: 600;
}

.wpcf7-validation-errors {
	border: 2px solid #dc3232;
	background-color: #fbeaea;
	color: #a00;
}

.wpcf7-mail-sent-ok {
	border: 2px solid #46b450;
	background-color: #e7f5ea;
	color: #2e7d32;
}

.wpcf7 input[type="submit"] {
	margin: 0;
	font-weight: bold;
	border-radius: 20px;
	border: none;
	background-color: var(--hwh-black);
	color: var(--hwh-soft-grey);
	padding: 0.75em 1.25em;
	transition: background 0.3s ease, color 0.3s ease;
}
.wpcf7 input[type="submit"]:hover {
	background-color: var(--hwh-dusky-pink);
	color: var(--hwh-black);
}


body {
			background-color: #3d7d94; /* Der dunkle Petrol-Ton aus dem Hintergrund */
			background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'%3E%3Ccircle cx='104.7' cy='44.3' r='11.85' fill='%23f5b4cc' /%3E%3Ccircle cx='79.6' cy='59.7' r='11.85' fill='%23004f9f' /%3E%3Ccircle cx='106.3' cy='75.8' r='11.85' fill='%23f39200' /%3E%3Ccircle cx='37.4' cy='22.3' r='11.85' fill='%23fe0' /%3E%3Ccircle cx='56' cy='43.7' r='11.85' fill='%239185be' /%3E%3Ccircle cx='63' cy='84.5' r='11.86' fill='%23fe0' /%3E%3Ccircle cx='80.7' cy='20.8' r='11.86' fill='%2300a984' /%3E%3Ccircle cx='41.2' cy='68.3' r='11.86' fill='%23f39200' /%3E%3Ccircle cx='89.5' cy='99.6' r='11.86' fill='%23a01545' /%3E%3Ccircle cx='18.3' cy='52.5' r='11.85' fill='%23004f9f' /%3E%3Ccircle cx='29.4' cy='95.4' r='11.86' fill='%2300a984' /%3E%3Ccircle cx='61.2' cy='111.2' r='11.86' fill='%239185be' /%3E%3C/svg%3E");
			background-position: bottom -50vh right -50vh;
			background-size: 150vh 150vh;
			background-repeat: no-repeat;
}