@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: local('Open Sans Light Italic'), local('OpenSans-LightItalic'), url(https://fonts.gstatic.com/s/opensans/v15/memnYaGs126MiZpBA-UFUKWyV9hlIqY.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: local('Open Sans Italic'), local('OpenSans-Italic'), url(https://fonts.gstatic.com/s/opensans/v15/mem6YaGs126MiZpBA-UFUK0Xdcg.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(https://fonts.gstatic.com/s/opensans/v15/memnYaGs126MiZpBA-UFUKWiUNhlIqY.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN_r8OXOhs.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFW50e.ttf) format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN7rgOXOhs.ttf) format('truetype');
}
@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  src: local('VT323 Regular'), local('VT323-Regular'), url(https://fonts.gstatic.com/s/vt323/v9/pxiKyp0ihIEF2isfFJA.ttf) format('truetype');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: local('Oswald Regular'), local('Oswald-Regular'), url(https://fonts.gstatic.com/s/oswald/v16/TK3iWkUHHAIjg752Fz8D.ttf) format('truetype');
}
@-webkit-keyframes blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
body {
  font-family: 'Open Sans', Verdana, Sans;
  font-size: 18px;
}
a {
  text-decoration: none;
  border-bottom: solid 1px;
}
a:link {
  color: #636363;
}
a:visited {
  color: #939393;
}
a:hover {
  color: black;
}
strong {
  font-weight: 500;
}
.loader {
  display: table;
  visibility: hidden;
  position: fixed;
  top: -100%;
  width: 0;
  height: 0;
  z-index: 999;
  background: #fff;
  opacity: 0;
  text-align: center;
  -webkit-transition: visibility 0s 1s,
    top 0s 1s,
    width 0s 1s,
    height 0s 1s,
    opacity 1s;
  transition: visibility 0s 1s,
    top 0s 1s,
    width 0s 1s,
    height 0s 1s,
    opacity 1s;
}
.loader .loader-text {
  display: table-cell;
  vertical-align: middle;
  font-family: 'Oswald', Verdana, Sans;
  font-size: 1.8em;
  letter-spacing: 0.05em;
  -webkit-animation: blink 2s infinite;
  -moz-animation: blink 2s infinite;
  -o-animation: blink 2s infinite;
  -ms-animation: blink 2s infinite;
  animation: blink 2s infinite;
}
.loading .loader {
  visibility: visible;
  opacity: 1;
  top: 0;
  width: 100%;
  height: 100%;
}
.mail-addr:before {
  content: '\006d\0061\0063\0069\0065\006a@lesniewski.pro';
}
#sidebar-switch-checkbox {
  display: none;
}
#sidebar-switch {
  display: none;
  position: fixed;
  top: 3vw;
  left: 3vw;
  z-index: 2;
  font-size: 10vw;
  font-family: monospace;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0 0.2em;
}
#sidebar {
  position: fixed;
  width: 30%;
  height: 100%;
  z-index: 1;
  color: #fff;
  background: url('../images/overlay.png') repeat, url('../images/sidebar.jpg') no-repeat 25%;
  background-size: auto, auto 100%;
  box-shadow: inset -0.5em 0 1em 0 rgba(0, 0, 0, 0.6);
  transition: margin-left 0.3s;
  transform: translate3d(0, 0, 0);
}
#sidebar h1 {
  font-family: 'VT323';
  position: absolute;
  letter-spacing: 0.1em;
  font-size: 3vw;
  text-transform: uppercase;
  text-shadow: 0.05em 0.05em 0.05em rgba(0, 0, 0, 0.6);
  text-align: center;
  display: block;
  width: 100%;
  top: calc(50% - 0.5em);
}
#sidebar h1:after {
  content: '_';
  -webkit-animation: blink .7s infinite;
  -moz-animation: blink .7s infinite;
  -o-animation: blink .7s infinite;
  -ms-animation: blink .7s infinite;
  animation: blink .7s infinite;
}
#sidebar ul {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
}
#sidebar ul li {
  margin: 20px 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
  font-size: 1.1em;
  white-space: nowrap;
}
#sidebar ul li a {
  display: inline-block;
  opacity: 0.7;
  min-width: 40%;
  color: #2f3978;
  padding: 0.5em;
  background: #fff;
  transition: padding 0.3s, min-width 0.2s, opacity 0.1s, easy-in-out;
  box-sizing: border-box;
  text-decoration: none;
}
#sidebar ul li a:hover {
  opacity: 1.0;
}
#sidebar ul li a:active,
#sidebar ul li a.active {
  opacity: 1.0;
  min-width: calc(40% + 1em);
  padding-right: 1em;
}
#sidebar footer {
  width: 100%;
  position: absolute;
  bottom: 2em;
  text-align: center;
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.6);
}
#page {
  margin-left: 30%;
  padding: 2em 4em;
  line-height: 150%;
  text-align: justify;
  text-rendering: optimizeLegibility;
  font-weight: lighter;
  background-color: #fff;
}
#page h2 {
  font-size: 1.5em;
  margin: 1.3em 0 1em 0;
  font-weight: normal;
  font-family: 'Oswald', Verdana, Sans;
  letter-spacing: 0.02em;
  line-height: 120%;
}
#page article {
  padding-bottom: 1em;
}
#page article:after {
  margin-top: 3.5em;
  display: none;
  content: '✻ ✻ ✻';
  text-align: center;
  font-size: .8em;
}
#page article p {
  margin: .5em 0;
  line-height: 150%;
}
#page article .technologies-list {
  font-size: 1em;
  text-align: center;
  margin: 2em auto;
  width: 80%;
}
#page article .technologies-list li {
  display: inline-block;
  color: #000;
  background: #fff;
  font-family: monospace;
  padding: 0.15rem 0.8rem;
  margin: 0.4em 0.25em;
  border-radius: 0.3rem;
  letter-spacing: 0.05em;
  border: solid 1px #000;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-out;
  cursor: default;
  transform: perspective(2000px) translate3d(0, 0, 0);
}
#page article .technologies-list li:hover {
  transform: perspective(2000px) translate3d(0, 0, 150px);
  z-index: 1;
}

@media only screen and (max-width: 1024px) and (orientation: portrait) and (min-resolution: 2dppx), screen and (max-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  body {
    font-size: 24px;
  }
  #sidebar-switch {
    display: inline-block;
  }
  #sidebar {
    margin-left: -100%;
    width: 80%;
    font-size: 4vw;
  }
  #sidebar h1 {
    font-size: 8vw;
  }
  #sidebar-switch-checkbox:checked + #sidebar {
    margin-left: 0;
  }
  #page {
    margin-left: 0;
    padding-top: 7em;
  }
  #page h2 {
    font-size: 2.5em;
  }
}
