body {
	font-family: Work Sans;
	font-size: 24px;
	line-height: 1.5;
	
	background-color: #000000;
	color: #ffffff;
	
	margin: 100px 20px 100px 20px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 1;
	transition: top 1s;
}

header.hide {
	top: -120px;
}

header img {
  float: left;
  width: 50px;
  margin: 20px 0 0 20px;
}

header nav {
  float: right;
  margin: 25px 30px 0 0;
}

header a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 0 0 10px;
  padding: 0 0 3px 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.5s;
}

header a:hover {
  border-bottom: 2px solid #666666;
}

header a.selected {
  border-bottom: 2px solid #ffffff;
}

header a.selected:hover {
  border-bottom: 2px solid #ffdc00;
}

section {
  text-align:  center;
}

div {
  position: relative;
  display: inline-block;
  margin: 20px;
  width: 300px;
}

div.large {
  width: 420px;
}

div.xlarge {
  width: 600px;
}

div.small {
  width: 250px;
}

h2 {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 250px;
		
  font-size: 36px;
  line-height: 1.2;
  text-align: left;
  
  opacity: 0;
  transition: opacity 1s;
}

div:hover h2 {
  opacity: 1;
}

div img {
	opacity: 1;
	transition: all 1s;
}

div:hover img {
	opacity: 0.5;
}

footer {
	position: fixed;
	bottom: 0;
	left: 0;
  width: 100%;
	
  overflow: hidden;
  padding: 20px;
}

footer p {
  float: left;
}

footer nav {
  float: right;
}

footer a {
  text-decoration: none;
}

footer img {
	width: 24px;
}



/* for the grid style page */
section.list {
  margin: 120px 100px 100px 100px;
  text-align: left;
  font-size: 48px;
  line-height: 1.2;
}

section.list a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

section.list img {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  opacity: 0;
  transition: opacity 1s;
  z-index: 2;
  pointer-events: none;
}

section.list a:hover img {
  opacity: 1;
}

