@charset "UTF-8";
/* CSS Document */

/* COLORS */
/* Green - #034001 */
/* Brown - #6c3f21 */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;700&display=swap');

body {
	background-color: #fff;
}

header {
	background-color: #fff;
	width: 100%;
	padding: 12px 0;
}

#header-content {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#header-content img {
	height: 120px;
}

nav {
	width: 76.0416666666667%; /* 730 / 960 */
	position: absolute;
	bottom: 8px;
	right: 0;
}

nav ul {
	display: block;
	text-align: right;
	list-style-type: none;
}

nav li {
	display: inline-block;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
	font-size: 1.25em; /* 20 / 16 */
	color: #034001;
	padding: 0 3.125%; /* 30 / 960 */
	text-align: left;
}

nav li:last-child {
	padding-right: 0;
}

nav a:link {
	text-decoration: none;
	color: #034001;
	padding: 10px auto;
}

nav a:hover {
	color: #034001;
	padding: 10px auto;
    border-bottom: 6px solid #034001;
}

p {
	font-size: 1em; /* 16 / 16 */
	color: #000;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
	margin-bottom: 16px;
	line-height: 180%;
}

#banner {
	width: 100%;
	height: 525px;
	background: url("images/clear-lake-banner.jpg");
	background-repeat: no-repeat;
	background-size: cover;
    position: relative;
    text-align: center;
}
#banner h1 {
    font-size: 3.5em; /* 56 / 16 */
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    color: #fff;
}
#banner h4 {
    font-size: 1.625em; /* 26 / 16 */
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    color: #fff;
    margin: 15px 0 50px;
}

#banner a {
    background-color: #034001;
    padding: 15px 30px;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-weight: 700; 
    font-size: 1.25em; /* 20 / 16 */;
    text-decoration: none; 
}

#explore {
    position: relative;
    top: 180px;
}

#wrapper-white {
	width: 960px;
	background-color: #fff;
	margin-left: auto;
	margin-right: auto;
	padding: 60px 0;
    display: flex;
    justify-content: space-between;
}
main {
	padding: 486px 20px 20px;
}

section {
	width: 60.4166666667%; /* 580 / 960 */
    height: 340px;
    text-align: center;
	position: relative;
}

section img {
	opacity: 1;
	width: 100%;
	height: 340px;
	transition: 1s ease;
	cursor: pointer;
}

section:hover img {
	opacity: 0.5;
}

section a {
    background-color: #034001;
    padding: 15px 3.125%; /*30 / 960*/
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-weight: 700; 
    font-size: 1.25em /* 20 / 16 */;
    text-decoration: none; 
    display: block;
}

.discover-content {
	position: absolute;
	top: 45%;
	left: 20%;
	right: 20%;
	transition: 0.5s ease;
}
/* 

Is the typo in the assignment intentional to throw us off? 

.discover-content {
     transition: .5 ease; =/= 0.5s 
}
*/

section:hover .discover-content {
     transform: scale(1.25);
}

aside {
	width: 33.3333333334%; /* 320 / 960 */
}


aside h1 {
	color: #034001;
	font-family: 'Jost', sans-serif;
    font-weight: 700;
	font-size: 1.875; /* 20 / 16 */
	margin-bottom: 16px;
    text-transform: uppercase;
}

aside p {
	font-size: 1.125em; /* 18 / 16 */
	line-height: 150%;
	font-family: 'Jost', sans-serif;
    font-weight: 300;
	margin-top: 10px;
	margin-bottom: 0;
}

#wrapper-trails {
	width: 100%;
	padding: 60px 0;
	background-color: #f0ebe8/*#f4f3f0*/;
	overflow: hidden;
}

#wrapper-trails h2 {
    color: #034001;
    font-size: 2em; /* 32 / 16 */
    text-align: center;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
}

#trail-content {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
}

.trail-box {
	width: 31.25%; /* 300 / 960 */
	text-align: center;
	display: inline-block;
    vertical-align: top;
}

.trail-box:first-of-type {
	margin-right: 2.70833334%; /* 26 / 960 */
}

.trail-box:last-of-type {
	margin-left: 2.70833334%; /* 26 / 960 */
}

