* {
  box-sizing: border-box;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  width: 100%;
}

@media only screen and (min-width: 768px) {
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
.otsikko {margin: 5% auto auto 5%}
.sisalto {margin: auto auto auto 5%}
}

[class*="kasa-"] {
  border: 1px solid black;
}

.kasa-1 {height: 8.33%;}
.kasa-2 {height: 16.66%;}
.kasa-3 {height: 25%;}
.kasa-4 {height: 33.33%;}
.kasa-5 {height: 41.66%;}
.kasa-6 {height: 50%;}
.kasa-7 {height: 58.33%;}
.kasa-8 {height: 66.66%;}
.kasa-9 {height: 75%;}
.kasa-10 {height: 83.33%;}
.kasa-11 {height: 91.66%;}
.kasa-12 {height: 100%;}

body 	{
	background: #f3f2ee;
	padding: 0px;
	margin: 0px;}

@font-face {
	font-family: 'Raleway', sans-serif;
	font-family: 'Muli', sans-serif;
    font-family: CaviarDreams;
    src: url(CaviarDreams.ttf);}

p	{
	font-family: Muli, Trebuchet MS, Verdana; 
	color: #000; 
	font-size: 14pt; 
	line-height: 30px; }	
	
p.keski {
	text-align: center;
}

p.keskipien {
	text-align: center;
	font-size: 10pt; 
}

h1	{font-family: Raleway, Trebuchet MS, Verdana; 
	color: #f3f2ee; 
	font-size: 35pt; 
	letter-spacing: 5pt;
	text-shadow: 4px 4px #000000;
	text-align: center;
	}
	
a:link, a:visited {
	color: #000000; 
	text-decoration: underline;}

a:hover {
	color: #000000; 
	text-decoration: none;
    background-color: #f3f2ee;}
	
div.sisalto {
	display: block;
	position: relative;
    border: 1px solid #000000;
	border-radius: 20px;
	padding: 20px;
	background-color: #c2cad3;}
	
div.vali {
	display: block;
	position: relative;
	padding: 10px;}

div.otsikko {
	display: block;
	position: relative;
	float: center;
    border: 1px solid #000000;
	border-radius: 20px;
	background-image: url("kuvat/katto.png");
	background-size: cover;
	background-repeat: no-repeat;
}

div.teksti {
	display: block;
	position: relative;
	top: 330px;
	left: 0px;
	width: 800px;
	margin: auto;
	padding: 5pt;}