/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

@font-face {
  font-family: "JuliaMono";
  src: url("../fonts/JuliaMono/JuliaMono-Regular.woff2");
}

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

html {
  height: 100%;
}

html, body {
  margin: 0;
  padding: 0;
}

h1, h2 {
  font-family: 'Cormorant Garamond', serif;
  color: white;
  padding:0;
  margin:0;
}

h2 {
  font-size: 3em;
  margin: 0.5em 0;
  text-decoration: underline;
}

h1.hook {
  font-size: 5em;
  font-weight: 600;
  font-style: italic;
  text-decoration: none;
  margin: 0 0 0.25em 0;
}

.header {
  display: flex;
  flex-direction: row;
  margin: 1em 0;
  align-items: center;
}

.logo {
  width: 60px;
  height: auto;
  border-radius: 50%;
  margin-right: 1em;
}

body {
  background-image: linear-gradient(#06331D, #078341 75% 100%);
  background-image: url('../images/bg-no-lines-2.jpg');
  color: #BAD97B;
  height: 100%;
  min-height: 100%;
  font-family: 'JuliaMono', monospace;
  font-size: 16px;
  font-weight: 300;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.hr {
  border-style: solid;
  height: 6px;
  border-color: #BAD97B;
  border-radius: 3px;
  margin-bottom: 1em;
  border-width: 2px;
}

.selected a {
  color: #D0E8D1;
  font-weight: bold;
}

.unselected a {
  color: #91bd23;
}

.unselected a:hover {
  color: #D0E8D1;
}

.releases {
  border-radius: 25% / 95%;
}

table {
  border: 3px double #06331D;
  width: 50%;
  margin-bottom: 0.75em;
  background-color: #078341;
  filter: drop-shadow(5px 10px 4px rgb(0 0 0 / 75%));
}

table td, table th {
  border: 1px solid #06331D;
}

table td {
  padding: 0.25em;
}

.version-header {
  text-align: center;
}

a {
  color: #D0E8D1;
}

a:hover, a:visited, a:active {
  color: #91bd23;
}

.howto {
  background-color: #D0E8D1;
  color: #06331D;
  padding: 0 1em;
  padding-top: 1em;
  padding-bottom: 1em;
  margin: 0;
  position: relative;
}

.howto a,
.howto a:visited,
.howto a:hover,
.howto a:active {
  color: #06331D;
  font-weight: bold;
}

.howto h2 {
  margin: 0;
  color: #06331D;
}

.blurb code {
  border-style: solid;
  border-color: #06331D;
  border-radius: 3px;
  border-width: 1px;
  padding: 0.5em;
  display: inline-block;
  background-color: #D0E8D1;
  color: #06331D;
  width: 100%;
  word-wrap: break-word;
}

.howto code.inline, .blurb code.inline {
  padding: 0;
  display: inline;
}

.lead {
  padding: 0 1em 1em 1em;
}

/* Eventually will replace .howto */

.docs {
  background-color: #D0E8D1;
  background-image: none;
  color: #06331D;
  padding: 0 1em;
  padding-top: 1em;
  padding-bottom: 1em;
  margin: 0;
  /* border-top: #BAD97B solid 4px; */
}

.blurb {
  background-color: #078341;
  border: 3px double #06331D;
  width: 50%;
  filter: drop-shadow(5px 10px 4px rgb(0 0 0 / 75%));
  padding: 0.5em;
  margin: 1.25em 0 0.5em 0;
  color: #e6f3ce;
}

.docs .hr {
  border-color: #06331D;
}

.docs h1 {
  font-size: 4em;
}

.docs h2, .docs h1 {
  margin: 0;
  color: #06331D;
}

.docs code {
  border-style: solid;
  border-color: #06331D;
  border-radius: 3px;
  border-width: 1px;
  padding: 0em 0.5em;
  display: inline-block;
  background-color: white;
  font-family: 'JuliaMono', monospace;
}

.docs p {
  line-height: 1.4em;
}

code.mobile-inline {
  display: inline;
}

.docs .multiline {
  padding: 0.5em;
  background-color: white;
}

.docs a {
  color: #06331D;
  text-decoration: underline;
}

.docs pre code {
  padding: 1em;
}

.docs .lead {
  padding: 0 1em;
}

.docs em {
  font-weight: bold;
}

/* Used for alternating lines of console display */
.docs .alt {
  font-weight: bold;
}

.docs .red {
  color: red;
}

.footer {
  background-color: #000f08;
  color: white;
  padding: 2em;
}

/* Until log is filled */
.changelog {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.changelog .docs {
  flex: 1;
}

.right {
  width: 50%;
  text-align: end;
}

#latest-release {
  margin: 0.5em 0 0.1em 0;
}

.demo {
  width: 50%;
}

.docs pre code {
  max-width: 100%;
  overflow-x: auto;
}

@media (max-aspect-ratio: 1) {
  body {
    font-size: 32px;
  }

  #demo, .blurb, .lead table, .player, .right {
    width: 100%;
  }
}

@media (min-aspect-ratio: 1) {
  body {
    font-size: 16px;
  }

  #demo, .blurb, .lead table, .player, .right {
    width: 50%;
  }

  h1.hook {
    width: 50%;
  }

  .tagline, .selected, .unselected {
    font-size: 1em;
  }

  hr {
    border-width: 2px;
  }
}

.inverted a,
.inverted a:visited {
  color: #D0E8D1;
}

.inverted a:hover,
.inverted a:active {
  color: #91bd23;
}