body {
	font-family: 'Inter', sans-serif;
	margin: 0;
	padding: 0;
	background-image: url('/_images/sikeres-parkapcsolat.webp');
	background-position: top;
	background-repeat: no-repeat;
	background-size: cover;
	color: #3c2c1e;
}

.container, footer {
	max-width: 800px;
	margin: auto;
	padding: 40px;
	background-color: rgb(255 245 235 / 74%);
	border-radius: 15px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	margin-top: 20px;
	border: 1px solid #f6ad74;
}

.container {
	opacity: 0;
	transform: translateY(-100px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

body.loaded .container {
	opacity: 1;
	transform: translateY(0);
}

header h1 {
	font-size: 2em;
	text-align: center;
	color: #522e1a;
	margin-bottom: 10px;
	text-shadow: 3px 4px 7px #a1a1a1;
	text-wrap: balance;
}

header p {
	text-align: center;
	color: #6b4c3b;
	font-size: 1.1em;
}

.content-section h2 {
	text-align: center;
	color: #854d25;
	font-size: 1.6em;
	text-shadow: 3px 4px 7px #a1a1a1;
}

ul {
	padding-left: 30px;
	color: #3c2c1e;
	width: 70%;
	margin: 0 auto;
	list-style: none;
}

ul li::before {
	content: "❤️";
	margin-right: 10px;
	display: inline-block;
}

ul li {
	opacity: 0;
	transform: translateX(-10px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

ul li:nth-child(1) { transition-delay: 0.1s; }
ul li:nth-child(2) { transition-delay: 0.2s; }
ul li:nth-child(3) { transition-delay: 0.3s; }
ul li:nth-child(4) { transition-delay: 0.4s; }

body.loaded ul li {
	opacity: 1;
	transform: translateX(0);
}

form {
	margin-top: 30px;
}

label {
	display: block;
	margin-top: 15px;
	font-weight: bold;
	color: #3c2c1e;
}

input[type="text"],
input[type="email"] {
	width: calc(100% - 20px);
	padding: 10px;
	border: 1px solid #b48868;
	border-radius: 5px;
	font-size: 1em;
	background: #0000009c;
	color: #f9d5b4;
}

input[type="text"]:-webkit-autofill,
input[type="email"]:-webkit-autofill {
	box-shadow: 0 0 0 1000px #0000009c inset !important;
	-webkit-text-fill-color: #f9d5b4 !important;
	border: 1px solid #b48868 !important;
	border-radius: 5px !important;
	font-size: 1em !important;
}

input:-internal-autofill-selected {
	appearance: none !important;
	background-color: #0000009c !important;
	color: #f9d5b4 !important;
}

input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #e5cf93;
	background-color: #0000009c;
	cursor: pointer;
	position: relative;
	border-radius:3px;
	margin-left:0px;
}

input[type="checkbox"]:checked::after {
	content: "✔";
	color: #f4af7b;
	font-size: 25px;
	position: absolute;
	left: 1px;
	top: -12px;
}

button {
	background-color: #a34e1e;
	color: white;
	font-weight: bold;
	padding: 12px 24px;
	border: none;
	border-radius: 5px;
	margin-top: 40px;
	cursor: pointer;
	font-size: 1em;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
	background-color: #c26a3d;
	transform: scale(1.05);
}

.ff {
margin:10px;
}

.success {color:#2d842d;}
.error {color:#ff0000;}

footer {
	max-width: 800px;
	margin: 40px auto !important;
	padding: 40px;
	margin-top:200px !important;
	background-color: rgb(255 245 235 / 74%);
	border-radius: 15px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	border: 1px solid #f6ad74;
}

footer a {
	text-decoration:none;
	color:#a34e1e;
}

#heartContainer {

	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: hidden;
	z-index: 1;
}

.heart {
	position: absolute;
	color: #ff5e7e;
	font-size: 16px;
	animation: floatUp 7s ease-in forwards;
	opacity: 0.8;
}

@keyframes floatUp {
	0% {
		transform: translateY(0) scale(1);
		opacity: 0;
	}
	20% {
		opacity: 0.6;
	}
	80% {
		opacity: 0.9;
	}
	100% {
		transform: translateY(-100vh) scale(1.4);
		opacity: 0;
	}
}

@media (max-width: 600px) {
	.container, footer {
		margin: 10px !important;
		padding: 30px !important;
		border-radius: 10px;
	}

	footer{
		margin-top:200px !important;
	}
	input[type="checkbox"] {
		width:40px !important;
	}
}
