/**
 * Copyright (c) 2017-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

.section {
  padding: 72px 0;
}

.sectionAlt {
  background-color: var(--ifm-color-emphasis-inverse-alpha-30);
}
.navbar {
  justify-content: center;
}

.navbar__inner {
  max-width: 1400px !important;
}
.index-ctas-github-button {
  margin-left: 10px;
}

.sectionInner {
  margin: 0 auto;
  align-self: center;
}

.featureImage {
  max-width: 60%;
  margin: 0 auto;
}

.announcement {
  background-color: #20232a;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  padding: 48px;
  margin: 0 0;
  text-align: center;
}

.announcement-inner {
  margin: 0 auto;
  max-width: 768px;
}

.index-hero {
  background-color: #2b3137;
  padding: 48px;
  padding-top: 100px;
}

.index-hero-inner {
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 20px;
}

.index-hero-project-tagline {
  color: #fff;
  font-size: 64px;
  margin: 0;
}

.index-hero-project-keywords {
  color: var(--ifm-color-primary);
}

@keyframes jackInTheBox {
  from {
    opacity: 0;
    transform: scale(0.1) rotate(30deg);
    transform-origin: center bottom;
  }

  50% {
    transform: rotate(-10deg);
  }

  70% {
    transform: rotate(3deg);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.index-hero-logo {
  animation-duration: 2s;
  animation-name: jackInTheBox;
  float: right;
  margin-top: 20px;
  padding: 20px;
  background-color: #2b3137;
}

.index-ctas {
  margin-top: 24px;
}

.index-ctas-get-started-button {
  border: 1px solid var(--ifm-color-primary);
  display: inline-block;
  line-height: 1.2em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  border-radius: 8px;
  border-width: 2px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  margin-right: 24px;
  padding: 18px 36px;
}

.index-ctas-github-button {
  vertical-align: sub;
}

@media only screen and (max-width: 768px) {
  .index-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .index-hero-inner {
    padding: 0;
  }

  .index-hero-project-tagline {
    font-size: 36px;
    text-align: center;
  }

  .index-hero-logo {
    display: block;
    float: none;
    margin: 0 auto;
  }

  .index-ctas {
    text-align: center;
  }

  .index-ctas-github-button {
    display: none;
  }
}
