*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 15px;
}

html {
  -webkit-text-size-adjust: 100%;
  line-height: 1.4rem;
}

body {
	line-height: inherit;
	background-color: #333333;
	
	font-family: 'Open Sans', Verdana, Tahoma, Arial, sans-serif;
	font-weight:400;
	color: #FAFAFA;
}
DIV#content {
	max-width: 1200px;
    margin: 0 auto;
	background-color: #333333;
	padding:1rem;

	display: flex;
    flex-direction: column;
}

H1, H2, H3 {
	font-family: 'EB Garamond', Verdana, Tahoma, Arial, sans-serif;
	letter-spacing: 0.04rem;
	font-weight:500;
	line-height: 1.7rem;
}
H2 {
	font-size: 1.3rem;
	margin:2rem 0 0.8rem 0;
	
}
p {
	font-size: 1rem;
	margin-bottom:0.6rem;
	margin:0 0 1.5rem 0;
	line-height: 1.5rem;
}
.pieniTxt {
	font-size:0.85rem !important;
}
A:link, 
A:visited {
	color:#5fb2ff;
	text-decoration:underline;
}
A.alleviivattu,
A:hover, 
A:active {
	text-decoration:none !important;
}

header {
	padding:2rem 0 1rem 0;
	
}
header h1 {
	text-align: center;
	text-transform: uppercase;
	font-size: 2rem;
	letter-spacing: 0.1rem;
}
header div {
	font-family: 'EB Garamond', Verdana, Tahoma, Arial, sans-serif;
	text-align: center;
	font-size: 1rem;
	letter-spacing: 0.02rem;
	margin: 0.8rem 0 0 0;
}

main div {
	padding:0 0 0 0.8rem;
}

div#tiedote {
	order: 1;
}
main {
	order: 2;
}
footer {
	order: 3;
	text-align: center;
	margin:2rem 0;
}
footer P {
	font-size:0.85rem !important;
}
 
footer A:link, 
footer A:visited {
	color:#FAFAFA;
	text-decoration: none;
	font-size:0.9rem !important;
}
footer A:hover, 
footer A:active {
	color:#FAFAFA;
	text-decoration: underline !important;
	font-size:0.9rem !important;
}