/*
 *  __                  __
 * /\ \                /\ \
 * \ \ \___   __  __   \_\ \     __
 *  \ \  _ `\/\ \/\ \  /'_` \  /'__`\
 *   \ \ \ \ \ \ \_\ \/\ \_\ \/\  __/
 *    \ \_\ \_\/`____ \ \___,_\ \____\
 *     \/_/\/_/`/___/> \/__,_ /\/____/
 *                /\___/
 *                \/__/
 *
 * 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: 30em) {
  html {
    font-size: 12px;
  }
}
@media (min-width: 40em) {
  html {
    font-size: 14px;
  }
}
@media (min-width: 50em) {
  html {
    font-size: 15px;
  }
}
@media (min-width: 68em) {
  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.
 */

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

@media (min-width: 0em) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 20vw;
    text-align: left;
  }
}
/* @media (min-width: 50em) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 16vw;
    text-align: left;
  }
} */
@media (min-width: 40em) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 20vw;
    max-width: 250px;
    text-align: left;
  }
}

/* Sidebar links */
.sidebar a {
  color: rgb(253, 253, 253);
}

/* About section */
.sidebar-about h1 {
  color: rgb(36, 167, 79);
  margin-top: 0;
  font-family: "Abril Fatface", serif;
  font-size: 3.5rem;
}

/* Sidebar nav */
.sidebar-nav {
  margin-bottom: 1rem;
}
.sidebar-nav-item {
  display: block;
  line-height: 2;
  font-size: 1.05rem;

}
a.sidebar-nav-item:hover,
a.sidebar-nav-item:focus {
  font-weight: bold;
  text-decoration: none;
}
.sidebar-nav-item.active {
  /* font-weight: bold; */
}

.externalicons {
  color: rgb(128, 35, 35);
  font-size: 1.0em;
  margin-right:.1em;
  display:inline;
}
@media (min-width: 30em) {
  .externalicons {
    color: WHITESMOKE;
    font-size: 1.2em;
    margin-right:.5em;
  }
}

@media (min-width: 40em) {
  .externalicons {
    color: WHITESMOKE;
    font-size: 1.2em;
    margin-right:.5em;
  }
}

/* Sticky sidebar
 *
 * Add the `sidebar-sticky` class to the sidebar's container to affix it the
 * contents to the bottom of the sidebar in tablets and up.
 */

@media (min-width: 0em) {
  .sidebar-sticky {
    position: absolute;
    right:  1rem;
    bottom: 1rem;
    left:   1rem;
  }
}


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


/*
Note: this .content sets the width of the contet, ie the things to the right of the sidebar.
*/
.content {
  padding-top:    1rem;
  padding-bottom: 1rem;
}

@media (min-width: 0rem) {
  .content {
    max-width: 70vw;
  }
}
@media (min-width: 50rem) {
  .content {
    max-width: 70vw;
  }
}
@media (min-width: 85rem) {
  .content {
    max-width: 60rem;
  }
}
