* {
  box-sizing: border-box;
}
body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
    sans-serif;
  font-size: calc(10px + 0.33vw);
  -webkit-font-smoothing: antialiased;
  padding: 5vh 10vw;
  color: #121314;
  margin: 0;
  width: 100%;
  overflow-x: hidden;
}
h1 {
  font-size: 4.5em;
  font-weight: 500;
  margin-bottom: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
h2 {
  font-size: 3.5em;
  font-weight: 500;
  margin-bottom: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
h3 {
  font-size: 3em;
  font-weight: 500;
  margin-bottom: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
h4 {
  font-size: 2.5em;
  font-weight: 500;
  margin-bottom: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
h5 {
  font-size: 2em;
  font-weight: 500;
  margin-bottom: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
h6 {
  font-size: 1.5em;
  font-weight: 500;
  margin-bottom: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
p, li {
  font-size: 1.5em;
  font-weight: 300;
  line-height: 1.4;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
a {
  text-decoration: none;
  color: #121314;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: inline-block;
}
a:after {
  content: '';
  position: absolute;
  z-index: -1;
  top: auto;
  left: -0.1em;
  right: -0.1em;
  bottom: 0;
  height: 35%;
  max-height: 0.5em;
  transition: height 300ms cubic-bezier(0, 0.8, 0.03, 1);
  background-color: rgba(79, 162, 192, 0.5);
}
a:hover:after {
  height: 100%;
  max-height: 100%;
}
code {
  font-size: 0.7em;
  padding: 0.2em 0.4em;
  background-color: rgba(79, 162, 192, 0.1);
  border-radius: 3px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.img-small {
  max-width: 50%;
}
.img-medium {
  max-width: 75%;
}
.img-large {
  max-width: 100%;
}
figure {
  margin: 1.5em auto;
  text-align: center;
}
figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 0.5em;
}
table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}
th, td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
blockquote {
  border-left: 4px solid rgba(79, 162, 192, 0.5);
  padding-left: 1em;
  margin-left: 0;
}
pre {
  max-width: 100%;
  overflow-x: auto;
  background-color: rgba(79, 162, 192, 0.1);
  border-radius: 5px;
  padding: 1em;
}
nav {
  position: absolute;
  top: 5vh;
  right: 10vw;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
nav li {
  display: inline-block;
  margin-right: 1em;
}
nav a {
  font-size: 1.2em;
  font-weight: 500;
}

/* Breadcrumb Styles */
.breadcrumb {
  position: absolute;
  top: 5vh;
  left: 10vw;
  margin: 0;
  padding: 0;
  background: none;
  z-index: 10;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1em;
  font-weight: 300;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 1em;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 0.8em;
  color: #666;
  font-weight: 300;
  opacity: 0.7;
}

.breadcrumb a {
  color: #666;
  font-weight: 300;
  text-decoration: none;
  transition: color 300ms ease;
  position: relative;
  display: inline;
}

.breadcrumb a:after {
  background-color: rgba(79, 162, 192, 0.2);
  height: 25%;
  max-height: 0.3em;
}

.breadcrumb a:hover {
  color: #121314;
}

.breadcrumb a:hover:after {
  height: 80%;
  max-height: 80%;
}

.breadcrumb li:last-child span {
  color: #121314;
  font-weight: 400;
}

.breadcrumb li:last-child a {
  color: #121314;
  font-weight: 400;
  pointer-events: none;
}

.breadcrumb li:last-child a:after {
  display: none;
}

.content-wrapper {
  margin-top: 50px;
}

/* Article date styles */
.article-date {
  margin-bottom: 20px;
  font-size: 1.2em;
  color: #666;
  font-weight: 300;
}

.article-date time {
  display: inline-block;
  padding: 4px 8px;
  background-color: rgba(79, 162, 192, 0.1);
  border-radius: 4px;
  font-size: 0.9em;
}

/* Post date in list */
.post-date {
  display: inline-block;
  margin: 5px 0 10px;
  font-size: 0.9em;
  color: #666;
  font-weight: 300;
  padding: 2px 6px;
  background-color: rgba(79, 162, 192, 0.1);
  border-radius: 3px;
}

/* Responsive styles */
@media (max-width: 768px) {
  body {
    padding: 3vh 5vw;
  }
  h1 {
    font-size: 3em;
  }
  h2 {
    font-size: 2.4em;
  }
  h3 {
    font-size: 2em;
  }
  h4 {
    font-size: 1.9em;
  }
  h5 {
    font-size: 1.7em;
  }
  h6 {
    font-size: 1.4em;
  }
  p, li {
    font-size: 1.4em;
  }
  nav {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    margin-bottom: 20px;
    text-align: right;
  }
  
  .breadcrumb {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin-bottom: 15px;
    text-align: left;
  }
  
  .breadcrumb li:not(:last-child)::after {
    margin: 0 0.5em;
  }
  
  .breadcrumb ol {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.5em;
  }
  h2 {
    font-size: 2em;
  }
  h3 {
    font-size: 1.8em;
  }
  h4 {
    font-size: 1.6em;
  }
  h5 {
    font-size: 1.4em;
  }
  h6 {
    font-size: 1.2em;
  }
  p, li {
    font-size: 1.2em;
  }
  
  .breadcrumb ol {
    font-size: 0.8em;
  }
  
  .breadcrumb li:not(:last-child)::after {
    margin: 0 0.4em;
  }
}
