#writing-page {
	position: absolute;
	background: #F0F0EE;
	text-align: center;
	z-index: 10;
	padding: 5em;
	box-sizing: border-box;
}

body {
	background: #F0F0EE;
}

.article {
	width: 18em;
	height: 12em;
	margin: 0.2em;
	display: inline-block;
	background-size: cover;
	vertical-align: top;	
	position: relative;
	transition: all 0.25s ease-out;
	overflow: hidden;
}

.article a {
	display: block;
	width: 100%;
    height: 100%;
    transition: background-position 0.5s ease-in;
}
.article a:before {
	content: "";
    background-color: #fff;
    display: block;
    position: absolute;
    width: 220%;
    height: 220%;
    top: -6em;
    left: -45em;
    transform: rotate(15deg);
    opacity: 0.1;
    transition: left 1s ease-in-out;
}

.article:hover {
	transform: rotateX(-8deg) rotateY(8deg);
}
.article a:hover:before {
	left: -3em;
}

.article:hover a {
	background-position: -4em;
}

.article:hover .info h1,
.article:hover .info h2 {
	margin-right: 0.5em;
}

.article .info {
	position: absolute;
	width: 100%;
	bottom: 0;
	right: 0;
	font-family: 'Julius Sans One', sans-serif;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 0.5em;
    box-sizing: border-box;
    text-align: right;
}

.article .info h1 {
	font-size: 1em;
	font-weight: 100;
	color: #fff;
 	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
 	transition: margin-right 0.25s ease-in;
}

.article .info h2 {
	font-size: 0.8em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: normal;
    color: #F0A830;
    letter-spacing: 0.05em;
    background-repeat: no-repeat;
    background-position: center;
    transition: margin-right 0.25s ease-in;
    transition-delay: 0.15s;
}


#menu {
	background-color: rgba(0, 17, 34, 0.9);
	background-position: 1.2em 0.75em;
}

#menu ul li a {
	color: #eee;
}

@media screen and (max-width: 640px) {
  #menu {
    background-position: center 0.8em;
  }
}

