@import "~highlight.js/styles/github-gist.css";
@import "../../src/scss/css-variables";

body {
  background-color: #f5f7f9;
  margin: 0;
}

code {
  border: 1px dashed #b9b9b9;
  padding: 1px 5px;
  background: rgba(0, 0, 0, .03);
}

main {
  max-width: 1024px;
  margin: 80px auto 0;
  font-family: monospace;
  > * {
    margin-left: 10px;
    margin-right: 10px;
    overflow-x: auto;
    &:not(:last-child) {
      margin-bottom: 20px;
    }
  }
  .section {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none !important;
    outline: none;
    user-select: none;
  }
}

footer {
  max-width: 1024px;
  margin: 50px auto 30px;
  text-align: center;
  a {
    display: inline-block;
    width: 25px;
    &:hover {
      svg {
        fill: #000;
      }
    }
    svg {
      fill: #777;
      transition: .25s;
    }
  }
}

.background {
  background-color: #f2f2f2;
  transition: background-color .15s;
}

.background--secondary {
  background-color: #e3e5ec;
  transition: background-color .15s;
}

.background-hover {
  cursor: pointer;
  &:hover {
    &.background,
    .background {
      background-color: #d4d4d4;
    }
    &.background--secondary,
    .background--secondary {
      background-color: #c9cee4;
    }
  }
}

.mb-5 {
  margin-bottom: 5px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.p-30 {
  padding: 30px;
}
