:root {
  --red: #C5004A;
  --darkred: #7F0036;
  --lightgray: #e0e0e0;
  --gray: #C0C0C0;
  --darkgray: #333;
  --navy: #17050F;
  --blue: #082840;
  --white: #fff;

  --accent: #53E278;
  --accent-text: #41C76B;
  --accent-text-secondary: #28B065;
  --accent-tint: #b5f3c5;
}

* {
  box-sizing: border-box;
}

.h3 {
  font-size: 1.17em;
  margin: 1em 0;
}

.h4 {
  font-size: 1em;
}

html, body {
  padding: 0;
  margin: 0;
  font-family: system-ui, sans-serif;
  color: var(--darkgray);
  background-color: var(--white);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

p:last-child {
  margin-bottom: 0;
}

p, .tmpl-post li, img {
  max-width: 37.5em;
  /* 600px /16 */
}

p, .tmpl-post li {
  line-height: 1.45;
}

a[href] {
  color: var(--blue);
}

a[href]:visited {
  color: var(--navy);
}

main {
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

main :first-child {
  margin-top: 0;
}

header {
  border-bottom: 1px dashed var(--lightgray);
}

header:after {
  content: "";
  display: table;
  clear: both;
}

table {
  margin: 1em 0;
}

table td, table th {
  padding-right: 1em;
}

.bold {
  font-weight: bold;
}

pre, code {
  font-family: Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace;
  line-height: 1.5;
}

.header-icon {
  height: 40px;
  width: 40px;
  margin-right: .25rem;
}

pre {
  font-size: 14px;
  line-height: 1.375;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  -moz-tab-size: 2;
  -o-tab-size: 2;
  tab-size: 2;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  padding: 1em;
  margin: .5em 0;
  background-color: #f6f6f6;
}

.highlight-line {
  display: block;
  padding: 0.125em 1em;
  text-decoration: none;
  /* override del, ins, mark defaults */
  color: inherit;
  /* override del, ins, mark defaults */
}

/* allow highlighting empty lines */

.highlight-line:empty:before {
  content: " ";
}

/* avoid double line breaks when using display: block; */

.highlight-line+br {
  display: none;
}

.highlight-line-isdir {
  color: #b0b0b0;
  background-color: #222;
}

.highlight-line-active {
  background-color: #444;
  background-color: hsla(0, 0%, 27%, .8);
}

.highlight-line-add {
  background-color: #45844b;
}

.highlight-line-remove {
  background-color: #902f2f;
}

/* Header */

.flex-grow {
  display: flex;
  flex-grow: 1;
}

.home {
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  margin: 0;
  /* 16px /16 */
  font-size: 1em;
  /* 16px /16 */
}

.home :link:not(:hover) {
  text-decoration: none;
}

.logo-area {
  display: flex;
  flex-shrink: 0;
  flex-direction: row;
}

/* Nav */

.nav-header {
  padding: 0;
  list-style: none;
  float: left;
  margin-left: 1em;
}

.nav-item {
  display: inline-block;
  margin-right: 1em;
}

.nav-header a[href] {
  text-decoration: none;
  color: #212121;
}

.nav-item-active {
  font-weight: 700;
  text-decoration: underline;
}

.nav-expander {
  display: none;
  flex-grow: 1;
  flex-direction: column;
  align-self: center;
  align-items: flex-end;
  cursor: pointer;
}

.nav-expander img {
  height: 28px;
  padding: 0 .5rem;
  margin: 0 .5rem;
}

.nav-header {
  display: flex;
}

@media only screen and (max-width: 620px) {
  .nav-expander {
    display: flex;
  }
  .nav {
    display: none;
  }
  .nav-open {
    display: flex;
    flex-direction: column;
  }
  .nav-open .nav-item {
    padding: .5rem 0;
  }
  .nav-header {
    flex-direction: column;
  }
}

.flex {
  display: flex;
}

/* Posts list */

.postlist {
  list-style: none;
  padding: 0;
}

.postlist-item {
  counter-increment: start-from -1;
}

.postlist-date, .postlist-item:before {
  font-size: 0.8125em;
  /* 13px /16 */
  color: var(--darkgray);
}

.postlist-date {
  word-spacing: -0.5px;
}

.postlist-link {
  display: inline-block;
  padding: 0.25em 0.1875em;
  text-decoration: none;
  /* 4px 3px /16 */
}

a[href].postlist-link, a[href].postlist-link:visited {
  color: var(--darkgray);
  text-decoration: none;
}

.postlist-item-active .postlist-link {
  font-weight: bold;
}

.tmpl-home .postlist-link {
  font-size: 1.1875em;
  /* 19px /16 */
  font-weight: 700;
}

/* updates */

.update-image {
  object-fit: cover;
  width: 100%;
}

.featurelist {
  display: grid;
  grid-auto-rows: auto;
  row-gap: 1rem;
  column-gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 500px));
}

.featurelist-item {
  counter-increment: start-from -1;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 1px -1px rgba(0, 0, 0, .2), 0 1px 1px 0 rgba(0, 0, 0, .14), 0 1px 3px 0 rgba(0, 0, 0, .12);
}

.featurelist-item:hover {
  filter: brightness(98%);
  transition: filter .2s;
}

.featurelist-content {
  padding: 1rem;
}

.featurelist-home {
  grid-template-columns: repeat(auto-fill, minmax(250px, 350px));
}

/* Tags */

.post-tag {
  display: inline-block;
  vertical-align: text-top;
  text-transform: uppercase;
  font-size: 0.625em;
  /* 10px /16 */
  padding: 2px 4px;
  margin-left: 0.8em;
  /* 8px /10 */
  background-color: var(--red);
  color: var(--white);
  border-radius: 0.25em;
  /* 3px /12 */
  text-decoration: none;
}

