/*
 *  __                  __
 * /\ \                /\ \
 * \ \ \___   __  __   \_\ \     __
 *  \ \  _ `\/\ \/\ \  /'_` \  /'__`\
 *   \ \ \ \ \ \ \_\ \/\ \_\ \/\  __/
 *    \ \_\ \_\/`____ \ \___,_\ \____\
 *     \/_/\/_/`/___/> \/__,_ /\/____/
 *                /\___/
 *                \/__/
 *
 * 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.
 */
@media (min-width: 48em) {
  html {
    font-size: 16px; } }

@media (min-width: 48em) and (max-height: 48rem) {
  .sidebar-social {
    bottom: unset !important;
    margin-top: 15px; } }

@media (min-width: 58em) {
  html {
    font-size: 20px; } }

@media (min-width: 58em) and (max-height: 58rem) {
  .sidebar-social {
    bottom: unset !important;
    margin-top: 15px; } }

/*
 * 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;
  color: rgba(255, 255, 255, 0.5);
  background-color: #202020;
  overflow-y: auto;
  overflow-x: hidden; }

@media (min-width: 48em) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 22rem; } }

/* Sidebar links */
.sidebar a {
  color: #FFF; }

.sidebar-nav {
  width: 94%;
  margin-left: auto;
  margin-right: auto; }

.sidebar-nav a {
  font-size: 1.25em;
  text-shadow: 2px 2px 3px #11276aad; }

/* About section */
.sidebar-about h1 {
  color: #fff;
  margin-top: 0;
  font-family: "Abril Fatface", serif;
  font-size: 3rem; }

.sidebar-about .lead {
  font-size: .8rem; }

.sidebar-about .profile-picture {
  margin: 0 auto;
  border-radius: 50%;
  filter: drop-shadow(6px 6px 3px #0000002e);
  max-width: 8rem; }

/* Sidebar nav */
.sidebar-nav {
  margin-bottom: 1rem;
  list-style: none;
  padding-left: 0; }

.sidebar-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row; }

.sidebar-social-item {
  display: block;
  padding: .25rem 0.4rem;
  margin: 0 .2rem;
  border-radius: .25rem;
  font-size: .8rem;
  font-weight: bold;
  padding-right: .6rem; }

.sidebar-social-item i.fa {
  display: inline-block;
  padding: .4rem 0.8rem;
  background: #fff2;
  margin: 0 .2rem 0 0;
  border-radius: .25rem;
  text-transform: uppercase;
  font-size: 24px; }

.sidebar-social-item span {
  text-shadow: 0px 2px 3px #14407875;
  display: none; }

a.sidebar-social-item:hover,
a.sidebar-social-item:focus {
  background: #0001;
  text-decoration: none; }

.sidebar-social-item.active {
  color: #0001;
  background: #fff; }

a.sidebar-social-item.active:hover,
a.sidebar-social-item.active:focus {
  color: #fff; }

.sidebar-footer {
  font-size: .7rem;
  margin-bottom: 0;
  margin-top: .5rem; }

.sidebar .title-picture {
  width: 80%;
  border-radius: 0;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 60px;
  filter: drop-shadow(3px 3px 1px #0000002e); }

.navs {
  padding: 0 30px; }

/* 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 {
    width: 100%;
    height: 100%;
    position: relative; }
  .sidebar-social {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    position: absolute;
    bottom: 0; }
  .sidebar-social-item span {
    display: inline-block; } }

/* Container
 *
 * Align the contents of the site above the proper threshold with some margin-fu
 * with a 25%-wide `.sidebar`.
 */
.content {
  padding-top: 2.5rem;
  padding-bottom: 4rem; }

.post-content-wrapper {
  display: flex;
  flex-wrap: wrap-reverse;
  gap: 20px; }

.post-content-right {
  flex: 1;
  text-align: right;
  min-width: 300px; }

.post-content {
  flex: 1;
  min-width: 20em; }

.posts .post h1 {
  margin-bottom: 0.8rem; }

.posts hr {
  width: 70%;
  margin: 1.5rem auto;
  margin-bottom: 3em;
  opacity: 40%; }

.posts .post {
  margin-bottom: 0; }

@media (min-width: 48em) {
  .content {
    max-width: 45rem;
    margin-left: 24rem;
    margin-right: 2rem; } }

@media (min-width: 64em) {
  .content {
    margin-left: 26rem;
    margin-right: 4rem; } }

/*
 * Reverse layout
 *
 * Flip the orientation of the page by placing the `.sidebar` on the right.
 */
/*
@media (min-width: 48em) {
  .layout-reverse .sidebar {
    left: auto;
    right: 0;
  }
  .layout-reverse .content {
    margin-left: 2rem;
    margin-right: 20rem;
  }
}

@media (min-width: 64em) {
  .layout-reverse .content {
    margin-left: 4rem;
    margin-right: 22rem;
  }
}
*/
@media (max-width: 48em) {
  .sidebar {
    padding: 20px; }
  .sidebar .container {
    padding: 0; }
  .sidebar-about h1 {
    display: block;
    height: 10rem; }
  .sidebar-about h1 a {
    display: flex;
    height: 100%;
    gap: 4%; }
  .sidebar-about h1 a img {
    margin: 0; }
  .sidebar-about .profile-picture {
    width: 10rem;
    margin: 0; }
  .sidebar-about .title-picture {
    width: unset;
    height: 60%;
    margin: auto 0; }
  .sidebar-about .profile-picture {
    max-width: unset; } }

@media (max-width: 48em) and (min-width: 28em) {
  .navs {
    display: flex;
    gap: 20px; } }
