@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Press+Start+2P);
/* Cool infinite background scrolling animation.
 * Twitter: @kootoopas
 */
/* Background data (Original source: https://subtlepatterns.com/grid-me/) */
/* Animations */
@-webkit-keyframes bg-scrolling-reverse {
  100% {
    background-position: 50px 50px;
  }
}
@-moz-keyframes bg-scrolling-reverse {
  100% {
    background-position: 50px 50px;
  }
}
@-o-keyframes bg-scrolling-reverse {
  100% {
    background-position: 50px 50px;
  }
}
@keyframes bg-scrolling-reverse {
  100% {
    background-position: 50px 50px;
  }
}
@-webkit-keyframes bg-scrolling {
  0% {
    background-position: 50px 50px;
  }
}
@-moz-keyframes bg-scrolling {
  0% {
    background-position: 50px 50px;
  }
}
@-o-keyframes bg-scrolling {
  0% {
    background-position: 50px 50px;
  }
}
@keyframes bg-scrolling {
  0% {
    background-position: 50px 50px;
  }
}
/* Main styles */
body {
  /* img size is 50x50 */
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAALsSURBVGhD7ZjtbuowEETz/m9ZUX6AAKl8U0q5OrkZNCwxjd1UhSojjZI4i70nXjsR1cfHx/nz8/PKp9OpPrpijLtUjJNyrmqQ2InaXDHGXQrTNrbMvRwlQWJHMcb90CAcXTHGPYAMILfqBQSXqHeQlF1t9+W+ZsT75DpHVXN8ev0dkM1mc3av1+v6uN/vm5DnUDUej8/T6fRirl9fX2vvdrsmrLu85t2qfZfWQptz1101mUzO8/n84tlsdgFidnKlhGOSJBZB/H50jP1K1Wg0qpN3GAzMarVqwrpLABFEdqVicDbIy8tLnfSfAInlhZmlt7e3Jqy7UiC6dt0DwTlqBVGpLRaLJqy72hLCKRC3x2Uv9lRp/QQIdqlNViwQ2SAs9rYZoa3P7Vd2RRBcAoGq9/f3+uXHepCf7WWIOn2i8KSAS5n7v62Kl952u736TJElkm27L9OHw6iMVCaY+7G0KF3G5qhzObe8Kt4VbYlxVGfL5fImJhpYpIR1lCMI14xzOBxqCI0p577DfhVEs8HvnxaEvgFhLNn7e1gQrP4Q92Py7gHE/VMgrt5B6KzNdKbBS0CiUduMkHC02nNUsf2RhJu24/HYhPwfFJiUGZSYXMVx3Q7dRcO/KPfE7KjEOPI9xzH3KeeoonOsQVXTnJeI9UKp+ctObbgEhlLjt/Tj61h9kusNiMx1iehY306CYFCdlzwg/4RxEK4ZjzVd/2XqMAIqBRGEJ++mzHLlDyWacbh/AVHinH8XRAPEQXHfIPgCopnwmaG9RAL4FRCHcaASpQBox/5+6qqvQNgMrmbEXSrfXXyw74CwA3pf3ufVYncAlVYpDE+nbVABlohEY39YD4tchzf7o6l3EEqTxYmpbZkSoM3FeqFsZH0wch5FO79XTIztHUSLWjUsA8M60bZOXWvdpCwBoD6jaWdL/xGQtgFlvUcAuhfLPSm1a8mADiApDSDBA0hfIoFUgnHXinG6Vh8SiXqcm7jD4XD+B09mjeA+bB2eAAAAAElFTkSuQmCC') repeat 0 0;
  -webkit-animation: bg-scrolling-reverse 15s infinite;
  /* Safari 4+ */
  -moz-animation: bg-scrolling-reverse 15s infinite;
  /* Fx 5+ */
  -o-animation: bg-scrolling-reverse 15s infinite;
  /* Opera 12+ */
  animation: bg-scrolling-reverse 15s infinite;
  /* IE 10+ */
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  -o-animation-timing-function: linear;
  animation-timing-function: linear;
}

body {
  padding: 0 2rem;
  margin: 0 2rem;
}

#nescss > .container {
  max-width: 980px;
  margin: 0 auto;
  margin-top: 150px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
  border-bottom: 4px solid #D3D3D3;
  background-color: white;
}

body > * {
  opacity: 0.95;
}

header > .container {
  display: flex;
  align-items: baseline;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 1rem;
  transition: all 0.2s ease;
}

header > .container > .nav-brand {
  margin-right: auto;
}
header > .container > .social-button {
  margin-left: auto;
}

.nav-brand .brand-logo {
  margin-right: 0;
  margin-bottom: 12px;
  image-rendering: pixelated;
  width: 35px;
}
.nav-brand > a {
  color: #212529;
  text-decoration: none;
}

.social-buttons p {
  margin-bottom: 0;
}

/* Header-sticky */
header.sticky > .container {
  font-size: 0.8rem;
  padding: 0;
  align-items: center;
}
header.sticky .nav-brand h1 {
  margin: 0;
}
header.sticky .nav-brand p {
  display: none;
  margin-bottom: 0;
  font-size: 0.6rem;
}

/* Main */
.main-content {
  margin-bottom: 4rem;
}

