*, *::before, *::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	--align-default: 68.75rem;
	--gutter: 2rem;

	/* max-width: var(--align-default); */
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	color: #329600;;
	font-family: "aktiv-grotesk", sans-serif;
	background: #fff;
	font: 1rem/1 sans-serif;
}

@media screen and (max-width:  61.1875em) {
	body {
		--gutter: 1.5rem;
	}
}

header {
	max-width: var(--align-default);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}


article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

button {
	cursor: pointer;
}

button:-moz-focusring, [type="button"]:-moz-focusring, [type="submit"]:-moz-focusring {
	outline: 1px dotted;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
	display: block;
}

button, select, input, textarea {
	font: inherit;
}

sub, sup {
	line-height: 0;
}

ul, ol {
	margin: 0;
	padding: 0;
}

nav ul {
	list-style: none;
}

figure {
	margin: 0;
}

@media screen and (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

h1 {
	font-family: "aktiv-grotesk-extended", sans-serif;
	font-weight: 700;
	font-size: 4rem;
	margin-bottom: 2rem;
	margin-top: 0;
	color: #fff;
}

@media screen and (max-width: 61.1875em) {
	h1 {
		margin-bottom: 1rem;
		font-size: 2.5rem;
	}
}

p {
	color: #4e5b73;
	font-size: 1.125rem;
	line-height: 1.6875rem;
	margin-bottom: 0;
}

@media screen and (max-width: 61.1875em) {
	p {
		font-size: 1rem;
	}
}

a {
	text-decoration: none;
}	

header {
	display: flex;
	max-width: var(--align-default);
	padding: 1rem var(--gutter);
}

header svg {
	max-height: 5rem;
	max-width: 5rem;
}

.heading {
	display: flex;
	background: linear-gradient(90deg,#41a300 60vw,#fff 0);
}

.heading-text {
	margin-left: max((100vw - var(--align-default)) / 2, 0rem);
	padding: 7.3125rem var(--gutter);
	padding-right: var(--gutter);
	margin-right: var(--gutter);
	max-width: 34.75rem;
	position: relative;
}

.heading-text p {
	color: #fff;
}

.heading-text a {
	color: #fff;
	text-decoration: underline;
}

.heading-text::after {
	content: "";
	top: -1px;
	right: 0;
	width: 6px;
	height: 6px;
	position: absolute;
	display: block;
	background-color: #fff;
	-webkit-clip-path: polygon(0 0,100% 0,100% 100%,94% 78%,84% 57%,76% 45%,62% 30%,47% 18%,28% 8%);
	clip-path: polygon(0 0,100% 0,100% 100%,94% 78%,84% 57%,76% 45%,62% 30%,47% 18%,28% 8%);
	transform: translateX(calc(10vw - 5px));
}
@media screen and (max-width:  61.1875em) {
	.heading-text::after {
		display: none;
	}
}


.heading-image {
	display: flex;
	align-items: flex-end;
}

.heading-image img {
	object-fit: cover;
	width: 50vw;
	height: 28.125rem;
	margin-top: 4.375rem;
	border-radius: 0.25rem 0 0 0;
}

@media screen and (max-width:  61.1875em) {
	.heading {
		flex-direction: column-reverse;
		background: #41a300;
	}

	.heading-text {
		padding: 2rem var(--gutter);
	}

	.heading-image img {
		width: 100vw;
		height: auto;
		aspect-ratio: 16/9;
		margin-top: 0;
	}
}

.container {
	max-width: var(--align-default);
	padding: 0 var(--gutter);
	margin: 4rem auto;
	display: flex;
	gap: 2rem;
}

@media screen and (max-width:  61.1875em) {
	.container {
		margin: 2.5rem auto;
		flex-direction: column;
	}
}

.col {
	border-radius: 0.25rem;
	padding: 2.5rem;
	width: 100%;
	text-align: center;
}

.col h2 {
	display: none;
	/* font-family: "aktiv-grotesk-extended", sans-serif;
	color: #004249;
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	font-weight: 600; */
}

.col .title-image {
	margin: auto;
	max-height: 4.5rem;
	margin-bottom: 2.5rem;
}

.col p {
	color: #231F20;
	margin-top: 1.5rem;
}

.col.ytk {
	/* background-color: #D0E8E1; */
	background-color: #FAF6E7;
}

.col.yhdistys {
	background-color: #D0E8BF;
}

.c-button {
	background-color: #004249;
	color: white;
	padding: 0.6875rem 1.5rem;
	position: relative;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	display: inline-block;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.625rem;
	text-decoration: none;
	transition: all .25s cubic-bezier(0.19, 1, 0.22, 1);
}		

@media screen and (max-width: 61.1875em) {
	.c-button {
		font-size: 1.0625em;
	}
}

.c-button:hover {
	text-decoration: none;
}

.c-button:before {
	content: "";
	position: absolute;
	height: 1px;
	bottom: .875rem;
	left: 1.5rem;
	right: 1.5rem;
	background-color: currentcolor;
	transform: scaleX(0);
	transform-origin: left bottom;
	transition: all .25s cubic-bezier(0.19, 1, 0.22, 1);
}	

.c-button:hover:before {
	transform: scaleX(1);
}
	
.c-navigation {
	display: flex;
	align-items: center;
	margin-left: auto;
	gap: 0.75rem;
}

@media screen and (max-width: 61.1875em) {
	.c-navigation {
		gap: 0.5rem;
	}
}

.c-navigation li {
	border: 1px solid #004249;
	background: #fff;
	width: 2.5em;
	height: 2.5em;
	display: inline-block;
	border-radius: 50%;
}

.c-navigation li.m-active {
	background: #004249;
}

.c-navigation li.m-active a {
	color: #fff;
}

.c-navigation a {
	display: block;
	color: #004249;
	padding: 0.5rem;
	font-family: "aktiv-grotesk-condensed", sans-serif;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	transform: translateY(1px);
}
	
@media screen and (max-width: 61.1875em) {
	.logo svg {
		height: 50px;
		width: 50px;
	}
}
		
	
	
	


