/*
 *  __                  __
 * /\ \                /\ \
 * \ \ \___   __  __   \_\ \     __
 *  \ \  _ `\/\ \/\ \  /'_` \  /'__`\
 *   \ \ \ \ \ \ \_\ \/\ \_\ \/\  __/
 *    \ \_\ \_\/`____ \ \___,_\ \____\
 *     \/_/\/_/`/___/> \/__,_ /\/____/
 *                /\___/
 *                \/__/
 *
 * Designed, built, and released under MIT license by @mdo. Learn more at
 * https://github.com/poole/hyde.
 */


/*
 * Contents
 *
 * Global resets
 * Sidebar
 * Container
 * Themes
 */


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

html {
  font-family: "PT Serif", Georgia, Cambria, "Times New Roman", Times, serif;
}
@media (min-width: 48em) {
  html {
    font-size: 16px;
  }
}
@media (prefers-color-scheme: light) {
  body {
    background-color: #002b36;
    color: #93a1a1;
  }
}

/*
 * 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: left;
  padding: 2rem 1rem;
  border-right: none;
  line-height: 1;
}
@media (min-width: 48em) {
  .sidebar {
    padding: 2rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 18rem;
    text-align: left;
    border-right: #586e75 2px solid;
  }
}
@media (max-width: 48em) {
  .sidebar{
    padding: 1rem 1rem;
    border-bottom: #586e75 2px solid;
  }
  .mj-w-res-iframe{
    display: none;
  }
}

/* Sidebar images */
.sidebar-image {
  max-width: 4em;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  display: inline-block;
  vertical-align: middle;
  border-radius: 150px;
}
@media (min-width: 48em) {
  .sidebar-image {
    max-width: 7em;
  }
}

/* Sidebar links */
.sidebar a {
  color: rgba(0, 0, 0, 0.84);
  text-decoration: none;
}
@media (prefers-color-scheme: light) {
  .sidebar a {
    color: #93a1a1;
  }
}

/* About section */
.sidebar-about h1 {
  color: rgba(0, 0, 0, 0.84);
  font-family: "PT Serif", serif;
  font-size: 1.25rem;
  vertical-align: middle;
}

@media (prefers-color-scheme: light) {
  .sidebar-about h1 {
    color: #93a1a1;
  }
}
@media (max-width: 48em) {
  .sidebar-about h1{
    margin: 0rem 1rem;
    display: inline;
  }
}

/* Sidebar nav */
.sidebar-nav {
  margin-bottom: 1rem;
}
.sidebar-nav-item {
  display: block;
  line-height: 1.75;
}
a.sidebar-nav-item:hover,
a.sidebar-nav-item:focus {
  text-decoration: underline;
}
.sidebar-nav-item.active {
  font-weight: bold;
}
.sidebar-nav h4 {
  margin-bottom: 0;
}
@media (min-width: 48em) {
  .sidebar-nav h4{
    margin-top: 15%;
  }
}

/* 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: 48em) {
  .sidebar-sticky {
    right:  1rem;
    bottom: 1rem;
    left:   1rem;
  }
}

/* Sidebar small
 *
 * Call to action
 */

.sidebar-small {
  line-height: 1;
  margin-top: 15%;
}

.sidebar-small a{
  text-decoration: underline;
  font-weight: 600;
}
@media (max-width: 48em) {
  .sidebar-small {
    display: none;
  }
}

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

.content {
  padding: 1rem .5rem;
}

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