/* Footer */
footer {
  text-align: center;
  margin-bottom: 2rem;
}
footer a {
  color: #333;
  text-decoration: none;
}

h2 > a {
  margin-right: 1rem;
}

.topic {
  margin-bottom: 3rem;
}

/* github link */
.github-link {
  position: fixed;
  top: 100px;
  right: -240px;
  z-index: 999;
  display: flex;
  height: 100px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}
.github-link.active {
  right: 10px;
}
.github-link:hover {
  text-decoration: none;
}
.github-link > p.nes-balloon {
  align-self: flex-start;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  color: #333;
}
.github-link > i.nes-octocat {
  align-self: flex-end;
}

/* Showcase */
section.showcase {
  margin-top: 2.5rem;
}
section.showcase > section.nes-container {
  padding-bottom: 2.5rem;
}
section.showcase > section.nes-container,
section.showcase > section.samplecode {
  position: relative;
}
.nes-btn.showcode {
  position: absolute;
  font-size: 12px;
  bottom: 0px;
  right: -4px;
}
.nes-btn.copycode {
  position: absolute;
  font-size: 12px;
  top: 0;
  right: 0px;
}

section.showcase > section.samplecode > pre code {
  font-size: 13px;
  line-height: 1.5;
  padding: 1.5rem;
}

.item {
  margin-bottom: -1rem;
}
.item > * {
  margin-bottom: 1.5rem !important;
}

/* Containers */
.item.containers > .nes-container {
  display: inline-block;
  max-width: 400px;
}

/* Balloons sample */
section.message-list {
  display: flex;
  flex-direction: column;
}
.message-list > .message {
  display: flex;
  margin-top: 2rem;
}
.message-list > .message > .nes-balloon {
  max-width: 550px;
}
.message-list > .message i {
  align-self: flex-end;
}
.message-list > .message.-left {
  align-self: flex-start;
}
.message-list > .message.-right {
  align-self: flex-end;
}
.message-list > .message.-left i {
  margin-right: 2rem;
}
.message-list > .message.-right i {
  margin-left: 2rem;
}

.icon-list > .blur-filter {
  filter: blur(10px);
}

/* Copied balloon */
.nes-balloon.copied-balloon {
  position: absolute;
  display: none;
  padding: 1rem;
  box-shadow: 0 5px 20px 5px rgba(0,0,0,.6);
  z-index: 1;
}

/* Topic */
h3.topic-title {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

h3.topic-title > i {
  margin-right: 1.5rem;
}

/* coreteam */
.coreteam-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.nes-container.member-card {
  display: flex;
  padding: 1rem 1.5rem;
  width: 470px;
  margin-bottom: 2rem;
}

.member-card .avatar > img {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}
.member-card > .profile {
  margin-left: 1.5rem;
}
.member-card > .profile > .name {
  font-size: 20px;
}

/* Contributors */
.contributor {
  display: inline-block;
  margin: 1rem;
  text-align: center;
  width: 160px;
}
.contributor > p {
  margin: .5rem;
  font-size: 12px;
}
.contributor img.nes-avatar {
  transition: all .4s;
  display: inline-block;
}
.contributor:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* Articles */
.article-link > .title a {
  color: #333;
}
.article-link > .title span {
  margin-left: 1rem;
}

/* Scroll back to top */
.scroll-btn {
  position: fixed;
  bottom: -60px;
  right: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,.6);
  transition: all 0.3s ease;
}
.scroll-btn.active {
  bottom: 25px;
}
.scroll-btn > span {
  display: block;
  transform: rotateZ(90deg);
}

img.lazy {
  background-color: #D3D3D3;
}

#copy-btn{
  float:right;
  width:15%
}

#telegram-email{
  float:left;
  width: 80%;
}

@media screen and (max-width: calc(980px - 4rem)) {
  header > .container {
    margin: 0 4rem;
  }
}

@media screen and (max-width: 768px) {
  body {
    margin: 2rem 0.5rem;
    padding: 0;
  }

  header > .container {
    margin: 0 0.5rem;
  }

  .github-link {
    display: none;
  }

  .message-list > .message > .nes-balloon {
    max-width: 60%;
  }
}

@media screen and (max-width: 580px) {
  #nescss > .container {
    margin-top: 190px;
  }
}

.show-small{
  display:none;
}

.typewriter {
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: .15em solid orange; /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .15em; /* Adjust as needed */
  animation:
          typing 3.5s steps(40, end),
          blink-caret .75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange; }
}

@media screen and (max-width: 650px) {
  footer{
    margin-bottom: 100px;
  }
  .show-small{
    display:block;
  }

  #step-2{
    padding: 1.5rem 20px;
  }

  #email-link {
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    overflow: hidden;
  }
  #balloons .nes-bcrikko{
    display:none;
  }
  .message-list > .message > .nes-balloon{
    max-width: 85%;
  }
  .nav-brand h1{
    font-size: 16px;
  }
  #copy-btn{
    width: 30%;
  }

  #telegram-email{
    width: 60%;
  }

  .show-large{
    display:none;
  }

  .footer-year{
    display:block;
  }
}

#dialog-default form {
  max-width: 600px;
}

.dialog-menu.is-centered{
  text-align: center;
  padding: 0;
}

#copy-textarea{
  position: absolute;
  left:-1000px;
  top:-1000px;
}