@font-face {
  font-family: 'PriskaSerif-NotThatFat';
  src: url('../fonts/DinoFont.ttf') format('truetype');
}

*, *::before, *::after {
  box-sizing: border-box;
}

input, button, textarea, select {
  font: inherit;
}

:root {
  --dino-font-family: 'PriskaSerif-NotThatFat', sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: #111;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Roboto",
    "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

a {
  color: #649aff;
  text-decoration: none;

  &:hover, &:focus-visible {
    color: #81adfd;
    text-decoration: underline;
  }
}

h1, h2, h3 {
  font-family: var(--dino-font-family);
}

.anchor-target {
  position: relative;
  display: block;
  top: -56px;
  visibility: hidden;
}

header {
  background-color: #111;
  box-shadow: 0px 0px 4px 3px #0b0b0b;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  min-height: 50px;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

header nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  font-size: 22px;
}

@media (max-width: 769px) {
  header nav {
    font-size: 18px;
  }
}

@media (max-width: 614px) {
  .hide-sm {
    display: none !important;
  }
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-family: var(--dino-font-family);
  white-space: nowrap;
}

header nav a img {
  height: 1.5em;
  vertical-align: middle;
  margin-right: 16px;
}

header nav .divider {
  border-left: 1px solid #333;
  height: 1em;
}

@keyframes btn-color-pulse {
  from {
    color: #fff
  }
  to {
    color: #de8d30;
  }
}

header nav a.nav-btn {
  padding: 8px 16px;

  &:hover, &:focus-visible {
    animation: 0.75s linear 0s infinite alternate btn-color-pulse;
    text-decoration: underline;
  }
}

footer {
  display: block;
  width: 100%;
  padding: 72px;

  background-color: #141414;

  background-image: url('../images/wl2.png');
  background-size: cover;
  background-position-x: center;
  background-position-y: 0;
  background-repeat: no-repeat;
}

main {
  margin-top: 50px;
  color: #fff;
}

.block {
  display: block;
  width: 100%;
  padding: 48px;
  border-bottom: 4px solid #8f4e4e;

  &.block-odd {
    background-color: #141414;
  }

  &:last-of-type {
    box-shadow: 0px 0px 24px 0px #111;
    position: relative;
  }
}

.block .block-content {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.block-content.block-content-thinner  {
  max-width: 900px;
}

.landing {
  background-image: url('../images/background-gradient.svg');
  min-height: 80vh;

  padding: 48px 0px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  position: relative;
}

.launcher-star {
  position: absolute;
}

.launcher-star--far {
  width: 8px;
  height: 8px;
  opacity: 0.5;
}

.launcher-star--tiny {
  width: 10px;
  height: 10px;
} 

.launcher-star--small {
  width: 15px;
  height: 15px;
}

.launcher-star--medium {
  width: 20px;
  height: 20px;
}

.launcher-star--big {
  width: 30px;
  height: 30px;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 64px;
  padding: 0px 16px;
  width: 100%;
}

.logo h1 {
  font-family: var(--dino-font-family);

  font-size: 42px;
  margin-top: 0px;
  letter-spacing: 8px;
  -webkit-text-stroke: 2px #242c9f;
  color: #ffb000;
}

@media (max-width: 614px) {
  .logo h1 {
    font-size: 28px;
  }
}

.logo img {
  max-height: 150px;
  max-width: 100%;
}

.landing-text {
  color: #fff;
  font-size: 18px;
  text-align: center;
  margin-bottom: 48px;
  padding: 0px 16px;
}

.landing-text .landing-text-note {
  display: block;
  color: #8c8c8c;
}

.landing-btns {
  padding: 0px 16px;
}

.landing-download-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--dino-font-family);
  font-weight: bold;
  font-size: 24px;

  background: linear-gradient(
    to top,
    #180E2A 00%,
    #521713 100%
  );

  border: 2px solid #5f2c2c;

  &:hover, &:focus-visible {
    color: #fff;
    text-decoration: none;

    background: linear-gradient(
      to top,
      #180E2A 00%,
      #521713 50%,
      #521713 100%
    );

    border-color: #8f7373;
  }

  &:not(:last-of-type) {
    margin-right: 8px;
  }
}

