/*Color bank:

Background: #F2F1E8
Text: #131511
Inline Link: #968772
Inline Link (Hover): #967343
Navigation Background: #FFFFFF
Navigation Text: #2B2F26
Navigation Text (Hover): #CD5D67
Navigation Text (Active) #968772
Button Background: #968772
Button Background (Hover): #967343
Button Text: #F2F1E8
Button Text (Hover): #FFFFFF
Input Border Bottom: #968772
Input Border Bottom (Focus): #967343*/

*, *:before, *:after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  color: #131511;
}

/*--------BODY--------*/
body {
  width: 1280px;
  margin: 0 auto;
  background-color: #F2F1E8;
  font-family: 'Merriweather', Times, serif;
  font-weight: lighter;
}

p {
  font-size: 1em;
}

/*--------NAV BAR--------*/

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0 auto;
  background-color: #FFFFFF;
  height: 50px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.9em;
  box-shadow: 6px 6px 10px -8px;
}

/*Explanation for drop shadow found at https://css-tricks.com/almanac/properties/b/box-shadow/*/

.nav-links {
  margin: 0 auto;
  margin-top: 7px;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
}

.link {
  padding: 25px;
  color: #2B2F26;
}

.link:hover {
  color: #CD5D67;
  transition: color 0.3s ease-in;
}

/*Transition info found at https://css-tricks.com/almanac/properties/t/transition/*/

.link:active {
  color: #968772;
}

.nav-image {
  height: 40px;
  width: 40px;
  margin-top: 4px;
  float: left;
  background-image: url("../images/bent-creek-logo.png");
  background-size: contain;
  /*padding: 10px 50px 0px 5px;*/
}

/*--------HEADER (home & about)--------*/

header {
  height: 170px;
  margin: 50px auto;
  text-align: center;
  padding-top: 50px;
}

header h1 {
  font-size: 3em;
  font-weight: normal;
}

header h3 {
  font-size: 2em;
  font-weight: lighter;
}

/*--------HOME PAGE--------*/

.home-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 80px 30px 30px 30px;
}

.photo-box {
  margin: 5px;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  align-items: flex-end;
}

.tag {
  margin-bottom: 27px;
  padding: 10px;
  background-color: #2B2F27;
  color: #FFFFFF;
  font-size: 1em;
}

#endless {
  flex: 1 1 60%;
  order: 1;
  height: 370px;
  background-image: url("../images/product-1.jpg");
}

#sets {
  flex: 1 1 15%;
  order: 2;
  height: 370px;
  background-image: url("../images/product-2.jpg");
}

#textures {
  flex: 1 1 15%;
  order: 3;
  height: 370px;
  background-image: url("../images/product-3.jpg");
}

#tea {
  flex: 1 1 20%;
  order: 4;
  height: 241px;
  background-image: url("../images/product-4.jpg");
}

#jars {
  flex: 1 1 15%;
  order: 5;
  height: 241px;
  background-image: url("../images/product-5.jpg");
}

#wasabi {
  flex: 1 1 35%;
  order: 6;
  height: 241px;
  background-image: url("../images/product-6.jpg");

}

#sunshine {
  flex: 1 1 20%;
  order: 7;
  height: 241px;
  background-image: url("../images/product-7.jpg");
}

/*--------ABOUT PAGE--------*/

.about-section {
  font-size: 1.5em;
  font-weight: lighter;
  line-height: 2em;
}

.intro, .history, .facilities, .plans {
  width: 60%;
  margin: 30px auto;
  padding: 20px;
  line-height: 2em;
}

.blockquote {
  width: 55%;
  margin: 20px auto;
  padding: 10px;
  border-left-width: 1px;
  border-left-style: solid;
  border-left-color: #968772;
  font-style: italic;
  font-size: 1em;
  line-height: 1.5em;
}

/*History div*/
.birdhouse-image {
  background-image: url("../images/birdhouse.jpg");
  background-size: cover;
  height: 90px;
  width: 110px;
  float: left;
  margin: 15px;
}

#about-p-link {
  color: #968772;
}

#about-p-link:hover {
  color: #967343;
  transition: color 0.5s ease-in;
}

/*Room-to-grow div*/
.room-to-grow {
  background-image: url("../images/background-3.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  background-attachment: fixed;
  width: 100%;
  height: 300px;
}

.room-to-grow h1 {
  font-size: 3.5em;
  font-weight: lighter;
  margin: 0 auto;
  color: #FFFFFF;
  text-align: center;
  padding-top: 90px;
}

/*Facilities div*/

.aside-photo {
  background-image: url("../images/background-1.jpg");
  background-size: cover;
  height: 130px;
  width: 150px;
  float: right;
  margin: 15px;
}

.aside-caption {
  font-size: 0.8em;
  margin-top: 145px;
  line-height: 2em;
}

/*Plans div (table)*/

.plans {
  padding-top: 45px;
}

.plans table {
  width: 76%;
  border-collapse: collapse;
}

.plans thead {
  text-align: center;
}

.plans td {
  padding: 10px;
  border-style: solid;
  border-width: 1px;
  border-color: #968772;
}

.shade {
  background-color: #F3E9DD;
}


/*--------NEWSLETTER PAGE--------*/

.newsletter {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../images/background-2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/*vmax information found at https://www.sitepoint.com/css-viewport-units-quick-start/*/

form {
  width: 50%;
  height: 100%;
  padding: 30px;
  background-color: #FFFFFF;
  text-align: center;
}

legend {
  display: inline-block;
  width: 90%;
  font-size: 1.5em;
  padding: 10px;
}

fieldset p {
  padding: 10px 0 30px 0;
}

.label-div {
  margin: 0 auto;
  text-align: left;
  border-bottom: solid;
  border-color: #968772;
  border-width: 2px;
  font-size: 0.9em;
}

label, #button {
  font-family: 'Roboto', Arial, sans-serif;
}

.container {
  width: 80%;
  height: 30px;
}

.container:focus {
  background-color: #967343;
  transition: background-color 0.8s ease-in;
}

#signupButton {
  background-color: #968772;
  padding: 10px 25px 10px 25px;
  margin: 10px auto;
  color: #F2F1E8;
}

#signupButton:hover {
  background-color: #967343;
  color: #FFFFFF;
  transition: background-color 0.5s ease-in;
}


/*--------FOOTER--------*/
footer {
  background-color: #2B2F27;
  padding: 20px 0 20px 20px;
}

footer p {
  color: #FFFFFF;
}
