/* stylelint-disable docusaurus/copyright-header */
/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #FC5D0D;
  --ifm-color-primary-dark: rgb(33, 175, 144);
  --ifm-color-primary-darker: rgb(31, 165, 136);
  --ifm-color-primary-darkest: rgb(26, 136, 112);
  --ifm-color-primary-light: rgb(70, 203, 174);
  --ifm-color-primary-lighter: rgb(102, 212, 189);
  --ifm-color-primary-lightest: rgb(146, 224, 208);
  --ifm-code-font-size: 95%;
}

.docusaurus-highlight-code-line {
  background-color: rgb(72, 77, 91);
  display: block;
  margin: 0 calc(-1 * var(--ifm-pre-padding));
  padding: 0 var(--ifm-pre-padding);
}

.header-github-link:hover {
  opacity: 0.6;
}

.header-github-link:before {
  content: '';
  width: 24px;
  height: 24px;
  display: flex;
  background: url(/img/camunda-github.png) no-repeat;
  background-size: 100% 100%;
}

.header-forum-link:hover {
  opacity: 0.6;
}

.header-forum-link:before {
  content: '';
  width: 24px;
  height: 24px;
  display: flex;
  background: url(/img/camunda-forum.png) no-repeat;
  background-size: 100% 100%;
}

.hero--primary {
  background-color: #FC5D0D;
  background-repeat: no-repeat;
  background-size: 100%;
}

.button--hero {
  background-color: #fff;
}

.button--hero:hover {
  background-color: #e6e7e8;
}

[data-theme='dark'] .button--hero:not(:hover) {
  --ifm-font-color-base: #000000;
}