.landing-download-btn-secondary {
  background: none;

  &:hover, &:focus-visible {
    background: none;
  }
}

.block-heading {
  font-size: 32px;
  margin-top: 0;
}

.block-heading.block-heading-shadow {
  text-shadow: 1px 1px #000;
}

.features-block {
  background-image: url(../images/df.png);
  background-size: cover;
  background-position: center;
  box-shadow: inset 0px 0px 24px 0px #111;
}

.card {
  padding: 24px;
  border: 2px solid #5f2c2c;
  border-radius: 16px;
  background-color: #181818;
  transition: border-color 0.2s;
  height: 100%;


  &:hover {
    border-color: #804141;
  }
}

.card .card-title {
  font-weight: bold;
  font-family: var(--dino-font-family);
  margin-bottom: 8px;
  font-size: 18px;
}

.features-col {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  margin-bottom: 24px;
  width: calc(100% / 2);

  &:not(:last-child) {
    margin-right: 24px;
  }
}

.features-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

@media (max-width: 769px) {
  .features-col {
    width: 100%;
  }

  .features-row {
    display: block;
  }
}


.dinomod-logo {
  float: left;
  height: 124px;
  margin-bottom: 24px;
  margin-right: 24px;
  border-radius: 8px;
}

.dinomod-why-heading {
  clear: left;
  margin-bottom: 0;
}

.dinomod-download-btn {
  margin-bottom: 24px;
  float: left;

  a {
    display: block;
  }
}

.dinomod-desc {
  margin-bottom: 32px;
}

@media (max-width: 852px) {
  .dinomod-desc {
    margin-bottom: 9px;
  }
}

@media (max-width: 672px) {
  .dinomod-download-btn {
    float: none;
    clear: left;
    display: block;

    a {
      display: inline-block;
    }
  }
}

.fancy-btn {
  text-decoration: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--dino-font-family);
  font-weight: bold;
  font-size: 18px;

  background: linear-gradient(
    to top,
    #180E2A 00%,
    #521713 100%
  );

  border: 2px solid #5f2c2c;

  &:hover, &:focus-visible {
    color: #fff;
    text-decoration: none;

    background: linear-gradient(
      to top,
      #180E2A 00%,
      #521713 50%,
      #521713 100%
    );

    border-color: #8f7373;
  }
}

blockquote {
  margin-left: 0;
  padding-left: 16px;
  border-left: 3px solid #5f2c2c;
}

.download-aside {
  float: right;
}

@media (max-width: 614px) {
  .download-aside {
    float: none;
    margin-bottom: 16px;
  }
}

.download-version {
  padding: 16px;
  border: 2px solid #5f2c2c;
  border-radius: 16px;
  background-color: #181818;

  background-image: url(../images/logo.png);
  background-repeat: no-repeat;
  background-size: 48px;
  background-position: top right;
  background-origin: content-box;
  max-width: 300px;
}

.download-version-heading {
  margin-top: 0;
  margin-bottom: 8px;
}

.download-icon {
  height: 0.85em;
  vertical-align: center;
  margin-right: 4px;
}

.download-table {
  margin-bottom: 8px;
}

.heading {
  position: relative;
}

.heading-anchor {
  position: absolute;
  top: 0;
  left: -28px;
  padding: 0px 8px;
  font-size: 20px;
  opacity: 0;
  color: #fff;

  &:hover {
    text-decoration: none;
  }

  &:hover, &:focus-visible {
    color: #fff;
  }
}

.heading-anchor.heading-anchor-big {
  font-size: 32px;
  left: -48px;
  padding: 0px 16px;
}

.heading:hover .heading-anchor,
.heading-anchor:focus-visible {
  opacity: 100%;
}

.inline-code {
  display: inline;
}
