@import url("https://fonts.googleapis.com/css?family=Arimo:400,400i,700i|Pacifico");
/* ^^ this is to import my fonts and weights for the pages */


/* ----------------------------------------------------- */
/* --------- Common elements ----------- */
/* ----------------------------------------------------- */

* {
  margin: 0;
  /* commented out for reference */
  /* colors: #87752d, #f8ffb0, #d6b412 */
}

body {
  font-family: "Arimo", Arial, Helvetica, sans-serif;
  color: #3a405a;
  font-size: 1.2em;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Pacifico", serif;
}

header nav {
  background-color: #acbed9;
  height: 20px;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* some of these styles apply to both nav in the header and footer so 
I left them generic so they can apply to both */
nav ul {
  text-align: center;
  list-style: none;
}

nav li {
  display: inline;
  margin-right: 50px;
}

nav img {
  margin-top: -10px;
  vertical-align: text-top;
  width: 50px;
}

nav a {
  text-decoration: none;
}

/* unvisited link */
header nav a:link {
  color: #3a405a;
}

/* visited link */
header nav a:visited {
  color: #f4d8cd;
}

/* mouse over link */
header nav a:hover {
  color: #92dce5;
  font-weight: bold;
  background-color: #3a405a;
  padding: 5px;
}

/* selected link */
header nav a:active {
  color: #ffffff;
  background-color: #3a405a;
}

/* instead of using JavaScript and JQuery, I just used an <a> tag and styled
it to look like a button */
.button {
  padding: 10px 20px;
  text-decoration: none;
}

/* the <a> tags that look like buttons and the submit button I wanted
to look the same, so I grouped them here */
.button,
input[type="submit"] {
  border: 2px solid #f45b69;
  border-radius: 10px;
  
  font-size: 1em;
  color: #f45b69;
  background-color: transparent;
}

input[type="submit"] {
  height: 50px;
  width: 165px;
}

.button:hover,
input[type="submit"]:hover {
  background-color: #f45b69;
  color: #ffffff;
  font-weight: bold;
}

footer {
  background-color: #3a405a;
  color: #ffffff;
  padding: 20px;
  font-size: 0.8em;
  text-align: center;
  line-height: 1.4em;
}

footer nav {
  background: none;
  padding: 0;
}

/* unvisited footer link */
footer nav a:link {
  color: #ffffff;
}

/* visited footer link */
footer nav a:visited {
  color: #f4d8cd;
}

/* mouse over footer link */
footer nav a:hover {
  color: #92dce5;
  font-weight: bold;
}

/* selected footer link */
footer nav a:active {
  color: #ffffff;
}

footer img {
  padding: 5px 0;
  width: 160px;
}




/* ----------------------------------------------------- */
/* --------- Home page ----------- */
/* ----------------------------------------------------- */

.hero {
  /* since this is a background image it's not possible to have alt text */
  background: url("images/hero.jpg");
  height: 480px;
  background-size: cover;
  margin-top: 20px;
  margin-bottom: 20px;
}

.hero-align {
  width: 80%;
  margin: 0 auto;
}

.hero h1 {
  padding-top: 70px;
  padding-bottom: 10px;
  font-weight: 400;
  font-size: 3.5em;
  line-height: 1.2em;
}

/* this will help with the spacing of the h1 across 2 lines */
h1 span {
  display: block;
}

.hero p {
  font-style: italic;
  width: 330px;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.hero p span {
  font-weight: bold;
}

main {
  width: 90%;
  margin: 0 auto;
}

/* the about blurb on the home page section starts here */
.about-us {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
}

.about-us img {
  width: 40%;
  /* this will keep the image proportions how I want them and just auto trim the photo */
  object-fit: cover;
  height: auto;
}

.about-align {
  width: 60%;
  padding: 7% 0 0 15%;
}

.about-align h2 {
  font-size: 2em;
  letter-spacing: 2px;
  margin-bottom: 20px;
  line-height: 1.2em;
}

.about-align p {
  margin-bottom: 30px;
}

/* stick the button to the bottom right of container */
.about-align .button {
  float: right;
}

/* start of photo container here */
.pics {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
}

.pics img {
  z-index: 0;
  margin-right: 30px;
  margin-bottom: 30px;
}

/* this is for the hover over the images */
.pics .overlay {
  background-color: rgba(146, 220, 229, 0.9);
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0 10px 0 10px;
  margin-top: -310px;
  margin-left: 15px;
  z-index: 2;
  position: absolute;
  opacity: 0;
}

.overlay h3 {
  font-size: 1.5em;
}

.overlay:hover {
  opacity: 1;
}

/* unvisited overlay link */
.pics a:link {
  color: #3a405a;
}

/* visited overlay link */
.pics a:visited {
  color: #3a405a;
}

/* mouse over overlay link */
.pics a:hover {
  color: #3a405a;
}

/* selected overlay link */
.pics a:active {
  color: #f45b69;
}




/* ----------------------------------------------------- */
/* --------- About page ----------- */
/* ----------------------------------------------------- */

.about-main {
  max-width: 800px;
  padding: 0 30px;
}

.about-me {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 500px;
  margin-bottom: 0;
}

.about-me .me-text {
  width: 50%;
  z-index: 2;
  height: 400px;
}

.me-text h1 {
  font-size: 3em;
  line-height: 1.2em;
}

.me-text p {
  margin-top: 30px;
}

.about-me img {
  width: 70%;
  height: auto;
  float: left;
  object-fit: cover;
  margin-left: 140px;
}

/* this is just background and to make it look nice */
.about-me .blue-color-block {
  background-color: #92dce5;
  height: 400px;
  width: 200px;
  margin-left: 375px;
  margin-top: 35px;
  z-index: -1;
}

.more-about {
  display: flex;
  flex-direction: row;
  margin-top: -50px;
}

.more-about img {
  height: 200px;
  width: 400px;
}

/* this is also just background and to make it look nice */
.more-about .pink-color-block {
  background-color: #f4d8cd;
  height: 200px;
  width: 400px;
}

.more-about .more-text {
  background-color: #acbed9;
  padding: 100px 50px;
  margin-bottom: 30px;
  height: 200px;
}

.more-text p {
  margin-top: 20px;
}

.more-text p:nth-of-type(2) {
  margin-top: 10px;
}



/* ----------------------------------------------------- */
/* --------- Inspiration page ----------- */
/* ----------------------------------------------------- */

.inspo-body {
  width: 100%;
}

/* this hero is split, so the flex is important */
.inspo-hero {
  display: flex;
  height: 400px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.inspo-welcome {
  width: 50%;
  background-color: #f4d8cd;
  padding: 7% 5% 30px 5%;
}

.inspo-welcome a {
  text-decoration: none;
}

.activities-go {
  width: 50%;
  background-color: #92dce5;
  padding: 7% 5% 30px 5%;
}

.activities-go .button {
  float: right;
  margin-top: -50px;
}

.inspo-hero p {
  width: 60%;
  padding-top: 10px;
}

.inspo-rows {
  width: 90%;
  margin: 0 auto;
}

.row1, .row2, .row3, .row5 {
  display: flex;
  flex-flow: row;
  /* I didn't go with flex-direction: row wrap because it would not look how I wanted when resized
  even a little */
}

.quote {
  width: 30%;
  margin-right: 20px;
  height: 300px;
  padding: 20px;
  border: #3a405a 1px solid;
  margin-bottom: 30px;
  text-align: center;
  top: 50%;
}

.quote h2 {
  margin-top: 15%;
  font-family: "Arimo", Arial, Helvetica, sans-serif;
  font-weight: 100;
}

/* these different sizes are to make the quotes centered in their boxes */
.quote .long-q {
  margin-top: 15%;
}

.quote .med-q {
  margin-top: 20%;
}

.quote .adjust-q {
  margin-top: 25%;
}

.quote p {
  margin-top: 10%;
}

/* this is to add emphasis and bolding on the important phrases */
.inspo-body span {
  font-weight: 600;
  font-style: italic;
}

/* the following image styling is important to keep ratio */
.row2 img:nth-of-type(1) {
  width: 31%;
  height: 300px;
  margin-right: 20px;
  margin-bottom: 30px;
  object-fit: cover;
}

.row2 img:nth-of-type(2) {
  width: 65%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 30px;
  object-fit: cover;
}

.row4 img {
  width: 98%;
  overflow: hidden;
  height: 300px;
  margin-bottom: 30px;
  object-fit: cover;
}





/* ----------------------------------------------------- */
/* --------- Actvities page ----------- */
/* ----------------------------------------------------- */

.act-top {
  max-width: 800px;
  margin: 0 auto;
}

.act-ideas {
  max-width: 1500px;
  margin: 0 auto;
}

/* this is smaller than the ideas because i want it to me less focus */
.act-hero {
  display: flex;
  flex-direction: row;
  height: 250px;
  margin-top: 20px;
  justify-content: center;
  margin-bottom: 50px;
}

.act-focus {
  background-color: #92dce5;
  padding: 50px;
}

.act-hero img {
 margin-left: 50px;
}

.act-explain {
  height: 450px;
  display: flex;
  flex-direction: row;
}

.col {
  display: flex;
  flex-direction: column;
}

.explain1, .explain2 {
  height: 100px;
  padding: 40px;
}

.explain1 {
  background-color: #acbed9;
  margin-bottom: 50px;
}

.act-explain img {
  margin-left: 50px;
  width: 40%;
  height: 400px;
  object-fit: cover;
}

.explain2 {
  background-color: #acbed9;
}

article {
  margin-bottom: 50px;
  padding: 50px;
}

/* for each idea */
.fruit {
  background-color: #f4d8cd;
}

.book {
  background-color: #acbed9;
}

.filler {
  background-color: #92dce5;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 100px;
}

.filler h2 {
  margin: 0 20px 20px 30px;
}

.filler p {
  margin: 0 20px 20px 50px;
  width: 300px;
}

.filler .button {
  float: right;
  margin-top: -80px;
  margin-right: 30px;
}

article .time {
  float: right;
  margin-top: -50px;
  font-style: italic;
}

.act-body h3 {
  font-size: 1em;
  
}

.what, .science {
  padding-left: 50px;
}



/* ----------------------------------------------------- */
/* --------- FAQ page ----------- */
/* ----------------------------------------------------- */

.faq-body {
  width: 100%;
}

.faq-wrap {
  width: 90%;
  margin: 0 auto;
}

.faq-hero {
  /* since this is a background image it's not possible to have alt text */
  background: url(images/pink-lake.jpg);
  background-size: cover;
  margin: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  height: 250px;
  color: #ffffff;
}

.faq-hero h1{
  padding-top: 65px;
  letter-spacing: 2px;
}

.faq-hero p {
  padding-top: 10px;
}

.faq-nav {
  position: fixed;
  background-color: #f4d8cd;
  padding: 40px;
}

.faq-nav ul {
  padding: 0;
  list-style: none;
}

.faq-nav li {
  padding: 10px 5px;
}

.faq-nav a {
  text-decoration: none;
  padding: 10px 5px;
}

/* unvisited link */
.faq-nav a:link {
  color: #ffffff;
}

/* visited link */
.faq-nav a:visited {
  color: #7B7C7E;
}

/* mouse over link */
.faq-nav a:hover {
  color: #ffffff;
  font-weight: bold;
  border-top: 1px #ffffff solid;
  border-right: 1px #ffffff solid;
  border-bottom: 3px #ffffff solid;
  border-left: 3px #ffffff solid;
}

/* selected link */
.faq-nav a:active {
  color: #f45b69;
}

.faq-body h2 {
  color: #7B7C7E;
}

.q-a {
  margin-left: 20%;
}

.q-a h2 {
  font-size: 0.7em;
  letter-spacing: .1em;
  margin-bottom: 6px;
}

.question-main {
  margin-bottom: 50px;
  background-color: #acbed9;
  padding: 20px;
}

.question-container {
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
}

.q-a .question {
  font-weight: 700;
  margin-bottom: 5px;
}

.q-a .response {
  margin-left: 20px;
}



/* ----------------------------------------------------- */
/* --------- Contact page ----------- */
/* ----------------------------------------------------- */

.contact-body {
  /* since this is a background image it's not possible to have alt text */
  background: url(images/naturez.jpeg) no-repeat center center fixed;
  background-size: cover;
  /* background-position: center; */
  height: 100%;
  margin: 20px auto;
  background-color: rgba(20, 20, 20, 0.3);
  background-blend-mode: darken;
  padding: 5% 0;
}

.pop {
  width: 80%;
  height: 50%;
  background-color: rgb(201, 238, 242);
  margin: 0 auto;
  display: flex;
  flex-flow: row wrap;
  padding: 15px 0;
}

.pop img {
  width: 45%;
  height: 90%;
}

.form-contain {
  padding: 10px 10px;
  display: flex;
  flex-direction: column;
  width: 50%;
}

.form-intro p {
  margin-top: 10px;
}

.contact-body input[type="text"],
.contact-body textarea {
  background: transparent;
  border: 0;
  border-bottom: #acbed9 2px solid;
  width: 70%;
  color: #3a405a;
  font-size: 1em;
  line-height: 1em;
  padding: 5px;
  margin-top: 15px;
}

.contact-body textarea {
  border-bottom: #acbed9 2px solid;
  width: 90%;
  font-family: "Arimo", Arial, Helvetica, sans-serif;
}

input[type="submit"] {
  float: right;
  margin-top: 20px;
}

input::placeholder,
textarea::placeholder {
  color: #999999;
}


/* so that some elements don't break I am adding this simple
media query to handle so the elements don't break */
/* this covers from table sized to mobile screen sizes */
@media (min-width: 320px) and (max-width: 770px) {
  header nav {
    height: 20%;
  }

  .about-me .me-text {
    width: 130%;
  }

  .about-me img {
    margin-left: -10%;
    width: 140%;
    margin-top: 20px;
  }

  .about-me .blue-color-block {
    display: none;
  }

  .more-blocking .pink-color-block {
    width: 110%;
  }

  .more-blocking img {
    width: 110%;
    object-fit: cover;
    height: auto;
  }
}
