body{
	font-family: DM Sans;
	font-size: 24px;
	line-height: 1.5;
	
	background-color: #211E1C;
	color: #FAFAFA;
	margin: 40px auto 40px auto;

}


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

header img {
	max-height:154px;
}

.hero{
max-width: 1084px;
margin-left:auto;
margin-right:auto;
}

.spacer{
  display:flex;
	align-items: center;
	justify-content: center;
}
.spacer img{
  max-height: 100px;
}


.hero a{
  color: #F46FB1;
}

footer{
	margin-top:50px;
	}

nav, footer{
	font-size:40px;
}

h1 {
	font-family: Montserrat;
	font-size: 70px;
	font-weight: 700;
	line-height:1.3;
	text-align:center;
}

h2 {
	font-family: Montserrat;
	font-size:50px;
	text-align:center;
	font-weight: 700;
}

h3 {
	font-family: Montserrat;
	font-size:70px;
	text-align: left;
	font-weight: 700;
	color:#211E1C;
}

/* nav{
	font-family: Montserrat;
	font-size:31px;
	color:#3C3C3C;
	font-weight: 700;
} */

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


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

a.hover:hover,a.selected{
	color:#F2693E;
}

/* Span Styles */
span.blue{
	color:#0A8EAD;
}

span.pink{
	color:#F46FB1;
}

span.green{
	color:#6AA272;
}

span.orange {
	color:#F2693E;
}


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


/* Home page styles */

.container{
	max-width:1080px;
	margin-left:auto;
	margin-right:auto;
}

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

.overlay {
	position:absolute;
	inset: 0;
	width:auto;
	height:auto;
	padding:20px;
  box-sizing: border-box;

	opacity:0;
	background-color:#F46FB1;
	transition: opacity 1s ease;
}

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


.project {
	width:50%;
	height: fit-content;
	position:relative;
  box-sizing: border-box;
}

.project img {
 width:100%;
 height:100%;
 /* height:auto; */
}



.project h3 {
	font-weight:700;
	color:#211E1C;
	text-align: left;
	position:absolute;
	top: 15px;
	left: 15px;
  padding: 10px;
}



/* Media Queries for responsive styles */

@media (max-width: 1248px) {
  body {
    width: auto;
    margin: 80px 64px 48px 64px;
  }


}

@media (max-width: 920px) {
  header {
    flex-direction: column;
  }

	h1{
		font-size: 50px;
	}

	h2{
		font-size: 40px ;
	}

	h3{
		font-size: 40px ;
	}

	/* nav{
		margin-bottom:20px;
	} */

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

  /* nav a {
    margin: 24px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
		padding-top:20px;
  } */

  }

	@media (max-width: 920px){
	
  nav,
  footer {
    font-size: 24px;
  }
	}

  header img {
    max-width: 300px;
  }

  header a {
    margin: 0 16px 0 16px;
  }




@media (max-width: 500px) {
  body {
    margin: 32px;
		font-size: 14px;
  }

	h1{
		font-size:24px;
	}

	h2,
  nav,
  footer {
    font-size: 18px;
  }

	h3{
		font-size:30px;
	}
  
  .spacer img{
    max-height: 50px;
  }


  /* nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
		padding-top:15px;
  } */


.project {
	width:auto;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;

}
  
.overlay {
  z-index: 2;
  box-sizing: border-box;
  width:auto;
  position: absolute;
  inset: 0;
  }


}

