/*
 *  __                  __
 * /\ \                /\ \
 * \ \ \___   __  __   \_\ \     __
 *  \ \  _ `\/\ \/\ \  /'_` \  /'__`\
 *   \ \ \ \ \ \ \_\ \/\ \_\ \/\  __/
 *    \ \_\ \_\/`____ \ \___,_\ \____\
 *     \/_/\/_/`/___/> \/__,_ /\/____/
 *                /\___/
 *                \/__/
 *
 * Designed, built, and released under MIT license by @mdo. Learn more at
 * https://github.com/poole/hyde.
 *
 * Contents
 *
 * Global resets
 * Sidebar
 * Container
 * Reverse layout
 * Themes
 */

/*
 * Global resets
 *
 * Update the foundational and global aspects of the page.
 */

html {
  font-family: "PT Sans", Helvetica, Arial, sans-serif;
}
@media (min-width: 48em) {
  html {
    font-size: 16px;
  }
}

/*
 * Sidebar
 *
 * Flexible banner for housing site name, intro, and "footer" content. Starts
 * out above content in mobile and later moves to the side with wider viewports.
 *
 * RTH: Goal for responsive sidebar:
 *   Move "sidebar-about" to the top.
 *   Move "sidebar-featured" directly below "sidebar-about".
 *   Move "sidebar-nav" and "sidebar-copyright" to bottom.
 */

.sidebar {
  text-align: center;
  padding: 2rem 1rem;
  color: rgba(255,255,255,.5);
  background-color: #202020;
}

/* fill in bottom of left side bar so it's flush with the content */
.sidebar-bottom {
  background-color: #202020;
  width: 18rem;
  height: 200em;
  float: left;
  margin: -21rem;
  bottom: 0;
  position: fixed;  /* what does position mean? */
  z-index: -1;
}

.observations li {
  margin-bottom: 20px;
}

.observations h2 {
  margin-top: 50px;
}

.featured h2 {
  margin-top: 50px;
}

@media (min-width: 45em) {
  .sidebar {
    position: absolute; /* was absolute */
    top: 0;
    left: 0;
    bottom: 0;
    width: 18rem;
    /* height: 350rem; might not need sidebar height any more */
    text-align: left;
  }
}

/* Sidebar links */
.sidebar a {
  color: #fff;
}

/* About section */
.sidebar-about h1 {
  color: #fff;
  margin-top: 0;
  font-family: "Arvo", serif;
  font-size: 1.50rem;
}

.sidebar-about p {
  font-size: 0.75rem;
}

/* Featured section */
.sidebar-featured h4 {
  color: #fff;
  margin-top: 0;
  font-size: 1.00rem;

}

.sidebar-featured ul {
  font-size: 0.75rem;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* for the individual event images */
.sidebar-events img {
  width: 220px;
  list-style-type: none;
  padding: 10px 10px 10px 10px;
  margin-bottom: 10px;
  margin-top: 10;
  background-color: white;
  border-radius: 5px;
}

.sidebar-observations ul {
  font-size: 0.75rem;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* Container
 *
 * Align the contents of the site above the proper threshold with some margin-fu
 * with a 25%-wide `.sidebar`.
 */

.content {
  padding-top:    4rem;
  padding-bottom: 4rem;
}

@media (min-width: 45em) {
  .content {
    max-width: 38rem;
    margin-left: 20rem;
    margin-right: 2rem;
  }
}
