/*!
 * Den (http://github.com/shaform/hugo-theme-den)
 * Copyright 2018 Yong-Siang Shih
 * Licensed under GPL V2 (https://github.com/shaform/hugo-theme-den/blob/master/LICENSE)
 *
 * Nest v1.0.0 (http://www.molivier.com)
 * Copyright 2015 Matthieu OLIVIER
 * Licensed under GPL V2 (https://github.com/molivier/nest/blob/master/LICENSE)
 */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700');

@import url("syntax.css");

/* Responsive */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 900px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1200px;
  }
}
@media (min-width: 1900px) {
  .container { 
    width: 1800px;
  }
}
@media (min-width: 768px) {
  .header-nav {
    height:100px;
    line-height:normal;
    display: block !important;
  }
  .header-nav .nav-menu {
    float:right;
  }
  .header-nav .nav-menu a {
    margin-left:20px;
  }
  .header-nav .nav-menu a.nav-link {
    display:block;
    margin:auto;
    font-family: 'Source Sans Pro', sans-serif;
    /*font-weight: 600;*/
    font-size: 1.25rem;
    text-decoration: none;
    color: #fd7014;
    position: relative;
    transition: all .3s cubic-bezier(.2, 0, 0, 1);
    z-index: 1;
  }
  .header-nav .nav-menu a:hover.nav-link {
    color: #1a1a1a;
    background-color: #fef5e2;
  }
  .header-nav .nav-menu a:hover::after {
    content: '';
    display: block;
    height: 3px;
    position: absolute;
    bottom:auto;
    right: 1rem;
    left: 1rem;
    background-color: #fd7014;
    transition: all .3s cubic-bezier(.2, 0, 0, 1);
    transform-origin: middle;
    z-index:auto;
  }
  dl.row dt {
    text-align: right;
    font-size: 1.2rem;
  }
  dl.row dd {
    text-align: left;
    font-size: 1.2rem;
  }
}
@media (max-width: 767px) {
  .header-nav .nav-menu {
    line-height: 2em;
  }
  .header-nav .nav-menu {
    text-align: right;
  }
  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background-color: #0d0d0d;
  }
 .header-wrapper {
    padding-top: 100px;
  }
}

/* Default styling */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  color: #393e46;
  background-image: url("/images/bilak_bg.svg");
  background-repeat:no-repeat;
  background-attachment:fixed;
  background-position:center;
  background-size:30%, 0;
  background-color:  #0d0d0d;
  line-height: 24px;
  -webkit-font-smoothing:antialiased;
  text-rendering:auto;
}

/* Links */
a, a:visited { 
  color: #fd7014; 
  text-decoration: none; 
  transition: all 0.2s ease-out;
}
a:hover, a:active{ 
  text-decoration:underline; 
  color:#fd7014; 
  /*    opacity: 0.8; */
}

a.navigate{
  background-color: rgba(0,0,0,0.5);
  font-size: 16px;
  padding-left: 4px;
  padding-right: 4px;
  min-width: 100px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  color:#fdff;
  text-decoration: none;
}
a.navigate:hover{
  opacity: 0.8;
}

a.more{
  font-size: 16px;
  margin-top: 30px;
}

/* Syntax Highlighting */

pre {
  background: #f8f7fa;
  padding: 34px;
  font-size: 16px;
  line-height: 24px;
  font-family: Consolas, monaco, monospace;
  border-radius: 0px;
  color: #4b505a;
  margin: 34px 0;
  font-weight: 700; 
}

.sh-highlight .hl::before {
    content: '$ ';
}
.sh-highlight .hl {
    background: none;
}

.linenos pre{
  border:none;
  margin-top:20px;
  margin-bottom:20px;
  padding-top:20px;
  padding-bottom:20px;
  padding-left:20px;
  padding-right:0px;
  background:#333;
  font-size:14px;
  font-weight:400;
  font-family:Consolas,monaco,monospace;
  color:#fff
}

.highlight pre {
  border:none;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 40px;
  padding-right: 40px;
  background:#333; 
  font-size: 14px;
  font-weight: 400;
  font-family: Consolas, monaco, monospace;
  color: #fff;
}

/* Titles */

h1 { 
  font-size: 28px;
  line-height: 1em; 
  font-weight: 3rem;
  letter-spacing: 2px;
  border:none;
}