.trail-box h3 {
	color: #034001;
	font-family: 'Jost', sans-serif;
    font-weight: 700;
	font-size: 1.75em /* 28 / 16 */;
	margin: 18px 0 12px;
}

.trail-box p {
	font-size: 16px;
	margin-bottom: 24px;
}

.trail-box img {
	opacity: 0.7;
	transition: 1s ease;
	width: 100%;
}

.trail-box img:hover {
	opacity: 1;
	cursor: pointer;

}


footer {
	padding: 40px 0 10px;
	width: 100%;
	font-size: 0.75em /* 12 / 16 */;
	background-color: #034001;

}

footer h3 {
	font-family: 'Jost', sans-serif;
	color: #fff;
	text-transform: uppercase;
	font-size: 1em; /* 16 / 16 */
	font-weight: 700;
    margin-bottom: 15px;
}

footer p {
	font-family: 'Jost', sans-serif;
    font-weight: 300;
	color: #fff;
}

#footer-content {
	width: 960px;
	margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

#footer-left {
	width: 30%;
}

#footer-left a {
    color: #fff;
}

#footer-center {
    width: 32.5%;
}

#footer-center img {
    height: 50px;
    margin-right: 15px;
}

#footer-right {
	width: 30%;
	text-align: right;
}

#footer-right img {
    height: 50px;
    margin-left: 20px;
}

/* About */

#wrapper-about {
	width: 960px;
	background-color: #fff;
	text-align: center;
	padding: 60px 0;
	margin-left: auto;
	margin-right: auto;
}

#wrapper-about h1 {
	color: #034001;
	font-family: 'Jost', serif;
	font-weight: 700;
	font-size: 1.875em; /* 30 / 16 */
	margin-bottom: 16px;
	text-transform: uppercase;
	text-align: center;
}

#wrapper-about p {
	font-family: 'Jost', serif;
	font-size: 1.375em; /* 22 / 16 */
	line-height: 150%;
	margin-bottom: 0;
	margin-top: 10;
}

#spirit-content {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#spirit-content img {
	padding: 15px 0;
}

/* Slideshow */

#slideshow-wrapper {
	width: 100%;
	height: 525px;
}

#slideshow {
	width: 100%;
	height: 525px;
	overflow: hidden;
	white-space: nowrap;
}

#slideshow img {
	width: 100%;
	height: 100%;
	display: inline-block;
}

.rectangle {
	display: inline-block;
	background-color: #f0ebe8;
	width: 26px;
	height: 5px;
	margin-right: 15px;
}

#rectangle-nav {
	margin-top: -50px;
	text-align: center;
}


/* Table for Order Summary */

#wrapper-trails table {
	text-align: right;
    width: 500px;
    margin-left: auto;
    margin-right: auto;
	font-family: 'Jost', serif;
	font-weight: 700;
}

#wrapper-trails table th {
	background-color:#034001;
	color: white;
	padding: 5px;
}

#wrapper-trails table tr, #wrapper-trails td {
	border: 2px solid #034001;
}

#wrapper-trails table td {
	background-color: white;
	padding: 5px;
}

.wrapper-trails-sum {
	text-align: center;
	margin: 10px 0;
}

.quantity-input {
	width: 20px;
}


/* End table for ORder Summary */

#trails-table {
	width: 750px!important;
	text-align: left!important;
}

/* Generic table css for other tables */

table {
    border-collapse: collapse;
    border: 1px solid #000;
    margin: 20px auto;
}

th {
    border-collapse: collapse;
    border: 1px solid #000;
    background-color: #D9E9D9;
    font-weight: bold;
    padding: 5px 10px;
}

tr:nth-of-type(odd) {
    background-color: #D9E9D9;
}

td {
    padding: 5px 10px;
    border-collapse: collapse;
    border: 1px solid #000;
}

/* End Generic Table Styles */


