/* -----------------------------------------------------------
  Developed by andrej stefanovski;
  andrej@andrejstefanovski.com;
  September 2018;

  0 - Normalize / CSS Reset
  1 - Setup
  2 - Sidebar
  3 - Content
  4 - Footer
  5 - Responsive
----------------------------------------------------------- */

/* -------------------------------------------------------- */
/* 0 - @imports
/* -------------------------------------------------------- */

@import "beta_flag.css"; /* Disable in production */

@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:300,400,500,700|Roboto:300,400,500,700');

/* -------------------------------------------------------- */
/* 0 - CSS Reset
/* -------------------------------------------------------- */

html,
body {
  display: block;
  clear: both;
  margin: 0px;
  padding: 0px;
}

a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  cursor: pointer;
  outline: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
code,
pre,
img,
sub,
sup,
li,
ol,
ul,
label,
button,
table,
tr,
th,
td {
  display: block;
  clear: both;
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-style: normal;
  line-height: 1.0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

ol,ul {list-style: none;}

/* -------------------------------------------------------- */
/* 1 - Setup
/* -------------------------------------------------------- */

html,
body {
  color: rgba(0,0,0,1);
  background: rgba(255,255,255,1);
  border: none;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
}

body {
  height: 100%;
  width: 100%;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 28px;
  font-weight: 700;
}

h3 {
  font-size: 22px;
  text-transform: uppercase;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 10px;
}

/* -------------------------------------------------------- */
/* 2 - Sidebar
/* -------------------------------------------------------- */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 383px;
  height: 100%;
  color: rgba(255,255,255,1);
  background: rgba(20,20,20,1);
  overflow: hidden;
  z-index: 100;
}

/* Begin Header */
.sidebar .site-header {
  padding: 80px 0px 0px 50px;
}
.sidebar .site-title h2 {
  color: rgba(255,255,255,1);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .1em;
  padding-bottom: 10px;
}

.sidebar .site-title h2:hover {
  color: #7f0000;
  transition: color 0.3s;
  transition-timing-function: ease-out;
}

.sidebar .site-subtitle h3 {
  color: rgba(160,160,160,1);
  font-size: 16px;
  font-weight: 300;
  text-transform: none;
  letter-spacing: .05em;
  padding-bottom: 50px;
}
.site-menu {
  display: none;
}
/* End Header */

/* Begin Navigation */
#site-nav a {
  display: block;
  margin: 0;
  padding: 15px 0px 15px 50px;
  color: rgba(255,255,255,1);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .15em;
  border-left: 2px solid black;
  border-right: 2px solid black;
}

#site-nav a:hover {
  color: rgba(0,0,0,1);
  background: rgba(255,255,255,1);
  transition: background 0.5s, color 0.5s;
  transition-timing-function: ease-out;
}
/* End Navigation */

/* Begin Social */
#social-nav {
  display: block;
}
.socials {
  position: fixed;
  width: 177px;
  font-size: 0;
  list-style: none;
  margin: 0;
  text-align: left;
  left: 110px;
  bottom: 50px;
}

.socials li {
  display: inline-block;
  margin-right: 35px;
  margin-bottom: 35px;
  border-radius: 100%;
}

.socials a {
  display: block;
  height: 24px;
  width: 24px;
}

.socials svg {
  height: 100%;
  width: 100%;
  padding: 10px;
  fill: white;
  background: rgba(42,42,42,1);
  border-radius: 15px;
}

.socials svg:hover {
  transition: background 0.6s, fill 0.6s;
  transition-timing-function: ease-out;
}

#ico-envelope svg:hover {
  background: #ea4335;
}
#ico-twitter svg:hover {
  background: #1da1f2;
}
#ico-gitlab svg:hover {
  background: #554488;
}
#ico-flickr svg:hover {
  background: #0063dc;
}
#ico-instagram svg:hover {
  background: #405de6;
}
#ico-keybase svg:hover {
  background: #549ef8;
}
#ico-bluesky svg:hover {
  background: #1185fe;
}
#ico-facebook svg:hover {
  background: #3b5998;
}
#ico-pinterest svg:hover {
  background: #bd081c;
}
/* Icons Retired */
/*
#ico-mastodon svg:hover {
  background: #585af6;
}
#ico-googleplus svg:hover {
  background: #999;
  cursor: not-allowed;
}
*/
/* End Social */

/* -------------------------------------------------------- */
/* 3 - Content
/* -------------------------------------------------------- */

