﻿
@keyframes hovernavButt {
	0%		{box-shadow: 0px 0px 10px 1px  rgb(57, 219, 206);}
	33% 	{box-shadow: 0 0 0px 0px #aeeebd;}
	50%		{box-shadow: 0px 0px 5px 1px  rgb(57, 219, 206)}
	66% 	{box-shadow: 0 0 0px 0px #aeeebd;}
	100%	{box-shadow: 0px 0px 10px 1px  rgb(57, 219, 206);}
}

@font-face {
    font-family: 'monopolmedium';
    src: url('/fonts/monopol-webfont.woff2') format('woff2'),
         url('/fonts/monopol-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Roboto";
    src: url("/fonts/Roboto.ttf") format("truetype");
    font-weight: 400;
}
@font-face {
    font-family: "Inter";
    src: url("/fonts/Inter.ttf") format("truetype");
    font-weight: 400;
}

* {
	box-sizing: border-box;
}

html {
	font-size: 16px;
}

body {
		background: #00cc66;
		background: linear-gradient(122deg, rgba(174,238,189,1) 50%, rgb(57, 219, 206) 100%);
		font-family: "Inter", sans-serif;
		color: #dedede;
		margin: 0;
		padding: 0;
}

a {
	text-decoration: none;
	color: #00cc66;
}

#wrapper {
	width: min(100%, 1000px);
	min-height: 100vh;
	margin: 0 auto;
	padding: 1rem;
	background: rgba(0, 0, 0, 0.66);
	border: 2px solid rgba(174,238,189,1);
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: 1rem;

	.logotext {
		-webkit-text-stroke: 1px #fff8;
		font-size: 3rem;
		font-family: 'monopolmedium';
		font-weight: 800;
		color: #aeeebd;
		.partone {
			color: #00b337;
		}
		.parttwo {
			color: #232323;
		}
	}
}

nav {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.navbutton {
	border: 2px solid #aeeebd;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	font-weight: bold;
	font-size: 0.95rem;
	opacity: 0.9;
	background: rgba(0, 0, 0, 0.2);
	transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.navbutton:hover,
.navbutton:focus-visible {
	border-color:  rgb(57, 219, 206);
	background: linear-gradient(122deg, rgba(174, 238, 189, 0.7) 50%,  rgb(57, 219, 206, 0.7) 100%);
	color: #000;
	opacity: 1;
	animation: hovernavButt 10s ease-in-out 0s infinite;
	transform: translateY(-1px);
}

main {
	flex: 1;
	gap: .5rem;

	section:not(.hero) {
		max-width: 100%;
		background: rgba(255, 255, 255, 0.045);
		border: 1px solid rgba(174,238,189,0.08);
		border-radius: 10px;

		padding: 1.25rem;
		margin-bottom: 1.25rem;

		h1, h2 {
			margin: 0 0 0.75rem;
			color: #aeeebd;
			text-shadow: 1px 1px 2px #0008;
		}
		a {
			color: #00cc66;
			text-decoration: underline;
		}
		h1 {
			font-size: 1.6rem;
		}
		h1::after {
			content: "";
			display: block;
			width: 48px;
			height: 3px;
			background: rgba(174,238,189,0.6);
			margin-top: 0.5rem;
		}
		h2 {
			font-size: 1.25rem;
		}
		p {
			margin: 0 0 0 1.5rem;
		}
	}

	.hero {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;

		justify-self: center;
		margin-bottom: 2rem;
		padding: 1.25rem;

		min-height: 420px;

		background:
			linear-gradient(
				145deg,
				rgba(255,255,255,0.08),
				rgba(255,255,255,0.03)
			);

		border: 1px solid rgba(174,238,189,0.35);

		backdrop-filter: blur(4px);

		box-shadow:
		0 0 45px rgba(0,0,0,0.35),
		inset 0 0 40px rgba(255,255,255,0.02);

		border-radius: 12px;

		position: relative;
		overflow: hidden;

		h1 {
			font-size: clamp(2.8rem, 7vw, 5rem);
			line-height: 0.95;
			white-space: nowrap;

			margin: 0 0 1.5rem;

			color: #aeeebd;

			text-shadow:
				0 0 10px rgba(0,0,0,0.5),
				0 0 20px rgba(0,0,0,0.3);
		}

		p {
			margin: 0 0 .75rem 1.5rem;
			font-size: 1rem;
			line-height: 1.65;
			color: rgba(255,255,255,0.85);
		}

		.ctabutton {
			align-self: center;
			font-weight: bold;
			font-size: 1.5rem;

			margin-top: 1.5rem;
			padding: 1rem 1.8rem;

			border-radius: 12px;

			background: linear-gradient(
				122deg,
				rgba(174,238,189,1) 50%,
				rgb(57, 219, 206) 100%
			);

			color: #000;

			box-shadow: 0 0 18px rgba(57,219,206,0.45);

			transition: transform 0.2s ease, box-shadow 0.2s ease;

			&:hover {
				background: linear-gradient(
					302deg,
					rgba(174,238,189,1) 50%,
					rgb(57, 219, 206) 100%
				);
				transform: translateY(-2px);
				box-shadow: 0 0 26px rgba(57,219,206,0.65);
			}
		}
	}

	#vorhernachher {
		border: 1px solid rgba(57,219,206,0.25);
		background: rgba(255,255,255,0.07);

		h2 {
				margin-top: 1rem;
				margin-bottom: .5rem;
				padding-bottom: 0;
				font-size: 1.1rem;
				color: rgba(174,238,189,0.9);
			}

			.vorhernachhercontainer {
				display: flex;
				flex-direction: row;
				justify-content: center;
				gap: .5rem;
			
			.vorher, .nachher {
				h3 {
					margin-top: 1rem;
					margin-bottom: .5rem;
					padding-bottom: 0;
					width: 100%;
					font-size: 1.1rem;
					color: rgba(174,238,189,0.9);
				}
				img, object {
					max-width: 100%;
					min-width: 200px;
					border-radius: 8px;
					border: 1px solid rgba(174,238,189,0.15);
					box-shadow: 0 0 10px rgba(0,0,0,0.2);
				}
			}
		}
	}
}

footer {
	text-align: center;
	padding: 0.5rem;
	border: 1px solid rgba(174,238,189,0.08);
	background: rgba(255, 255, 255, 0.06);
	border-radius: 10px;
}


@media (max-width: 768px) {
	header {
		flex-direction: column;
		align-items: center;
		text-align: center;

		margin-left: 0;
	}

	nav {
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;

		.navbutton {
			width: 100%;
			text-align: center;
		}
	}

	header .logotext {
		font-size: 2rem;
	}


	main {
		margin-top: 1rem;

		.hero {
			padding: 3rem 1.5rem;
			min-height: auto;

			align-items: center;
			text-align: center;
		
			h1 {
				font-size: clamp(2.2rem, 10vw, 3.5rem);
			}

			p {
				font-size: 1rem;
				margin: 1rem 0;
			}
		}

		#vorhernachher {
		
			.vorhernachhercontainer {
				flex-direction: column;
				flex-wrap: wrap;
				align-items: center;
			}
			.vorher, .nachher {
				align-items: space-between;
				text-align: center;
			}
		}
	}

	.navbutton {
		padding: 0.5rem 0.65rem;
	}
}


@media (max-width: 480px) {

#wrapper {
		padding: 0.35rem;
	}

	.hero {
		padding: 2rem 1rem;
		border-radius: 8px;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.navbutton {
		font-size: 0.95rem;
	}

	main section {
		padding: 1rem;
	}
}


