@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,700");
.support {
  align-items: center;
  background: tomato;
  color: #fff;
  display: flex;
  font-size: 0.9rem;
  padding: 0 10px 0 0;
  position: fixed;
  right: 0;
  top: 0;
  width: auto;
  z-index: 100;
}
.support a {
  color: #fff;
  padding: 10px 0;
  text-decoration: none;
}
@supports (display: grid) {
  .support {
    background: #058a6e;
    right: 40px;
    transform: translateX(100%);
    transition: right 0.5s ease-in-out, transform 0.5s ease-in-out;
  }
  .support:hover {
    right: 0;
    transform: translateX(0%);
  }
}

.support svg {
  fill: #ffffff;
  height: 30px;
  margin-right: 5px;
  padding: 5px;
  width: 30px;
}

.unsupported {
  display: block;
}
@supports (display: grid) {
  .unsupported {
    display: none;
  }
}

.supported {
  display: none;
}
@supports (display: grid) {
  .supported {
    display: block;
  }
}

main {
  display: flex;
  flex-wrap: wrap;
}
@media (min-width: 60em) {
  main {
    justify-content: flex-end;
  }
}
@supports (display: grid) {
  main {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr 1fr;
  }
  @media (min-width: 60em) {
    main {
      grid-template-columns: repeat(4, 1fr);
    }
  }
}

@media (min-width: 60em) {
  .intro {
    flex: 0 0 calc(50% - 3rem);
    margin-left: calc(25% - 3rem);
  }
}
@supports (display: grid) {
  .intro {
    grid-column: 1/span 2;
  }
  @media (min-width: 60em) {
    .intro {
      grid-column: 2/span 2;
      margin-left: 0.5rem;
    }
  }
}

@media (min-width: 60em) {
  .summary {
    order: 1;
  }
}
@supports (display: grid) {
  .summary {
    grid-column: 1/span 2;
  }
  @media (min-width: 60em) {
    .summary {
      grid-column: 4/span 1;
    }
  }
}

@supports (display: grid) {
  .post-content {
    grid-column: 1/span 2;
  }
  @media (min-width: 60em) {
    .post-content {
      grid-column: 2;
    }
  }
}
@media (min-width: 60em) {
  .post-content {
    flex: 0 0 calc(50% - 3rem);
  }
  @supports (display: grid) {
    .post-content {
      grid-column: 2/span 2;
    }
  }
}

.byline,
.social {
  flex: 0 0 calc(50% - 3rem);
}
@media (min-width: 60em) {
  @supports (display: flex) {
    .byline,
.social {
      flex: 0 0 calc(25% - 3rem);
    }
  }
}

/* // Styles for fun
// ------------------------------------------------- */
body {
  background: #fff;
  color: #5a5c6c;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 1rem;
}

div {
  margin: 0.5rem;
  padding: 0 1rem;
}
@media (min-width: 60em) {
  @supports (display: flex) {
    div {
      flex: 0 0 calc(25% - 3rem);
    }
  }
}
div:hover {
  background-color: #fbf9fa;
}

.page-title {
  color: #7a1f5c;
  font-size: calc(3rem + 0.25vw);
  font-weight: 700;
  line-height: 1.3;
  margin: 1rem auto;
  max-width: calc(70rem + 0.25vw);
  text-align: center;
}

.post-title {
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 0;
  margin-top: 0;
}
@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
  .post-title:first-letter {
    color: #7a1f5c;
    font-weight: 700;
    initial-letter: 2;
    -webkit-initial-letter: 2;
  }
}

h2 {
  line-height: 1.2;
}

p,
.social a,
h3 {
  margin-top: 1rem;
}

a {
  color: #bf4080;
}
a:hover {
  color: #7c1d46;
}

.social {
  display: flex;
  justify-content: flex-end;
}
.social a {
  font-size: 1.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.meta {
  font-family: Georgia, serif;
  font-size: calc(0.7rem + 0.25vw);
  font-style: italic;
}


/*###############################
/* python terminal css */
@import url(https://fonts.googleapis.com/css?family=Lato:400,700|Source+Code+Pro:700);

.window {
  font: bold 16px "Lato", arial, sans-serif;
  background: #ddd;
  border-radius: 10px;
  display: flex;
  flex-flow: row wrap;
  position: relative;
  width: 42vw;
}

.title {
  flex: 1;
  text-align: center;
  padding: 0.75em;
}

.icons {
  padding: 0.75em;
  position: absolute;
}
.icons span {
  background: #f4c025;
}
.icons:before {
  content: "";
  background: #e4514f;
}
.icons:after {
  content: "";
  background: #3ec930;
}

.icons span, .icons:before, .icons:after {
  display: inline-block;
  float: left;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  margin-right: 0.5em;
}

pre {
  background: #222;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #fff;
  overflow: scroll;
  padding: 2.5em;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
pre code {
  font: bold 1em/1.75 "Source Code Pro", monospace;
}
pre code:after {
  -webkit-animation: blink 0.9s infinite;
          animation: blink 0.9s infinite;
  font: initial;
  display: block;
  opacity: 1;
  content: "▋";
}

.token.punctuation {
  color: #999;
}

.token.boolean,
.token.number {
  color: #8130c9;
}

.token.keyword {
  color: #09a3d5;
}

.token.operator {
  color: #e4514f;
}

@-webkit-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (max-width: 800px) {
  pre {
    font-size: 10px;
  }

  .window {
    width: 70%;
  }
}