body {
	background-color: #eee;
}

.main {
	margin: 0 auto;
	text-align: center;
	width: 700px;
	min-width: 700px;
	background-color: #EEEEEE;
	margin-top: 5%;
	padding: 30px;
	box-shadow: 0 0 65px #CDBE9F inset, 0 0 20px #BEAE8C inset, 0 0 3px #816F47;
}

h1 {
	font-size: 3em;
	animation-duration: 3s;
	animation-name: slidein;
}

@keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%; 
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}

.logo-title, .block {
	display: block;
}

.block {
	/*background-color: red;*/
	padding-right: 10px;
}

li {
	display: inline;
}
li a {
	font-size: 2em;
	display: inline-block;
	vertical-align: top;
	height: 100px;
	width: 22%;
	text-align: center;
	background: white;
	padding: 20px 10px 0px 10px;
	margin: 0 20px;
	color: #615334;
	text-decoration: none;
	/*line-height: 2.6em;*/
	background: -moz-linear-gradient(center bottom , #DACDB1 11%, #F0E8D8 56%) repeat scroll 0 0 #F0E8D8;
	background: -webkit-gradient(linear,left bottom,left top,color-stop(0.3, #DACDB1),color-stop(0.65, #F0E8D8));

	-moz-box-shadow: 0 0 65px #CDBE9F inset, 0 0 20px #BEAE8C inset, 0 0 3px #816F47;
	-webkit-box-shadow: 0 0 65px #CDBE9F inset, 0 0 20px #BEAE8C inset, 0 0 3px #816F47;
	box-shadow: 0 0 65px #CDBE9F inset, 0 0 20px #BEAE8C inset, 0 0 3px #816F47;
	-moz-transition: all 0.3s ease-out;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.ex1 a:hover, .ex1 a:focus {
	transform: scale(1.2);
	box-shadow: 0 0 65px #CDBE9F inset, 0 0 20px #BEAE8C inset, 0 0 15px #b6a684;
}