/* Hyde Theme - Minimal CSS */

* {
  box-sizing: border-box;
}

html {
  font-family: "PT Sans", Helvetica, Arial, sans-serif;
}

body {
  color: #515151;
  background-color: #fff;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

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

.sidebar a {
  color: #fff;
  text-decoration: none;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid rgba(255,255,255,.2);
}

.sidebar-about h1 {
  color: #fff;
  margin-top: 0;
  font-size: 2rem;
  font-weight: 400;
}

.lead {
  font-size: 1.1rem;
  font-weight: 300;
}

.sidebar-nav {
  margin-bottom: 2rem;
}

.sidebar-nav-item {
  display: block;
  padding: .5rem 0;
}

.sidebar-nav-item.active {
  font-weight: bold;
}

.sidebar-footer {
  font-size: .875rem;
}

.social-links {
  font-size: 1.5rem;
}

.social-links a {
  margin: 0 0.5rem;
  transition: opacity 0.2s;
}

.social-links a:hover {
  opacity: 0.7;
}

/* Content */
.content {
  padding: 2rem 1rem;
}

.container {
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: .5rem;
  font-weight: 400;
  line-height: 1.25;
  color: #313131;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: #268bd2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

strong {
  color: #303030;
}

/* Code */
code {
  padding: .25em .5em;
  font-size: 85%;
  color: #bf616a;
  background-color: #f9f9f9;
  border-radius: 3px;
}

pre {
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 1rem;
  font-size: .8rem;
  line-height: 1.4;
  background-color: #f9f9f9;
  overflow-x: auto;
}

pre code {
  padding: 0;
  color: inherit;
  background-color: transparent;
}

/* Posts */
.post {
  margin-bottom: 4rem;
}

.post-title {
  margin-top: 0;
}

.post-date {
  display: block;
  margin-top: -.5rem;
  margin-bottom: 1rem;
  color: #9a9a9a;
}

/* Pagination */
.pagination {
  overflow: hidden;
  margin: 2rem 0;
  color: #ccc;
  text-align: center;
}

/* Tables */
table {
  margin-bottom: 1rem;
  width: 100%;
  border: 1px solid #e5e5e5;
  border-collapse: collapse;
}

td, th {
  padding: .5rem 1rem;
  border: 1px solid #e5e5e5;
}

th {
  text-align: left;
  background-color: #f9f9f9;
}

/* Desktop */
@media (min-width: 48em) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 18rem;
    text-align: left;
  }

  .sidebar-about h1 {
    font-size: 2.5rem;
  }

  .content {
    max-width: 60rem;
    margin-left: 20rem;
    margin-right: 2rem;
  }
}

@media (min-width: 64em) {
  .content {
    max-width: 70rem;
    margin-left: 22rem;
    margin-right: 4rem;
  }
}
