body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 14px;
  color: #333;
  margin: 0;
}

a:link {
  text-decoration: none;
  color: inherit;
}

a:visited {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
  color: inherit;
}

.source {
	color: #888;
	padding-left: 10px;
}

#nav {
	text-align: right;
	margin: 0 auto;
	padding-top: 18px;
	padding-bottom: 18px;
	width: calc((480px - 140px) + (480px + 140px));
}

#nav a {
	padding-left: 10px;
}

#contact {
	text-align: center;
	padding: 18px;
	background-color: #eee;
}

#header-flex {
	-ms-box-orient: vertical;
	-webkit-box-orient: vertical;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	padding-top: 60px;
	padding-bottom: 60px;
	margin-bottom: 50px;
	background-color: #eee;
}

#header-image {
	width: calc(480px - 140px);
	height: 400px;
	background-image: url("images/paul-cropped.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	border-radius: 20px;
}

#header-text {
	width: calc(480px + 140px);
}

#header-text img {
	display: none;
	border-radius: 50%;
}

.review {
	max-width: 460px;
	margin-bottom: 50px;
	margin-left: 20px;
	margin-right: 20px;
}

h1, h2 {
	margin-right: 90px;
}

h1 {
	font-size: 60px;
	line-height: 70px;
}

h1 span {
	background: -webkit-linear-gradient(left, red, #990B00);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

h2 {
	line-height: 28px;
	font-weight: 500;
	font-size: 20px;
}

h2 a {
	font-weight: 700;
}

.source-icon {
	width: 24px;
	position:relative;
	float:right;
}

#container {
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-box-orient: horizontal;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -moz-flex;
	display: -webkit-flex;
	display: flex;

	justify-content: center;
	max-width: 1000px;
	margin: auto;
}

p {
	margin: 3px;
}

.review {
	max-width: 460px;
	margin-bottom: 50px;
	margin-left: 20px;
	margin-right: 20px;
}

.profile-pic {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	position: absolute;
}

.name {
	font-weight: bold;
	margin-left: 73px;
	margin-top: 0px;
}

.city {
	margin-left: 73px;
}

.rating-and-date {
	margin-bottom: 10px;
	margin-left: 73px;
}

.review-text {
	padding-top: 5px;
	margin-left: 0px;
	line-height: 20px;
}

/* Media Queries */

@media only screen and (max-width: 999px) {
  #header-image {
  	width: calc(480px - 230px);
  	height: 340px;
  	margin-top: 30px;
  }
  #header-text {
  	width: calc(480px + 50px);
  }
  #nav {
  	width: calc((480px - 230px) + (480px + 50px));
  }
  h1 {
  	font-size: 50px;
  	line-height: 60px;
  }
}

@media only screen and (max-width: 850px) {
  #header-image {
  	display: none;
  }
  #header-text img {
  	display: inherit;
  }
  #header-text {
  	max-width: 460px;
  	margin-left: 20px;
  	margin-right: 20px;
  }
  h1, h2 {
  	margin-right: 0px;
  }
  #nav {
  	max-width: 460px;
  }
}

@media only screen and (max-width: 460px) {
	#nav {
		max-width: 100vw;
	}
	#nav a {
		padding-right: 18px;
		padding-left: 0px;
	}
}

@media only screen and (max-width: 440px) {
	h1 {
		font-size: 30px;
		line-height: 40px;
	}
}