body {
    text-align: left;
    margin: auto;
	background-color: #fdffff;
}

#ihankaikki {
    margin: auto;
    width: 100%;
}

#kaikki {
    width: 900px;
    margin: auto;
}

logo {
    position: absolute;
    top: 15px;
    left: 0px;
	height: 160px;
	width: 160px;
    transition: all 1s ease-out-in;
}

cafemamma {
    font-family: "Comic Sans MS";
    color: #009943;
    font-weight: bold;
	font-size: 36px;
    opacity: 1.0;
}

cafemamma:hover {
    opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}

#titteli {
    width: 100%;
    text-align: center;
    top: 10px;
	height: 95px;
	font-size: 36px;
 	background: url('resources/kuppi.png');
    background-size: 90px 60px;
    background-position: center top;
    background-repeat: no-repeat;
}

#ylapalkki {
    position: relative;
    float: center;
    top: 80px;
//    margin-left: 60px;
	height: 150px;
	width: 900px;
    text-align: center;
	font-size: 18px;
}

linkit {

}


#keskipalkki {
    position: relative;
//    margin-left: 10px;
	height: 540px;
    width: 100%;
    top: 160px;
    text-align: center;
    -webkit-columns: 30% 3; /* Chrome, Safari, Opera */
    -moz-columns: 33% 3; /* Firefox */
    columns: 33% 3;
	padding: 15px;
}

#vasenlohko {
    position: relative;
    display: inline;
    float: left;
    margin: 5px;
	height: 490px;
    width: 255px;
	padding: 15px;
 	background: url('resources/kuppi.png');
    background-size: 10% 4%;
    background-position: center top;
    background-repeat: no-repeat;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#keskilohko {
    position: relative;
    display: inline;
    float: left;
    margin: 5px;
	height: 490px;
    width: 255px;
	padding: 15px;
	background: url('resources/kuppi.png');
    background-repeat: no-repeat;
    background-size: 10% 4%;
    background-position: center top;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#oikealohko {
    position: relative;
    display: inline;
    float: left;
    margin: 5px;
	height: 490px;
    width: 255px;
	padding: 15px;
	background: url('resources/kuppi.png');
    background-repeat: no-repeat;
    background-size: 10% 4%;
    background-position: center top;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#tekstit {
   margin: 10px;
   margin-top: 20px;
}

alapalkki {
	position: absolute;
	bottom: 0px;
	left: 160px;
	height: 20px;
	width: 70%;
	padding: 5px;
}

vsivupalkki {
	position: absolute;
	top: 160px;
	left: 0px;
	height: 70%;
	width: 150px;
	padding: 5px;
}

osivupalkki {
	position: absolute;
	top: 160px;
	right: 0px;
	height: 70%;
	width: 100px;
	padding: 5px;
}
td {
	background-color: #ffffff;
}

#teksti {
    position: absolute;
    top: 00px;
    left: 0px;
	height: 100%;
	width: 100%;
	opacity: 0.9;
    background-size: 100%;
    background-position: center;
}

a:link, a:visited {
    display: inline;
    font-weight: bold;
    color: black;
    width: 200px;
    text-align: center;
    padding: 4px;
    text-decoration: none;
    text-transform: uppercase;
}

a:hover, a:active {
    background-color: #f0f0f0;
}

p::first-letter {
    color: #009943;
    font-size: xx-large;
}

div.img {
    margin: 5px;
    padding: 5px;
    height: auto;
    width: auto;
    float: left;
    text-align: center;
}	

div.img img {
    display: inline;
    margin: 5px;
    border: 1px solid #ffffff;
}

div.desc {
  text-align: center;
  font-weight: normal;
  width: 180px;
  margin: 5px;
}

ul {
    list-style-type: none;
    widht: 80%;
    margin: 30;
    padding: 30;
    overflow: hidden;
    color: white;
	background-color: #faf8ec;
}

li a {
    display: block;
    float: left;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
	background-color: #faf8ec;
}

li a:hover {
    color: white;
	background-color: #fffff;
}

#kakku {
    width:30%;
    heigth:30%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: width 2s, height 4s;'
}

#kakku:hover {
    width:90%;
    heigth:90%;
}