h2 { 
  font-size: 20px;
  line-height: 1.285714285714286em; 
  font-weight: 600;
  margin-bottom: 40px;
}
h2:after {
  display: block;
  content: " ";
  margin-top: 10px;
  width: 100px;;
  border-bottom: 3px solid #fd7014;
}

h3 { 
  font-size: 16px;
  line-height: 1.285714285714286em; 
  font-weight: 600;
  margin-top: 30px;
}
h3:after {
  display: block;
  content: " ";
  margin-top: 10px;
  width: 100px;
  border-bottom: 3px solid #fd7014;
}

h4 { 
  font-size: 12px;
  line-height: 1.285714285714286em; 
  font-weight: 600;
  margin-bottom: 30px;
  text-transform: uppercase;
}
h4:after {
  display: block;
  content: " ";
  margin-top: 10px;
  width: 100px;
  border-bottom: 3px solid #fd7014;   
}

/* Navbar */
.header-nav {
  color:#fff;
  font-size:12px;
  font-weight:600;
}
.header-nav .nav-menu a {
  font-weight:600;
  color:#fff;
  text-decoration:none;
  padding:8px;
  text-transform: uppercase;
  transition: all 0.2s ease-out;
}
.header-nav .nav-menu a:hover{
  color:#fff;
  font-weight:600;
  opacity: 100;
  background-color:#fd7014;
}
.header-nav .nav-menu .active{
  /*color:#fff;*/
  color:#fff;
  font-weight:600;
  background-color: #fd7014;
}
.header-logo {
  font-size:25px;
  font-weight:600;
}
.header-nav .header-logo-image {
  min-height:150px;
  max-height: fit-content;
}
.header-logo a {
  color: #fff;
  text-decoration: none;
}
.header-nav .nav-menu .fas {
  padding-right: 8px;
}
.container .navbar-toggler {
  border-color: #fd7014;
}

/* Header */

.header-container {
  background: #f5f5f5;
  padding: 0;
  min-height: 160px;
}
.header-wrapper{
  padding-left: 40px;
  padding-right: 40px;
  clear: both;
}
.header-content {
  text-align: center;
  padding: 25px 0 55px 0;
}
.header-title {
  font-size: 28px;
  color: #fff;
  font-weight: 700;
}
.header-date {
  margin-top: 15px;
  font-size: 12px;
  color: #fff;
  opacity: 0.8;

}
.header-date a {
  color: #fff;
  text-decoration: underline;
}
.header-underline {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 15px;
  width: 50px;
  border-bottom: 3px solid #fd7014;
}
.header-subtitle {
  font-size: 14px;
  line-height: 24px;
  color: #fff;
  font-weight: 300;
  text-align: justify;
}
.header-subtitle-homepage {
  text-align: center;
  font-style: italic;
}
.translations, .header-tags {
  font-size: 11px;
  color: #fff;
  font-style: italic;
}
.translations a, .header-tags a {
  color: #fff;
}
.header-title, .header-subtitle, .header-logo a, .nav-menue a, .translations, .header-tags, .header-subtitle-homepage,

/* Intro */

.intro {
  display: grid;
  align-items: top;
  grid-template-columns: 1fr 2fr;
  width: auto;
  column-gap: 5px;
}

.intro img {
  max-width: 80%;
  max-height: 80%;
}

.intro text {
  display: inline-block;
  vertical-align: top;
  width: auto;
  padding: 0;
  padding-top: 0;
  text-align: left;
}


/* Content */

.content{
  background-color:rgba(254, 245, 226, 0.9); /*#1a1a1a;*/
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 40px;
  padding-right: 40px;
  border-left: 1px solid rgba(0,0,0,0.1);
  border-right: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 40px;
  font-size: 1.2rem;
}

.content img{
  border: 0;
  display: block;
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 45px;
  margin-bottom: 5px;
}

.content.highlight pre {
  padding-left: -40px;
  padding-right: -40px;
}

.content dt{
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;    
}

.content iframe {
  margin-left: auto !important;
  margin-right: auto !important;
  display: block;
}

/* Navigation */

.navigation{
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 0;
}
.navigation2{
  margin-top: 40px;
  margin-bottom: 40px;
}
.container.navigation::after {
  clear: both;
  display: table;
  content: " ";
}


/* Menu */
.menu{
  font-size: 14px;
}
.menu h4{
  margin-top: 0px;
  margin-bottom: 5px;  
}
.menu a{
  color: #fff;
  padding:0px;
  background-color: #fd7014;
  padding-left: 3px;
  padding-right: 3px;
  padding-top: 2px;
  padding-bottom: 2px;
  opacity: 0.6;
}

