@font-face {
	font-family: "Avenir Next";
	src: url("fonts/AvenirNext-Medium.ttf") format("truetype");
	font-weight: bold;
}
@font-face {
	font-family: "Avenir Next";
	src: url("fonts/AvenirNext-Regular.ttf") format("truetype");
	font-weight: normal;
}
@font-face {
	font-family: "Avenir Next";
	src: url("fonts/AvenirNext-UltraLight.ttf") format("truetype");
	font-weight: lighter;
}


#header {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	height: 140px;
}

#homeBody {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 140px;
}

#logo {
	position: absolute;
	width: 450px;
	height: auto;
}

#navBarLinksContainer {
	position: absolute;
	right: 10px;
	width: 50%;
	height: 100px;
}

.navBarLinks {
	position: absolute;
	font-family: "Avenir Next";
	font-weight: normal;
	top: 50px;
	color: black;
	text-decoration: none;
}

.navBarLinks:active, .navBarLinks:hover {

}

#leftLink {
	left: Calc( (100% - 224px) / 4 );						/* 224 is the total width of the three links */
}

#middleLink {
	left: Calc( ((100% - 224px) / 2 ) + 46px );				/* 46 is the width of the left link */
}

#rightLink {
	right: Calc( (100% - 224px) / 4 );
}

#line {
	position: absolute;
	height: 3px;
	width: 100%;
	right: 0px;
	bottom: 0px;
}

#homeText {
	font-family: "Avenir Next";
	color: #4E4E4E;
	font-weight: normal;
	font-size: 40px;
	text-align: center;
	margin-bottom: 10px;
	margin-top: 20px;
}

#homeLinkContainer {
	text-align: center;
}

#homeLink {
	font-family: "Avenir Next";
	color: #4E4E4E;
	font-weight: lighter;
	text-decoration: none;
	font-size: 28px;
}

#homeLink:hover {
	border-bottom: 1px solid;
}

#heroContainer {
	width: 100%;
	position: absolute;
	top: 150px;
}

#antiquesImg {
	display: block;
	margin: auto;
	margin-bottom: 100px;
}

h1 {
	margin: 0px 15%;
	font-family: "Avenir Next";
	color: #4E4E4E;
}

.infoContainer {
	margin: 160px 0px;
}

.infoText {
	margin: 0px 15%;
	font-family: "Avenir Next";
	color: black;
	font-weight: normal;
	font-size: 16px;

}

.smallerInfoText {
	margin: 0px 15%;
	font-family: "Avenir Next";
	color: #4E4E4E;
	font-weight: normal;
	font-size: 12px;
}

.infoImage {
	border: 12px solid white;
	box-shadow: 0px 4px 15px #C6C4CA;
	width: 45%;
	display: block;
	margin: auto;
	margin-bottom: 50px;
	border-radius: 8px;
}

@media only screen and (max-width: 1000px) {
	#logo {
		width: 45%;
	}
	#antiquesImg {
		width: 500px;
	}
	#homeText {
		font-size: 35px;
	}
	#homeLink {
		font-size: 26px;
	}
	h1, .infoText, .smallerInfoText {
		margin: 0px 12%;
	}
	.infoImage {
		width: 55%;
	}

}

@media only screen and (max-width: 800px) {
	#logo {
		top: 15px;
	}
	#antiquesImg {
		width: 400px;
	}
	#homeText {
		font-size: 32px;
	}
	#homeLink {
		font-size: 24px;
	}
	h1, .infoText, .smallerInfoText {
		margin: 0px 10%;
	}
	.infoImage {
		width: 65%;
	}
}

@media only screen and (max-width: 700px) {
	#logo {
		top: 25px;
	}
	#antiquesImg {
		width: 350px;
	}
	h1, .infoText, .smallerInfoText {
		margin: 0px 7%;
	}
	.infoImage {
		width: 80%;
	}
}

@media only screen and (max-width: 600px) {
	#logo {
		content: url(images/gavel.png);
		width: auto;
		top: 35px;
		left: Calc( (100% - (224px + 58px)) / 5 );	/* 58 is width of gavel image */
	}
	#antiquesImg {
		width: 300px;
	}
	#homeText {
		font-size: 28px;
	}
	#homeLink {
		font-size: 22px;
	}
	#navBarLinksContainer {
		width: 100%;
	}
	h1, .infoText, .smallerInfoText {
		margin: 0px 5%;
	}
	.infoImage {
		width: 90%;
	}
	
	#leftLink {
		left: Calc( (100% - (224px + 58px)) * (2/5) + 58px );	/* 224 is the total width of the three links */
	}

	#middleLink {
		left: auto;
		right: Calc( (100% - (224px + 58px)) * (2/5) + 80px);	/* 80 is the width of the right link */
	}

	#rightLink {
		right: Calc( (100% - (224px + 58px)) / 5 );
	}
}
