html, body {
	margin: 0px;
	padding: 0px;
	overflow-x: hidden;
	background-color: gray;
	-webkit-text-size-adjust: none;
}

#tausta {
	width: 100%;	
}

#site {
	background: url("kynat2.jpg");
	background-size: 100% 110%;
	padding-top: 130px;
	height: auto;
}

a.anchor {
	display: block;
    position: static;
    visibility: hidden;
	
}

a, a:link, a:visited, a:active {
	text-decoration: none;
	color: white;
	font-family: 'Handlee', cursive;
}


#runo-wrapper {
	width:100%;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
}

#runo {
	margin-left:auto;
	margin-right:auto;
	margin-top:-200px;
	min-width: 30%;
	width:400px;
	width: 30vw;
	text-align:center;
}


#navi {
	width: 100%;
	min-height: 10%;
	height: 80px;
	height: auto;
	background-color: rgba(102, 102, 102, 0.2);
	top: 0px;
	position: fixed;
	text-align: right;
	z-index: 99;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5), 2px 2px 2px rgba(0, 0, 0, 0.3), 4px 4px 5px rgba(0, 0, 0, 0.2);
}

#navi a {
	padding-right: 2%;
	padding-top: 1%;
	padding-bottom: 1%;
	font-size: 30px;
	font-size: 2.5vw;
	text-align: center;
	display: inline-block;
	box-sizing: border-box;
	
}

#navi a:first-of-type {
	width: auto;
	float: left;
	font-size: 2.5vw;
	margin-left: 20px;
	padding: 0px;
	padding-top: 1%;
	padding-bottom: 1%;
	
}

#contents1, #contents2, #contents3 {
	width: 80%;
	min-height: 250px;
	font-size: 150%;
	font-size: 1.65vw;
	margin-top: 100px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 50px;
	font-family: 'Handlee', cursive;
	background-color: rgba(255, 255, 255, 0.2);

} 



#contents3 {
	padding-left: 10%;
	position: relative;
	padding-top:30px;
}

#linkit {
	width: 300px;
	min-width: 20%;
	height: 400px;
	position: absolute;
	top: 30px;
	right: 10%;
	font-size: 150%;
	font-size: 1.65vw;
}

#linkit a, #linkit a:link, #linkit a:visited, #linkit a:active {
	text-decoration: none;
	color: black;
}

h-h {
	display: block;
	font-size: 200%;
	
}

b-b {
	font-weight: bold;
}

#valikuva1, #valikuva2 {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	

}

#valikuva1 img, #valikuva2 img {
	width: 50%;
	width: calc(50% - 0.4px);
	border-bottom: 5px solid gray;
	
}

#tuuma {
	text-align: center;
	font-size: 40px;
	font-size: 3.5vw;
	margin-left: -5%;
	font-weight: bold;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5), 2px 2px 2px rgba(0, 0, 0, 0.3), 4px 4px 5px rgba(0, 0, 0, 0.2);

}

#footer {
	width: 100%;
	height: 80px;
	min-height: 2.8vh;
	background-color: rgb(0,204,255);
	padding: 20px;
	font-size: 1.7vw;
	font-family: 'Handlee', cursive;
	overflow: hidden;
	
}



@media only screen and (max-width: 1300px), screen and (orientation:portrait) {



#navi a {
	padding-right: 20px;

}

#navi a:first-of-type {
	margin-left: 0px;
	font-size: 3vw;
}

#runo {
	width: 386px;
}

#tuuma {font-size: 150%;}

}

@media only screen and (max-width: 950px), screen and (orientation:portrait) {

#tausta-wrapper {
	margin-left:-150%;
	width:400%;
	text-align:center;
}
#tausta-wrapper img {
	width:auto;
	max-width:200%;
	min-height:320px;
}

#contents1, #contents2, #contents3 {font-size: 200%;}

#contents3 {position: static; padding: 0px; text-align: center;}

#tiedot {
	width: 100%;
	margin-bottom: 20px;
	

}

#tuuma {font-size: 120%;left:0px;}



.clearboth {
	position:static;
	clear:both;
	float:none !important;
}



#linkit {
	position:static;
	margin-left: auto;
	margin-right: auto;
	font-size: 100%;
}


#navi a{
	display:none;
}


#navi a:first-of-type {
	font-size: 35px;
	display:inline-block;
	width:100%;
	text-align:center;
}

#footer {
	font-size: 25px;
}


}

