/* css variables*/
:root {
  --primary-color: #432E30;
  --primary-color-light: #8E7474;
  --accent-color: #FE6A6B;
  --accent-color-light: #FFE4E4;
  --accent-color-dark: #B94B4C;
  --white-color: #FAFBFC;
  --light-gray-color: #C6CBD1;
  --medium-gray-color: #959DA5;
  --dark-gray-color: #444D56;
  --bg-color: #F8F8FA;
  --code-bg-color: #F0E8E8;

  --extra-color: #feefce;
}

/* normalized */
html,
body {
  padding: 0;
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  background-color: white;
}

p {
  font-weight: 300;
  color: #4A4A4A;
}

a,
a:hover {
  text-decoration: none;
  color: var(--dark-gray-color);
}

hr {
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid var(--bg-color);
}

img {
  max-width: 100%;
}

* {
  box-sizing: border-box;
}


/* Mozilla based browsers */
::-moz-selection {
  background-color: var(--light-gray-color);
  color: var(--accent-color);
}

/* Works in Safari */
::selection {
  background-color: var(--light-gray-color);
  color: var(--accent-color);
}

/* global components */

/* typography */
.section__title {
  color: var(--accent-color);
}

/* tabs */
.tab__container {
  position: relative;
}

.tab__container>ul {
  position: absolute;
  list-style: none;
  margin: 0;
  right: 1rem;
  top: -2rem;
  padding-left: 0;
}

.tab__container .code {
  white-space: normal;
  padding: 1rem 1.5rem;
}

.tab {
  display: inline-block;
  padding: 0.3rem 0.5rem;
  font-weight: 200;
  cursor: pointer;
}

.tab.active {
  border-bottom: 1px solid var(--primary-color);
  font-weight: 700;
  display: inline-block;
}

.tab__pane {
  display: none;
}

.tab__pane.active {
  display: block;
}

/* code */
.code {
  border-radius: 3px;
  font-family: Space Mono, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
  background: var(--bg-color);
  border: 1px solid var(--code-bg-color);
  color: var(--primary-color-light);
}

.code--block {
  white-space: pre-line;
  padding: 0 1.5rem;
}

.code--inline {
  padding: 3px 6px;
  font-size: 80%;
}

/* buttons */
.button--primary {
  padding: 10px 22px;
  background-color: var(--primary-color-light);
  color: white;
  position: relative;
  text-decoration: none;
  border: 0;
  transition: all .3s ease-out;
}

.qc-img:after,
.qc-vdo:after,
.upgrade-notice:after,
.button--primary:after {
  position: absolute;
  content: "";
  width: 1rem;
  height: 1rem;
  background-color: var(--accent-color-light);
  right: -0.4rem;
  top: -0.4rem;
  transition: all 0.3s ease-out;
}

.button--primary:hover {
  text-shadow: 0px 1px 1px var(--accent-color-dark);
  color: white;
  transform: translate3D(0, -3px, 0);
}

.qc-vdo:hover::after,
.upgrade-notice:hover::after,
.button--primary:hover::after {
  transform: rotate(90deg);
}

.button--secondary {
  padding: 10px 22px;
  border: 2px solid var(--primary-color);
  transition: all 0.5s ease-out;
}

.button--secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* links */
.link {
  text-decoration: none;
  transition: all 0.3s ease-out;
}

.link:hover {
  color: var(--accent-color);
}

.link--dark {
  color: var(--primary-color);
}

.link--light {
  color: var(--accent-color);
}

/* menu */
/* nav {
  display: grid;
  grid-template-columns: 70px auto;
} */

.menu {
  margin: 0;
  text-align: right;
  overflow: hidden;
  list-style: none;
}
.qc-nav-area img {
  height: 80px;
}
.toggle {
  display: none;
  position: relative;
}

.toggle span,
.toggle span:before,
.toggle span:after {
  content: '';
  position: absolute;
  height: 2px;
  width: 18px;
  border-radius: 2px;
  background: var(--primary-color);
  display: block;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  right: 0;
}

.toggle span:before {
  top: -6px;
}

.toggle span:after {
  bottom: -6px;
}

.toggle.open span {
  background-color: transparent;
}

.toggle.open span:before,
.toggle.open span:after {
  top: 0;
}

.toggle.open span:before {
  transform: rotate(45deg);
}

.toggle.open span:after {
  transform: rotate(-45deg);
}

.menu__item {
  padding: 1rem;
  display: inline-block;
}

.menu__item.toggle {
  display: none;
}

/* table */
table {
  border-collapse: collapse;
  width: 100%;
  transition: color .3s ease-out;
  margin-bottom: 2rem;
}

table td,
table th {
  border: 1px solid var(--code-bg-color);
  padding: 0.8rem;
  font-weight: 300;
}

table th {
  text-align: left;
  background-color: white;
  border-color: white;
  border-bottom-color: var(--code-bg-color);
}

table td:first-child {
  background-color: var(--bg-color);
  font-weight: 600;
}



/* layout */
.wrapper {
  margin: 0 auto;
  width: 70%;
}

.footer {
  text-align: center;
  background-color: var(--primary-color);
  padding: 2rem;
  color: white;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}


.qc-vdo {
  /* background: red; */
  background: var(--bg-color);
  position: relative;
  /* padding: 10px 0 5px; */
  margin-bottom: 0;
  text-align: center;
  border: 1px solid var(--code-bg-color);
  border-left: 3px solid var(--accent-color-light);
  border-radius: 3px;
}

.qc-img {
  position: relative;
  background: var(--bg-color);
  border-radius: 3px;
  border: 1px solid var(--code-bg-color);
  border-left: 3px solid var(--accent-color-light);

  text-align: center;
}

section {
  margin-top: 30px;
}

/* .menu__item.qc-logo {
  max-width: 120px;
  padding: 0;
}

.header img{
  max-width: 120px;
} */

.qc__go {
  text-align: center;
  width: 50%;
  margin: 80px auto;
}

.qc__go a {
  width: 40%;
  display: inline-block;
  text-align: center;
  margin: 0 20px;
  padding: 20px 0;
}

.keybinding {
  margin: 3rem auto;
}


.qc-doc-nav {
  border-bottom: 1px solid var(--code-bg-color);
}

.qc-nav-area {
  width: 90%;
  margin: 0 auto 20px;
  overflow: hidden;
}

.nav-right,
.nav-left {
  display: inline-block;
}

.nav-left img {
  display: inline-block;
  float: left;
}

.nav-left h1 {
  white-space: nowrap;
  margin-left: 15px;
  display: inline-block;
}

.nav-left {
  float: left;
}

.nav-right {
  float: right;
}

.nav-right a {
  display: inline-block;
}

.nav-right img {
  float: right;
}

.nav-right a {
  display: inline-block;
  margin: 28px 15px 20px;
}

.button--primary.doc {
  background: var(--accent-color);
}


.feature {
  margin-top: 50px;
}

.feature__item {
  text-align: center;
  margin: 0 20px 20px 0;
}

.feature__item img {
  max-width: 100px;
}

.changelog__meta {
  min-width: 270px;
}

.wrapper {
  width: 80%;
}

.navigation .child {
  margin-left: 10px;
  color: var(--dark-gray-color);
  font-size: 14.5px;
}