a[href].post-tag, a[href].post-tag:visited {
  color: #fff;
}

/* Warning */

.warning {
  background-color: #ffc;
  padding: 1em 0.625em;
  /* 16px 10px /16 */
}

.warning ol:only-child {
  margin: 0;
}

/* Direct Links / Markdown Headers */

.direct-link {
  font-family: sans-serif;
  text-decoration: none;
  font-style: normal;
  margin-left: .1em;
}

a[href].direct-link, a[href].direct-link:visited {
  color: transparent;
}

a[href].direct-link:focus, a[href].direct-link:focus:visited, :hover>a[href].direct-link, :hover>a[href].direct-link:visited {
  color: #aaa;
}

.post-wrapper {
  margin: 0 0 1.5rem 0;
}

.post-image {
  float: right;
  margin: 0 0 1rem 1rem;
  max-width: 100%;
  object-fit: contain;
}

.tmpl-post hr {
  clear: both;
}

.changelog-list {
  list-style-type: none;
  margin: 0 0 .5rem 0;
}

.changelog-list>li {
  text-indent: -5px;
}

.changelog-list>li::before {
  content: '- ';
  text-indent: -5px;
}

.changelog-header {
  margin-bottom: 0;
}

.changelog-date {
  margin-top: 0;
}


.permalink-icon {
  height: 20px;
  vertical-align: middle;
}

/* Carousel
 * Created by Emilio Dominguez
 * https://codepen.io/emilio-dominguez/pen/NWNmvbO
 */

/* *,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
} */

img.carousel-image-placeholder {
  display: none;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #555;
}

.carousel-wrapper .carousel-slide {
  display: none;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-wrapper .carousel-slide, .carousel-wrapper .carousel-slide:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.carousel-wrapper .carousel-slide.is-active {
  display: block;
  opacity: 0;
  -webkit-animation: reveal-content ease forwards 500ms;
  animation: reveal-content ease forwards 500ms;
}

.carousel-wrapper .carousel-slide>div {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  padding: 0 1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 1;
}

.carousel-wrapper .carousel-slide>div h1, .carousel-wrapper .carousel-slide>div p {
  opacity: 0;
  -webkit-animation: reveal-content ease forwards 500ms;
  animation: reveal-content ease forwards 500ms;
}

.carousel-wrapper .carousel-slide>div h1 {
  -webkit-animation-delay: 50ms;
  animation-delay: 50ms;
  margin-bottom: 10px;
}

.carousel-wrapper .carousel-slide>div p {
  -webkit-animation-delay: 100ms;
  animation-delay: 100ms;
}

.carousel-wrapper .carousel-dots, .carousel-wrapper .carousel-arrow {
  stroke: rgba(255, 255, 255, 0.0818);
  z-index: 1;

}

.carousel-wrapper .carousel-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
}

.carousel-wrapper .carousel-dots button {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border: none;
  border-radius: 50%;
  outline: none;
  transition: background-color ease 250ms;
  cursor: pointer;
}

.carousel-wrapper .carousel-dots button+button {
  margin-left: 15px;
}

.carousel-wrapper .carousel-dots button.is-active {
  background-color: coral;
}

.carousel-wrapper .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  outline: none;
  cursor: pointer;

  padding: 7px;
  border-radius: 99999px;
  background: rgba(0, 0, 0, .3);
}

.carousel-wrapper .carousel-arrow.left-arrow {
  left: 25px;
}

.carousel-wrapper .carousel-arrow.right-arrow {
  right: 25px;
}

.carousel-wrapper .carousel-arrow:hover svg path {
  fill: #fff;
}

.carousel-wrapper .carousel-arrow svg {
  display: block;
  height: 20px;
}

.carousel-wrapper .carousel-arrow svg path {
  fill: rgba(255, 255, 255, 0.5);
  transition: fill ease 250ms;
}

@-webkit-keyframes reveal-content {
  from {
    opacity: 0;
    transform: translateX(var(--revealSlideOffset));
  }
  75% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes reveal-content {
  from {
    opacity: 0;
    transform: translateX(var(--revealSlideOffset));
  }
  75% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.changelogs p {
  margin: 0;
}

.changelogs .postlist-item {
  margin-bottom: 2rem;
}

footer {
  background: #efefef;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.0803);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  width: 100%;
}

.footer-cell {
  padding: 1rem;
  flex-basis: 40%;
}

.footer-copyright {
  max-width: 1200px;
  margin: auto;
  width: 100%;
  padding: 1rem;
  opacity: 0.8;
}

.footer-copyright p {
  margin: 1rem 0;
  max-width: unset;
}

@media only screen and (max-width: 620px) {
  .footer-content {
    flex-direction: column;
  }
}

.badge-container {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.store-badge {
  height: 40px;
}

.download-container {
  padding: 40px 15px 104px;
  background: var(--accent-tint);
  border: none
}

.download-content-container {
  margin: 0px auto;
  max-width: 750px;
}

.download-content-container>div {
  text-align: center;
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.fluent-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1px;
  cursor: pointer;
}

.fluent-button .button-base {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4px 11px 6px;
  color: rgba(0, 0, 0, 0.8956);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  border-color: rgba(0, 0, 0, 0.0578);
  border-bottom-color: rgba(0, 0, 0, 0.1622);
  border-width: 1px;
  border-style: solid;
  transition: background 33ms cubic-bezier(0.65, 0.05, 0.36, 1);
}

.fluent-button:hover .button-base {
  background: rgba(249, 249, 249, 0.7);
}

.fluent-button:focus .button-base {
  background: rgba(249, 249, 249, 0.3);
}

.download-button {
  text-decoration: none;
}

.download-subtitle {
  font-weight: 600;
}
