:root {
	--flowrakisColor_Background: #ffffff;
	--flowrakisColor_Primary: #333333;
	--flowrakisColor_Primary_Muted: #666666;
	--flowrakisColor_Accent: skyblue;
	--flowrakisBorder_Radius: 8px;
	--flowrakisShadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
	font-family: system-ui, -apple-system, sans-serif;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: #f4f4f4;
	margin: 0;
}


body > header {
	padding: 16px;
	margin: 1em;
	border-radius: 15px;
	display: grid;
	grid-template-columns: auto auto;
	background-color: var(--flowrakisColor_Background);
  	border-bottom: 1px solid var(--flowrakisColor_Accent);

}

body > header > :nth-child(2) {
  justify-self: end;
}

body > header h1 {
	font-size: 1.25rem;
	margin: 0 0 8px 0;
}

body > header p {
	font-size: 0.9rem;
	margin: 0;
	line-height: 1.5;
}

body > header a { 
	text-decoration: none;
	color: var(--flowrakisColor_Accent)  }

section {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 1.5rem;
	max-width: 960px;
	margin: 1em ;
}

section>h2, section>p {
	grid-column: 1 / -1;
	/* heading spans full width */
	margin: 0 0 0.5rem;
	font-size: 1.4rem;
}

section>p { color: var(--flowrakisColor_Primary_Muted);}
article {
	background: var(--flowrakisColor_Background);
	border-radius: var(--flowrakisBorder_Radius);
	box-shadow: var(--flowrakisShadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease;
}

article:hover {
	transform: translateY(-5px);
}

figure {
	margin: 0;
	height: 200px;
	overflow: hidden;
}

figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

article header {
	padding: 16px;
	margin: 0;
}

article header h2 {
	font-size: 1.25rem;
	margin: 0 0 8px 0;
	color: var(--flowrakisColor_Primary);
}

article header p {
	font-size: 0.9rem;
	color: var(--flowrakisColor_Primary_Muted);
	margin: 0;
	line-height: 1.5;
}

footer {
	padding: 16px;
	border-top: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0;
}

footer p {
	font-size: 1.1rem;
	font-weight: bold;
	color: var(--flowrakisColor_Primary);
	margin: 0;
}

footer button {
	background: var(--flowrakisColor_Accent);
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 500;
}

footer button:hover {
	opacity: 0.9;
}

article input {width:100%;box-sizing:border--box;}