/*
 *  __                  __
 * /\ \                /\ \
 * \ \ \___   __  __   \_\ \     __
 *  \ \  _ `\/\ \/\ \  /'_` \  /'__`\
 *   \ \ \ \ \ \ \_\ \/\ \_\ \/\  __/
 *    \ \_\ \_\/`____ \ \___,_\ \____\
 *     \/_/\/_/`/___/> \/__,_ /\/____/
 *                /\___/
 *                \/__/
 *
 * 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: "Scala"; */
  /* font-family:"Scala"; */
  font-family: "Scala";
  /* font-family: "PT Sans", Helvetica, Arial, sans-serif; */
  /* font-family:"URW Giorgio W01 Normal"; */
  font-size:16px;font-style:normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px; 
  scrollbar-color: #27262E #27262E;
}
html::-webkit-scrollbar-track{
  background-color: #27262E;
}
@media (min-width: 48em) {
  html {
    font-size: 16px;
  }
}
@media (min-width: 76em) {
  html {
    font-size: 20px;
  }
  .icon-bar{
    gap:5px;
    margin-left:0px;
  }
}

@font-face {font-family: "Scala";
  src: url("fonts/CourierPrimeSans.ttf");
}

@font-face{
  font-family: "RoslynGothic";
  src: url("fonts/test-heldane-display-regular.woff2");
}


/*
 * 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.
 */

 #searchicon{
   visibility:visible; 
 }

 #searchicon2{
  visibility:hidden; 
}



.sidebar {
  text-align: center;
  padding: 1.25rem 1rem;
  background-color:#27262E;
  border-bottom: dashed;
  border-right: none;
  position:fixed;
  width:100%; 
  /* color: rgba(255,255,255,.5); */
  /* background-color: #202020; */
  /* height:27em; */
  height:auto;
}



.mobile-dropdown-toggle{
  display: initial;
}

.digtitle{
  margin-bottom:2rem;
}

@media (max-width: 48em) {

  .sidebar {
  opacity: 0;
  transform:translateY(0%);
  pointer-events: none;

  }

  .mystyle{
    opacity: 1;
    transform:translateY(0%);
    pointer-events:all;
  }
}

a{
  color: #78C0A0
}

@media (min-width: 48em) {
  .digtitle{
    margin-bottom:1rem;
  }

  .mobile-dropdown-toggle{
    display: none;
  }
  
  .sidebar {
    border-bottom: none;
    border-right: dashed;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 11.6rem;
    text-align: left;
    height:100%;
    overflow:scroll;
  }
  .sidebar::-webkit-scrollbar-track{
    background-color: #27262E;
  }

}

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

.category-head1{
  color:red
}
.category-head2{
  color:blue
}
.category-head3{
  color:peru
}

/* About section */
.sidebar-about h1 {
  color: #fff;
  margin-top: 0;
  font-weight:normal;
  font-family:"RoslynGothic";
  /* font-family: "Abril Fatface", serif; */
  /* font-size: 2.25rem; */
}

.searchbar{
  width:50%;
  border-radius:11px;
  height:29px;
  padding:5px;
  margin-bottom:15px;
}


.searchbar::placeholder{
  color:#BEBBBB;
}

.searchbar:focus{
    outline-width: 0;
}

/* Sidebar nav */
.sidebar-nav {
  margin-bottom: 1rem;
  margin-left:0.5rem;
}
.sidebar-nav-item {
  color: #B2B2B2;
  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;
}

.icon-bar{
  display:grid;
  margin-left:10px;
  grid-template-columns: 25px 25px 25px 25px 25px 25px;
  gap:3px;
}


/* 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) {
  #searchicon{
    visibility:hidden; 
  }
  #searchicon2{
    visibility:visible; 
  }
  .sidebar-sticky {
    position: absolute;
    right:  1rem;
    bottom: 0.4rem;
    left:   0.5rem;
  }
  .searchbar{
    width:90%;

  }
}

.guestbox{
  height:auto;
}

/* 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: 48em) {
  .content {
    max-width: 38rem;
    margin-left: 15rem;
    margin-right: 2rem;
    padding-bottom:0rem;  
  }
  .guestbox{
    height:85vh;
  }
}

@media (min-width: 64em) {
  .content {
    margin-left: 22rem;
    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;
  }
}



/*
 * Themes
 *
 * As of v1.1, Hyde includes optional themes to color the sidebar and links
 * within blog posts. To use, add the class of your choosing to the `body`.
 */

/* Base16 (https://chriskempson.github.io/base16/#default) */

/* Red */
.theme-base-08 .sidebar {
  background-color: #ac4142;
}
.theme-base-08 .content a,
.theme-base-08 .related-posts li a:hover {
  color: #ac4142;
}

/* Orange */
.theme-base-09 .sidebar {
  background-color: #d28445;
}
.theme-base-09 .content a,
.theme-base-09 .related-posts li a:hover {
  color: #d28445;
}

/* Yellow */
.theme-base-0a .sidebar {
  background-color: #f4bf75;
}
.theme-base-0a .content a,
.theme-base-0a .related-posts li a:hover {
  color: #f4bf75;
}

/* Green */
.theme-base-0b .sidebar {
  background-color: #90a959;
}
.theme-base-0b .content a,
.theme-base-0b .related-posts li a:hover {
  color: #90a959;
}

/* Cyan */
.theme-base-0c .sidebar {
  background-color: #75b5aa;
}
.theme-base-0c .content a,
.theme-base-0c .related-posts li a:hover {
  color: #75b5aa;
}

/* Blue */
.theme-base-0d .sidebar {
  background-color: #6a9fb5;
}
.theme-base-0d .content a,
.theme-base-0d .related-posts li a:hover {
  color: #6a9fb5;
}

/* Magenta */
.theme-base-0e .sidebar {
  background-color: #aa759f;
}
.theme-base-0e .content a,
.theme-base-0e .related-posts li a:hover {
  color: #aa759f;
}

/* Brown */
.theme-base-0f .sidebar {
  background-color: #8f5536;
}
.theme-base-0f .content a,
.theme-base-0f .related-posts li a:hover {
  color: #8f5536;
}
