html {
  min-height: 100vh;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  margin: 8px 0;
  line-height: 1.4;
}

h1,
h2,
h3,
h4 {
  color: white;
  margin: 32px 0 4px 0;
  font-weight: 900;
  font-family: Rubik__subset, "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  text-shadow: 0 2px 1px #333;
}

h2:first-child,
h3:first-child,
h4:first-child {
  margin-top: 0;
}

h1 {
  margin: 32px 0;
  font-size: 54px;
  text-shadow: 0 1px 0 #bbb, 0 2px 0 #b0b0b0, 0 3px 0 #aaa, 0 4px 0 #a0a0a0,
    0 5px 0 #999, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2),
    0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.2),
    0 20px 20px rgba(0, 0, 0, 0.15);
}

img {
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

figcaption {
  margin-bottom: 16px;
  font-size: smaller;
  text-align: end;
}

div.background {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100%;
  background: repeating-linear-gradient(
    -55deg,
    #222,
    #222 10px,
    #333 10px,
    #333 20px
  );
}

div.block {
  position: relative;
  margin: 128px auto 64px auto;
  width: 90%;
  max-width: 512px;
  padding: 24px;
  background-color: #555;
  border: 1px solid #333;
  border-bottom: 3px solid #333;
  border-radius: 5px;
  box-shadow: 0 12px 1px rgba(0, 0, 0, 0.1), 0 0 10px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.3), 0 6px 10px rgba(0, 0, 0, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.2),
    0 40px 40px rgba(0, 0, 0, 0.15);
}

div.title {
  width: 100%;
  text-align: center;
}

.highlight {
  padding: 6px 8px;
  margin-bottom: 16px;
  width: auto;
  text-align: center;
  color: #333;
  background-color: #eee;
  border: 1px solid #333;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.25);
}

.bookmarklet {
  display: table;
  margin: auto;
  margin-bottom: 20px;
  text-decoration: none;
}

span.logo {
  display: inline-block;
  height: 38px;
  width: 38px;
  margin-top: -8px;

  vertical-align: middle;
  line-height: 0.525;

  background-color: white;
  border-radius: 5px;

  box-shadow: 0 1px 0 #bbb, 0 2px 0 #b0b0b0, 0 3px 0 #aaa, 0 4px 0 #a0a0a0,
    0 5px 0 #999, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2),
    0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.2),
    0 20px 20px rgba(0, 0, 0, 0.15);
}

span.triangle {
  color: transparent;
  background-color: #555;
  font-size: 46px;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  text-shadow: 0px 2px 3px rgba(255, 255, 255, 0.5);
}

span.underline {
  text-decoration: underline;
}

code,
pre,
kbd {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 84%;
}

kbd {
  padding: 0 4px;
  color: #222;
  background-color: white;
  border-radius: 2px;
  box-shadow: 0 2px 1px #333;
}

kbd:hover {
  cursor: default;
  position: relative;
  top: 1px;
  box-shadow: 0 1px 1px #333;
}

footer {
  position: relative;
  margin-bottom: 128px;
  text-align: center;
}

a,
a:visited {
  color: white;
  text-shadow: 0 3px 2px rgba(0, 0, 0, 0.2);
}

ul li {
  margin-bottom: 8px;
}

ul.bulletless {
  list-style-type: none;
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 36px;
  }

  div.block {
    padding: 16px;
  }

  span.logo {
    line-height: 0.9;
  }
}

/* Ko-fi */
.btn-container {
  width: 100%;
  text-align: center !important;
}

.producthunt {
  text-align: center;
}

.producthunt img {
  width: 250px;
  height: 54px;
  border-radius: 12px;
  text-align: center;
}
