body {
	font-family: Helvetica;
	font-size: 32px;
	font-weight:700;
	
	
	background-color: #211B1B;
	color: #FDF9EE;
	margin: 40px auto 40px auto;
}

/* Text Styles */
h1 {
	font-size: 100px;
	font-weight: 700;
}

h2{
	font-size: 50px;	
}

a{
	text-decoration:none;
	color:#FDF9EE;
}

a{
	text-decoration: none;
	color:#3C3C3C;
	margin-left:20px;
	transition: color .2s, border-bottom .3s;
}

footer a {
	margin-left:0;
}
.case a {
color: none;
margin-left: 0;
}

/* Hover state styles */
a.hover:hover{
	color:#F9F871;	
}

a.selected{
	color:#F9F871;
	border-bottom:2px solid #F9F871;
}

/* navigation styles */

header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom:50px;
	max-width: 1084px;
	margin-left:auto;
	margin-right: auto;
}

/* Footer styles */
footer{
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 1084px;
	margin-left:auto;
	margin-right: auto;
	margin-top:50px;
}

footer a.side{
margin-right:20px;
}

/* Index styles */
section.hero{
	margin-top: 100px;
	margin-bottom:100px;
}

/* Page Styles */
div.container{
max-width: 1080px;
min-height:150px;
display: block;
margin-left:auto;
margin-right:auto;
}

.projects .container{
	display:flex;
	flex-wrap:wrap;
	overflow: hidden;
}

.project{
	width:50%;
	height:auto;
	position:relative;
}

.project img{
 width:100%;
 height:100%;
}

.overlay{
	position:absolute;
	left:0;
	right:0;
	width:100%;
	height:100%;
	padding:18px;

	opacity:0;
	background-color:#FFBDCD;
	color:#211B1B;
	transition: opacity 1s ease;
}

.project:hover .overlay{
	opacity:1;
}

.overlay p{
font-size:90px;
color:#211B1B;
}


/* Breakpoints */
@media (max-width: 1248px){
	
div.container {
max-width: 900px;
}
header{
	max-width:900px;
}

.overlay p{
font-size:70px;
}

}

@media (max-width: 950px){

section.hero{
	margin-top: 50px;
	margin-bottom:50px;
}

h1{
	font-size:70px;
}

h2{
	font-size:40px;
}
div.container{
max-width: 700px;
}
header{
	max-width:700px;
}

footer{
	display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay p{
font-size:50px;
}
}

@media (max-width: 650px){

section.hero{
	margin-top: 10px;
	margin-bottom:10px;
}

h1{
	font-size:40px;
}

h2{
	font-size:25px;
}
div.container{
max-width: 400px;
}
header{
	max-width:400px;
}

.overlay p{
font-size:25px;
}

}

@media (max-width: 420px){

section.hero{
	margin-top: 10px;
	margin-bottom:10px;
}

div.container{
max-width: 320px;
}
header{
	max-width:350px;
}
}