/* variables */

:root {
  --color-magenta: #f000ff;
  --color-cyan: #00d0ff;
  --color-purple: #ae00ff;
  --color-blue: #51aeff;
  --color-dark-blue: #000234;
  --color-navbar-gray: #879299;
  --color-navbar-icon-gray: #9D9D9D;
  --color-footer-gray: #F1F1F1;
  --color-black: #000;
  --color-white: #fff;

  --gradient-polarized-primary-horizontal: linear-gradient(90deg,
      var(--color-cyan),
      var(--color-magenta));

  --button-gradient: var(--gradient-polarized-primary-horizontal);
  --button-stroke-width: 2px;
  --button-border-radius: 1em;
  --button-padding-inline: 1.5em;
  --button-padding-inline-end: 1.25em;
  --button-padding-block: 1em;
  --button-padding-bottom: 0.875em;
  --button-line-height: 1.5em;

  --font-family-name: 'TTNorms';
}

/* debug */
.todo-red {
  color: red;
  font-size: 18px;
  font-weight: bold;
}

/* global */

@font-face {
  font-family: TTNorms;
  src: url('../fonts/TTNorms-Variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 950;
  font-display: swap;
}

html,
body {
  font-family: var(--font-family-name), 'Source Sans Pro', -apple-system,
    BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  color: var(--color-dark-blue);
  box-sizing: border-box;
}

a:focus,
a:active {
  outline: none;
  border-color: transparent;
}

.container {
  padding-right: 0px;
  padding-left: 0px;
}

@media only screen and (max-width: 767px) {
  .container {
    width: 95%;
  }
}

@media only screen and (min-width: 768px) {
  .container {
    width: 90%;
  }
}

@media only screen and (min-width: 992px) {
  .container {
    width: 90%;
  }
}

@media only screen and (min-width: 1200px) {
  .container {
    width: 90%;
  }
}

@media only screen and (min-width: 1600px) {
  .container {
    width: 75%;
  }
}

@media (min-width: 992px) {
  .index-page .col-md-10 {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .article.grid-right {
    display: block;
  }
}

.article img {
  display: block;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (min-width: 1600px) {
  .article img {
    max-width: 80%;
  }
}

.chart-container {
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (min-width: 1600px) {
  .chart-container {
    max-width: 80%;
  }
}

/* navbar */
@media (max-width: 767px) {
  .navbar-inverse {
    padding-top: .3rem;
  }

  .navbar-inverse .navbar-brand {
    height: auto;
  }
}

.navbar-inverse .navbar-brand .replaced-svg {
  width: 140px;
  height: auto;
  margin: 8px 15px;
}

.navbar-inverse .navbar-nav>li>a {
  color: var(--color-navbar-gray);
}

.navbar-inverse .navbar-form .form-control,
.version-dropdown .dropdown-toggle {
  color: var(--color-navbar-gray);
  border-color: var(--color-white);
  border-radius: .35rem;
  box-shadow: none;
  padding-top: .5rem;
}

.navbar-inverse .navbar-form .form-control::placeholder {
  color: var(--color-navbar-gray);
}

.navbar-inverse .navbar-toggle {
  border-color: var(--color-navbar-icon-gray);
  border-radius: 12px;
  width: 42px;
  height: 42px;
}

.navbar-inverse .navbar-toggle .icon-bar {
  background-color: var(--color-navbar-icon-gray);
  width: 20px;
}

.navbar-inverse .navbar-toggle .icon-bar:last-child {
  display: none;
}

@media (min-width: 768px) {
  .index-page .navbar-inverse {
    padding: .5rem;
  }

  .index-page .navbar-inverse .navbar-brand .replaced-svg {
    margin-left: 0;
    margin-bottom: 0;
    margin-right: 1.5rem;
    margin-top: .2rem;
  }

  .other-page .navbar-inverse .navbar-brand .replaced-svg {
    width: 110px;
    margin-right: 1.5rem;
  }
}

/* dropdown */
.version-dropdown .dropdown-toggle {
  padding-bottom: 0.3rem;
  min-width: 160px;
  text-align: left;
}

.version-dropdown>.dropdown-toggle.btn-default:focus,
.version-dropdown>.dropdown-toggle.btn-default:hover {
  color: var(--color-dark-blue);
  border-color: var(--color-white);
  background-color: var(--color-white);
}

.version-dropdown .dropdown-icon::before {
  content: "\e259";
}

.version-dropdown.open .dropdown-icon::before {
  content: "\e260";
}

.dropdown-icon {
  float: right;
  opacity: 0.8;
}

.dropdown-icon:before {
  font-size: 10px
}

.version-dropdown .dropdown-menu {
  border-color: var(--color-white);
  border-radius: .35rem;
  box-shadow: none;
  max-height: 300px;
  overflow: auto;
  right: 24%;
}

.version-dropdown .dropdown-menu::-webkit-scrollbar {
  width: .5rem;
}

.version-dropdown .dropdown-menu::-webkit-scrollbar-track {
  background-color: var(--color-white);
  border-top-right-radius: .35rem;
  border-bottom-right-radius: .35rem;
}

.version-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
  background-color: var(--color-navbar-icon-gray);
  border-radius: .5rem;
  border: 1px solid transparent;
  background-clip: content-box;
}

.other-page .version-dropdown .dropdown-menu {
  border-color: rgba(0, 2, 52, 0.1);
}

.version-dropdown .dropdown-menu>li>a {
  padding: 5px 15px;
  color: var(--color-dark-blue);
}

.version-dropdown .dropdown-menu>li>a:first-child {
  margin-top: 2px;
}

.version-dropdown .dropdown-menu>li>a:last-child {
  margin-bottom: 2px;
}

.version-dropdown .dropdown-menu .divider {
  margin: 9px;
  background-color: rgba(0, 2, 52, 0.1)
}

@media (min-width: 414px) {
  .version-dropdown .dropdown-menu {
    right: 30%;
  }
}

@media (min-width: 768px) {
  .navbar-right.version-dropdown {
    margin-right: -10px;
  }
}

@media (min-width: 992px) {
  .version-dropdown .dropdown-menu {
    right: 15px;
  }
}

/* index page */
.index-page .subnav,
.index-page .sideaffix {
  display: none;
}

.index-page .index-welcome {
  min-height: 65vh;
  flex-direction: column;
  display: flex;
  justify-content: flex-end;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 38.06%, rgba(0, 0, 0, 0.5) 62.04%), url('../images/HOLORIDE0966-small.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

.index-page .text-box {
  margin-bottom: 1rem;
  color: var(--color-white);
}

.index-page .article {
  margin-top: 0;
}

.index-page .article p {
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.index-page .welcome-intro {
  margin-bottom: 3rem;
}

.index-page .img-spotlight {
  max-width: 60%;
}

@media (max-width: 767px) {
  .index-page .text-box {
    margin-left: .25rem;
  }
}

@media (min-width: 768px) {
  .index-page .index-welcome {
    min-height: 60vh;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 38.06%, rgba(0, 0, 0, 0.5) 62.04%), url('../images/HOLORIDE0966-small.webp');
  }

  .index-page .text-box {
    margin-bottom: 1.5rem;
  }

  .index-page .article {}

  .index-page .welcome-intro {
    margin-top: 5rem;
    margin-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .index-page .welcome-intro {
    margin-top: 6.75rem;
    margin-bottom: 6.75rem;
  }
}

@media (min-width: 1440px) {
  .index-page .index-welcome {
    min-height: 55vh;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 38.06%, rgba(0, 0, 0, 0.5) 62.04%), url('../images/HOLORIDE0966.webp');
  }
}

/* global columns */
.col-lg-4 {
  text-align: justify;
}

/* index page columns */
.col-rocket,
.col-book,
.col-code {
  margin-bottom: 2rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .index-page .col-md-6 {
    width: 50%;
    float: left;
  }
}

@media (min-width: 768px) {

  .col-rocket,
  .col-code {
    padding-right: 1rem;
  }

  .col-book {
    padding-left: 1rem;
  }
}

@media (min-width: 1024px) {

  .col-rocket,
  .col-code {
    padding-right: 1.5rem;
  }

  .col-book {
    padding-left: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .col-rocket {
    padding-right: 2rem;
  }

  .col-book {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .col-code {
    padding-left: 2rem;
    padding-right: 15px;
  }

  .col-rocket,
  .col-book,
  .col-code {
    margin-bottom: 4rem;
  }
}

@media (min-width: 1440px) {
  .col-rocket {
    padding-right: 3rem;
  }

  .col-book {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .col-code {
    padding-left: 3rem;
  }
}

/* other pages */
.other-page .index-welcome {
  display: none;
}

/* ruler */
hr.rounded {
  border-top: 3px solid;
  border-radius: 5px;
  color: var(--color-footer-gray);
}

/* buttons */
.button-container {
  overflow: hidden;
  /*margin-bottom: 50px;*/
}

.button {
  position: relative;
  appearance: none;
  display: inline-block;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-transform: capitalize;
  text-align: start;
  letter-spacing: 0.045em;
  line-height: var(--button-line-height);
  color: var(--color-dark-blue);
  padding: var(--button-padding-block) 0 var(--button-padding-bottom) 0;
  border: none;
  border-radius: var(--button-border-radius);
  box-sizing: border-box;
  transition: none 0.2s ease-in-out;
  user-select: none;
  -webkit-tap-highlight-color: rgb(0 0 0 / 0%);
  cursor: pointer;
}

.button:enabled {
  cursor: pointer;
}

.button:link {
  text-decoration: none;
}

.button--text {
  --button-stroke-width: 3px;

  color: var(--color-dark-blue);
  text-transform: uppercase;
  display: inline-block;
  margin-block-start: auto;
  align-self: flex-start;
}

.button--text::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(0.75em - var(--button-stroke-width));
  height: var(--button-stroke-width);
  background-image: var(--button-gradient);
  background-size: 200%;
  background-position-x: 50%;
  transition: inherit;
  transition-property: right;
}

.button--text:hover::before {
  right: 50%;
}

.button--text:active::before {
  right: 100%;
}

.button--text:hover {
  color: var(--color-dark-blue);
}

.button--chart {
  transition: background .25s, border-color .25s;
  background: rgba(40, 44, 52, .05);
  border: 1px solid transparent;
  border-radius: 6px;
  color: #3080d0;
  text-decoration: none !important;
  display: inline-block;
  font-size: .8rem;
  padding: 8px 16px;
  margin: 0 8px 8px 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.button--chart:hover {
  background-color: rgb(48 128 208 / 25%);
  color: #3080d0;
  border: 1px solid #3080d0;
}

.button--chart-container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin: 16px 0;
}

/* headings */
.headline--large {
  font-weight: 700;
  font-size: 2.5rem;
  margin-block-end: 1.5rem;
}

.headline--medium {
  font-weight: 700;
  font-size: 2.25rem;
}

.headline--medium-thin {
  margin-top: 2.5rem;
  font-weight: 300;
  font-size: 2.25rem;
}

.headline--small {
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .headline--large {
    font-size: 3rem;
  }

  .headline--medium {
    font-size: 2.5rem;
  }

  .headline--medium-thin {
    font-weight: 300;
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .headline--large {
    font-size: 3.75rem;
  }

  .headline--medium {
    font-size: 3.3rem;
    margin-block-end: 1.5rem;
  }

  .headline--medium-thin {
    font-weight: 300;
    font-size: 3.25rem;
    margin-block-end: 1.5rem;
  }
}

/* margin */
.margin-bottom {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .margin-bottom {
    margin-bottom: 3rem;
  }
}

/* alignment */
.align-right {
  float: right;
}

.align-left {
  float: left;
}

/* footer */
footer .grad-bottom {
  display: none;
}

.footer {
  border: 0;
  background-color: var(--color-footer-gray);
}