.main {
  top: 0;
  margin-left: 383px;
  height: 100%;
  background: white;
}
.main h1 {
  display: block;
  text-align: left;
}
.main h2 {
  display: block;
  margin: 20px 0px;
  text-align: left;
  letter-spacing: .07em;
}
.main p {
  padding: 18px 0px;
  line-height: 1.5em;
}
.main a {
  color: rgba(0,0,0,1);
  font-weight: 700;
  padding-bottom: 2px;
}
.main a:hover {
  border-bottom: 2px solid black;
}
.content-header {
  margin: 50px 0px;
  padding-left: 0px;
  margin-left: 85px;
}
.content-body {
  display: block;
  margin-left: 85px;
  width: 700px;
}
.main .overwrite-center {
  text-align: center;
}
.main .overwrite-weight {
  font-weight: 900;
}

blockquote:before {content: open-quote;}

blockquote:after {content: close-quote;}

blockquote p {display: inline;}

pre {
  background: #eee;
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  text-align: left;
  line-height: 1.75;
  white-space: pre-line;
  overflow: auto;
  padding: 20px 35px;
}

/* Begin Buttons */
.btn-social a {
  display: block;
  margin: 30px 0px 50px 0px;
  padding: 15px 20px;
  border: 2px solid black;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn-social a:hover {
  background: black;
  color: white;
  transition: background 0.5s, color 0.5s;
  transition-timing-function: ease-out;
}
#btn-bluesky a {
  max-width: 205px;
}
#btn-email a {
  max-width: 255px;
}
#btn-pgp a {
  max-width: 275px;
  margin: auto;
}
#btn-sec-submit a{
  max-width: 205px;
  margin: auto;
}
#btn-bluesky a:hover {
  background: #1185fe;
  border-color: #1185fe;
}
#btn-email a:hover {
  background: #7f0000;
  border-color: #7f0000;
}
#btn-sec-submit a:hover {
  background: #007ee5;
  border-color: #007ee5;
}
/* End Contact Buttons */

/* -------------------------------------------------------- */
/* 4 - Footer
/* -------------------------------------------------------- */

footer {
  display: both;
  clear: both;
  margin: 75px 0px 0px 383px;
}
footer hr {
  margin-left: 75px;
  width: 720px;
}
.footer-container {
  display: block;
  margin-left: 85px;
  width: 700px;
}
.footer-copyright p {
  text-align: center;
  padding: 20px 0px;
}
.footer-copyright a {
  color: rgba(0,0,0,1);
  font-weight: 500;
  padding-bottom: 2px;
}
.footer-copyright a:hover {
  border-bottom: 2px solid black;
}

/* -------------------------------------------------------- */
/* 4 - Responsive
/* -------------------------------------------------------- */

@media only screen and (max-width: 1149px) {
  .content-body {
    padding-left: 60px;
  }
  footer {
    display: none;
  }
  .sidebar {
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
  }
  .sidebar .site-header {
    padding: 50px 0px 15px 40px;
  }
  .sidebar .site-title h2 {
    font-size: 42px;
  }
  .sidebar .site-subtitle h3 {
    padding: 0;
    font-size: 22px;
  }
  #site-nav {
    display: none;
    position: fixed;
    background: rgba(18,18,18,1);
    top: 180px;
    width: 100%;
    height: 100%;
    z-index: 99;
  }
  #site-nav a {
    margin: 0;
    padding: 40px 0px 40px 40px;
    font-size: 48px;
    border: none;
  }
  .site-menu {
    display: block;
    position: fixed;
    top: 50px;
    right: 100px;
    z-index: 99;
  }
  .site-menu a {
    display: block;
    height: 48px;
    width: 48px;
  }
  .site-menu svg {
    height: 100%;
    width: 100%;
    padding: 10px;
    fill: white;
    border-radius: 15px;
  }
  .site-menu svg:hover {
    background: rgba(255,255,255,1);
    fill: rgba(42,42,42,1);
    transition: background 0.5s, fill 0.5s;
    transition-timing-function: ease-out;
  }
  #social-nav {
    display: none;
  }
  .socials-m {
    position: fixed;
    display: none;
    margin: auto;
    width: 249px;
    bottom: 100px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 100;
  }
  .socials-m a {
    height: 48px;
    width: 48px;
  }
  .main {
    margin: 0;
    margin-top: 275px;
  }
  .main p {
    font-size: 28px;
    line-height: 1.8em;
  }
  .content-body {
    padding: 0;
    width: 80%;
  }
  .flag-beta {
    display: none;
  }
}

@media only screen and (max-height: 649px) {
  .sidebar-social {
    display: none;
  }
}
/* 2018 andrej stefanovski */
/* andrejstefanovski.com */