@media only screen and (max-width: 1024px) { 

	#header-content, #wrapper-white, #wrapper-trails, #footer-content, 
	#trail-content, #spirit-content, #wrapper-about {
		width: 90%;
    	padding-left: 5%;
    	padding-right: 5%;
	}

	#header-content a {
		width: 100%;
		text-align: center;
		display: block;
	}

	#wrapper-about p {
		text-align: left;

	}

	nav {
		width: 100%;
		clear: both;
		position: relative;
		margin-top: 16px;
	}

	nav ul {
		text-align: center;
	}

	#slideshow-wrapper, #banner, #slideshow {
		height: 300px;
	}

	.rectangle {
		margin: -30px;
	}

	#banner h1 {
		font-size: 2em; /* 32 / 16 */
	}
	#banner h4 {
		font-size: 1.25em; /* 20 / 16 */
	}

	#explore {
		top: 80px;
	}

	#footer-content {
		justify-content: space-around;
	}

	.trail-box {
		width: 70%;
		padding: 0 15%;
	}

	.trail-box img {
		width: 100%;
	}

	.trail-box:first-of-type {
		margin-right: 0;
	}
	
	.trail-box:last-of-type {
		margin-left: 0;
	}

	#footer-center img, #footer-right img {
		height: 40px;
		margin-right: 1px;
		margin-left: 0;
	}

	#spirit-content .trail-gallery:first-child {
		width: 65.625%; /* (600px (width of pic) + 30px (margin)) / 960px */
	} 
	
	 #spirit-content .trail-gallery {
		width: 31.25%; /* (300px / 960px */
	}
	
	#spirit-content img {
		width: 100%; 
	}

}

@media only all and (max-width: 480px) { 

	#header-content {
		padding: 0;
		margin: 0;
		width: 100%;
	}

	#header-content img {
		width: 60%;
		height: auto;
	}

	#wrapper-about p {
		text-align: left;

	}

	nav {
		width: 100%;
		clear: both;
		position: static;
		margin-top: 16px;
		display: block;
	}

	nav ul {
		text-align: center;
		width: 100%;
	}

	nav li {
		width: 90%;
		background-color: #034001;
		color: white!important;
		padding: 5%;
		text-decoration: none;
		border-bottom: 1px solid white;
	}

	nav a:link {
		color: white;	
	}

	a, nav a:hover, a:visited, a:active {
		color: white;
		text-decoration: none;
		border: none;
	}

	nav li:last-child {
		padding: 5%;
	}

	#footer-content {
		display: block;
	}

	#footer-left, #footer-right, #footer-center {
		text-align: center;
		padding: 15px 5%;
	}

	#footer-left, #footer-center {
		border-bottom: 1px solid white;
	}

	#footer-center img, #footer-right img {
		height: 40px;
		margin-right: 10px;
		margin-left: 0;
	}
	
	#footer-content, #footer-left, #footer-right, #footer-center {
		width: 90%;	
	}

	footer {
	padding: 10px 0;
	}

	#spirit-content .trail-gallery:first-child {
		/*width: 65.625%;  (600px (width of pic) + 30px (margin)) / 960px */
		width: 100%;
	} 
	
	 #spirit-content .trail-gallery {
		width: 48%;
	}
	
	#spirit-content img {
		width: 100%; 
		padding: 5px;
	}

	#slideshow-wrapper, #banner, #slideshow {
		height: 200px;
	}

	.rectangle {
		margin: -30px;
	}

	#banner h1, #banner h4 {
		display: none;
	}

	#wrapper-white {
		display: block;
	}

	#wrapper-white section {
		width: 100%;
	}

	#wrapper-white aside {
		margin-top: 30px;
		width: 100%;
	}

	#wrapper-white aside h1 {
		font-size: 1.5em; /* 24 / 16 */
	}

	#footer-content {
		justify-content: space-around;
	}

	#trail-content {
		width: 100%;
		padding: 0;
	}

	.trail-box {
		width: 100%;
		padding: 0;
	}

	.trail-box img {
		width: 100%;
	}

	.trail-box:first-of-type {
		margin-right: 0;
	}
	
	.trail-box:last-of-type {
		margin-left: 0;
	}

	.discover-content {
		top: 40%;
	}

	#banner a {
		background-color: transparent;
		font-size: 1.5em; /* 24 / 16 */
	}

}