html,body {
    margin: 0px;
    padding: 0px;
}

ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.menu-item {
	float: left;
}

li a {
	display: block;
	/*color: #EF705F;*/
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
}

nav {
	padding-top: 10px;
	padding-left: 20px;
}

.link a {
	/*border-bottom: 2.5px solid white;*/
	font-family: 'Be Vietnam', sans-serif;
	color: black;
}

#work-link a {
	/*border-bottom: 2.5px solid #EF705F;*/
	color: #577590;
}


.link a:hover{
	transition: 0.3s;
	color: #577590;
}

#about, #work, #resume {
	float:right;
}

#resume {
	margin-right: 20px;
}

#title-background {
	width: 100vw;
	height: 320px;
}

#title {
	font-family: 'Be Vietnam', sans-serif;
	font-size: 4em;
	font-weight: 600;
	/*text-align: center;*/
	margin-top: 120px;
	position: relative;
	display: inline-block;
	/*margin: 0 auto;*/
	left: 50%;
  	top: 50%;
  	transform: translate(-50%, -50%);
}

#title::after {
  content: "";
  position: absolute;
  width: 100%;
  background: #577590;
  left: 0;
  bottom: -8px;
  height: .5em;
  z-index: -1;
  margin-left: 15px;
}

.proj-photo {
	width: 300px;
	height: 300px;
	/*position: relative;*/
	margin-top: 100px;
	/*top: 75px;
	left: 185px;*/
}

.proj-photo img {
	height: 100%;
 	width: 100%;
 	object-fit: cover;
 	border-radius: 25px;
}

.proj-title {
	width: 600px;
}

.title-text {
	font-family: 'Be Vietnam', sans-serif;
	font-size: 3em;
	margin-top: 100px;
	font-weight: 600;
	text-align: left;
	margin-left: 80px;
}

.proj-date {
	margin-left: 80px;
	font-family: 'Be Vietnam', sans-serif;
	font-weight: 600;
	margin-top: 20px;
	font-size: 1.1em;
}

.text {
	font-family: 'Be Vietnam', sans-serif;
	font-size: 1em;
	letter-spacing: 1px;
	line-height: 160%;
	margin-top: 20px;
	margin-left: 80px;
	text-align: left;
	width: 450px;
}

.proj-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

#page-container {
	margin-bottom: 100px;
}

/*mobile only nav bar styling*/

#mobile-only-nav-button {
	margin-top: 10px;
	float: right;
	right: 15px;
	z-index: 10;
	position: fixed;
	/*mobile only*/
	display: none;
}

.bar1, .bar2, .bar3 {
	width: 25px;
	height: 2px;
	background-color: #577590;
	margin-top: 5px;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
}

.button-switch .bar1 {
	-webkit-transform: rotate(-45deg) translate(-7px, 6px);
	-moz-transform: rotate(-45deg) translate(-7px, 6px);
    transform: rotate(-45deg) translate(-7px, 6px);
    background-color: white;
}

.button-switch .bar2 {
	opacity: 0;
}

.button-switch .bar3 {
	-webkit-transform: rotate(45deg) translate(-4px, -3px);
	-moz-transform: rotate(45deg) translate(-4px, -3px);
	transform: rotate(45deg) translate(-4px, -3px);
	background-color: white;
}

#mobile-only-nav-bar {
	/*position: absolute;*/
	background-color: #577590;
	color: white;
	font-family: 'Be Vietnam', sans-serif;
	position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1;
    height: 0%;
    overflow-x: hidden;
    transition: 0.4s;
    -webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-o-transition: all 0.4s;
	/*mobile only*/
	display: none;
}

/*#mobile-only-nav-bar .open-nav {
	display: block;
}*/

#nav-text {
	position: absolute;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.mobile-link a {
	color: white;
	text-align: center;
	margin-top: -5px;
	margin-bottom: -5px;
	font-size: 2em;
}

#email {
	margin-top: 75px;
	text-align: center;
	color: #577590;
	width: 240px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: white;
	font-weight: 500;
}

.no-scroll {
	overflow: hidden;
}


/* Extra small devices (phones, 450px and down) */
@media only screen and (max-width: 600px) {
	#title {
		font-size: 3em;
		margin-top: 100px;
	}

	#title-background {
		height: 300px;
	}

	.proj-photo {
		width: 250px;
		height: 250px;
	}

	.title-text {
		font-size: 2.5em;
		margin-top: 40px;
		margin-left: 0px;
		text-align: center;
		padding-left: 20px;
		padding-right: 20px;
	}

	.proj-date {
		margin-left: 0px;
		text-align: center;
	}

	.text {
		margin-left: 0px;
		width: 300px;
		margin: 0 auto;
		margin-top: 20px;
	}

	/*different nav bar*/
	#mobile-only-nav-button {
		display: block;
	}

	#mobile-only-nav-bar {
		display: block;
	}

	#resume, #work,#about {
		display: none;
	}

}

/* Monitors */
@media only screen and (min-width: 1700px) {

	.link {
		font-size: 1.7em;
	}

	li a {
		padding: 20px 20px;
	}

	#title {
		font-size: 5em;
	}

	.proj-photo {
		width: 450px;
		height: 450px;
	}

	.title-text {
		font-size: 4em;
		margin-left: 100px;
	}

	.proj-date {
		font-size: 1.9em;
		margin-left: 100px;
	}

	.text {
		font-size: 1.5em;
		width: 600px;
		margin-left: 100px;
	}

	#page-container {
		margin-bottom: 150px;
	}

}