/* Article */
.article-container{
  margin-top: 40px; 
}
.article {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  border-top: 1px solid rgba(0,0,0,0.1);
}
.article h2{
  margin-top: 0px;
  margin-bottom: 5px;  
}
.article h2 a{
  color: #4b505a;
  text-decoration: None;
}
.article .date{
  font-size: 12px;
  margin-bottom: 10px;
  opacity: 0.9;  
}

/* Archives */
.archive-container{
  padding-top: 20px;
  padding-bottom: 40px;
  padding-left: 40px;
  padding-right: 40px;
 
}
.archive {
  font-size: 14px;
  line-height: 24px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  border-top: 1px solid rgba(0,0,0,0.1);
}
.archive h2{
  margin-top: 15px;
  margin-bottom: 20px;  
}
.archive h2 a{
  color: #fff;
  text-decoration: None;
}
.archive dt{
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;    
  height: 24px;
}
.archive .more-post {
  text-align: center;
}
/* Styling */

blockquote{
  font-size: 15px;
  opacity: 0.65;
}
/* Author Card */
.container .author-card {
  text-align: center;
}
.container .author-card .author-content {
  text-align: left;
  padding-left: 160px;
}
.container .author-card .author-title {
  color: #aaa;
  margin-bottom: 0.1em;
}
.container .author-card .author-name {
  font-weight: bold;
  margin-bottom: 0.5em;
}
.container .author-card .author-desc {
  font-size: 0.8em;
}
.container .author-card .author-box {
  padding: 1em;
}
.container .author-card .author-box .author-image img {
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid #999;
  float: left;
  width: 128px;
  height: 128px;
}
@media (max-width: 500px) {
  .container .author-card .author-box .author-image img {
    float: none;
  }
  .container .author-card .author-content {
    text-align: center;
    padding-left: 0;
  }
}
.container .underline {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 15px;
  width: 50px;
  border-bottom: 3px solid #fd7014;
}

/* Comments */
.comments{
  margin-top: 40px;
}
.comment-underline {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 15px;
  width: 50px;
  border-bottom: 3px solid #fd7014;
}
.disqus-comment {
  margin-top: 40px;
  text-align: center;
}

/* Spaces */
.mr5 { margin-right: 5px;}
.mr20 { margin-right: 20px;}

/* Gradients */
.gradient {
  /*background-color: #0d0d0d;*/
  background: rgba(13, 13, 13, 0.0);
}

/*buttons*/
button {
  background-color: #1a1a1a;
  border: #fd7014;
  border-radius: 6px;
  color: white;
  padding: 16px;
  margin-right: 2px;
  margin-left: 2px;
  margin-top: 2px;
  margin-bottom: 2px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.4s;
}
.button:hover {
  background-color: #fd7014;
  color: #0d0d0d;
}
.highlight {
  background-color: #fd7014;
  border-radius: 4px;
}
.highlight:hover {
  background-color: #1a1a1a;
  border-radius: 4px;
}

/*quotes*/

.quotes {
  display: block;
  background-color:rgba(253, 112, 20, 0.8);
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 0px;
  width: fit-content;
  text-align: center;
  animation: fade 1s ease 1s both;
}

.quotes li {
  display: inline-block;
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: 10px;
  margin-right: 10px;
  vertical-align: top;
  padding: 0px;
  padding-top: 0;
  text-align: center;
}

.lastimage {
  display: block;
  background: rgba(13, 13, 13, 0.0);
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 0px;
  width: fit-content;
  text-align: center;
  animation: fade 1s ease 1s both;
}


/* Footer */

.footer{
  margin-top: auto;
  background-color: #000;
  font-size: 14px;
  font-weight: 300;
  text-align: left;
  color: #fff;
}

.footer-title {
  text-transform: uppercase;
  margin-bottom: 3px;
  font-weight: 600;
  font-size: 12px;
}
.footer-container{
  padding-top: 20px;
  padding-bottom: 20px;
}
.footer a{
  color: #fff;
}
/* Gallery */
.content figure {
  text-align: center;
}
.content figure img {
  border: 4px double rgba(0,0,0,.1);
  margin-bottom: 1em;
  max-width: 98%;
}
.content .aligncenter  {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.content .alignright {
  float: right;
  margin-left: 1.5em;
}
.content .alignleft {
  float: left;
  margin-right: 1.5em;
}
.content figure figcaption a {
  position: static;
}
