@charset "UTF-8";
html { box-sizing: border-box;} 
body {
	margin-bottom: 320px;
	padding:0px;
	color: #000000;
	line-height: 1.5em;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}

.header {
	height: 100%;
	width: 100%;
}

.logot {
	height: auto;
	width: auto;
	position: static;
}

.naamat {
	max-width: 200px;
	max-height: 200px;
	min-width: 200px;
	min-height: 200px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.page {
	background-color: #e4e4e4;
}
.navbar {
	
	padding: 10px 0px 10px 0px;
	background-color: #3f3f3f;
}
.navbar a {
	
	text-transform: uppercase;
	text-decoration: wavy;
	text-align: center;

	font-weight: bolder;
	font-size: 2.5em;
	color: #ffffff;

	display: block;
	margin: 15px;
	padding: 9px;

	border: 5px groove #000000;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}
.navbar a:hover { 
	color: #fff; 
	background-color: rgba(255,255,255,.15); }

.navbar a.active {
	color: #fff;
}

h1 { 
	color: #b90303; 
	margin: 0em 0em .5em 0em; 
	font-size: 2em; 
	font-weight: normal; 
	text-align: center;
}
/*tekstin keskitys*/
.esittely {
	text-align: left;
}
/*footerin määritys*/
footer { 
	background-color: #ffffff;
}

/*gridi tiimisivulle*/
.wrappertiimi {
	display: grid;
	grid-template-columns: auto;
	grid-template-rows: auto;
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	border: solid black 4px;
	background-color: white;
	overflow: auto;
	}
	
	.div1 { grid-area: 1 / 1 / 2 / 2; }
	.div2 { grid-area: 1 / 2 / 2 / 3; }
	.div5 { grid-area: 2 / 1 / 3 / 2; text-align: center;}
	.div6 { grid-area: 2 / 2 / 3 / 3; text-align: center;}
	.div3 { grid-area: 3 / 1 / 4 / 2; }
	.div4 { grid-area: 3 / 2 / 4 / 3; }
	.div7 { grid-area: 4 / 1 / 5 / 2; text-align: center;}
	.div8 { grid-area: 4 / 2 / 5 / 3; text-align: center;}
	.div9 { grid-area: 5 / 1 / 6 / 3; text-align: center; margin-top: 30px;} 


/*kuvat footerissa keskitetty*/
.row_centered {
	padding: 0;
	margin: 0;
	}

.link {
	padding: 0;
	margin: 0;
	display: inline;
}
/*laittaa youtubevideon keskelle*/
iframe {
	top:0;
	left:0;
	width:100%;
}

.pitchvid { 
	grid-area: 2 / 2 / 3 / 3; 
	margin-top: 20px;
} 

.leaderboard {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(8, 1fr);
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	border: solid black 5px;
	}

.divlead1 { grid-area: 1 / 1 / 2 / 2; text-align: center; font-size: 30px; margin-top: 10px;}
.divlead2 { grid-area: 2 / 1 / 5 / 2; text-align: center;margin-top: 10px;} 

.gplay {
	width: 50%;
	height: 50%;
}
