/* Background behind Hero */
  .tx-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #F17C58, #E94584, #24AADB , #27DBB1,#FFDC18);
    background-size: 600% 100%;
    animation: gradient-bg 30s ease infinite;
    animation-direction: alternate;
  }

  /* Shadow Under Tabs */

  .md-tabs {
    z-index: 1;
  }

  /* Gradient Animation Keyframes */
    @keyframes gradient-bg {
      0% {
        background-position: 0% 50%;
      }

      50% {
        background-position: 100% 50%;
      }

      100% {
        background-position: 0% 50%;
      }
    }

/* Hero container */
  .tx-container {
    padding-top: 1rem;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1123 258'><path d='M1124,2c0,0 0,256 0,256l-1125,0l0,-48c0,0 16,5 55,5c116,0 197,-92 325,-92c121,0 114,46 254,46c140,0 214,-167 572,-166Z' style='fill: hsla(0, 0%, 100%, 1)' /></svg>")no-repeat bottom;
  }

  /* - dark mode */
    [data-md-color-scheme="slate"] .tx-container {
      background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1123 258'><path d='M1124,2c0,0 0,256 0,256l-1125,0l0,-48c0,0 16,5 55,5c116,0 197,-92 325,-92c121,0 114,46 254,46c140,0 214,-167 572,-166Z' style='fill: hsla(232, 15%, 21%, 1)' /></svg>") no-repeat bottom;
    }

  .tx-hero {
    margin: 0 0.8rem;
    color: var(--md-primary-bg-color);
  }

  .psuedo-h1 {
    display: flow-root;
    margin: 0 0 1.25em;
    margin-bottom: 1rem;
    color: currentColor;
    font-weight: 700;
    font-size: 2em;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }

.tx-hero__content {
  padding-bottom: 6rem;
}

.ico-colorize svg {
  fill: var(--bitstream-blue);
}

/* Hero buttons */
  .tx-hero .md-button {
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    color: var(--md-primary-bg-color);
  }

  .tx-hero .md-button:hover,
  .tx-hero .md-button:focus {
    background-color: var(--md-accent-fg-color);
    border-color: var(--md-accent-fg-color);
    color: #fff;
  }

  .tx-hero .md-button--primary {
    color: #000;
    background-color: var(--md-primary-bg-color);
    border-color: var(--md-primary-bg-color);
  }

  /* - dark mode */
    [data-md-color-scheme="slate"] .tx-hero .md-button--primary {
      color: #fff !important;
    }

    [data-md-color-scheme="slate"].tx-hero .md-button:hover,
    [data-md-color-scheme="slate"].tx-hero .md-button:focus {
      background-color: var(--md-accent-fg-color);
      border-color: var(--md-accent-fg-color);
    }

/* Remove spacing, as we cannot hide it completely */
  .md-main__inner {
    margin: 0;
  }

/* Hide main content for now */
  .md-content {
    display: none;
  }

/* Feature items */
  .tx-features {
    z-index: 1;
    background-color: var(--md-default-bg-color);
  }

  .top-hr {
    margin-top: 40px;
  }

  .hr {
    border-bottom: 1px solid #ccc;
    width: 100%;
    margin: 20px 0;
  }

  .feature-item {
    display: flex;
    box-sizing: border-box;
    padding: 0 15px;
    margin: 10px 0;
    word-break: normal;
  }

  .feature-item h2 {
    font-size: 2.25em;
    overflow: hidden;
    white-space: nowrap;
  }

  .feature-item h2 svg {
    height: 35px;
    width: 35px;
    float: left;
    margin-right: 10px;
  }

  .feature-item p {
    font-size: 16px;
    display: block;
    line-height: 1.8em;
  }

/* Partner logos */
  .partner-item {
    margin: auto;
    padding: 10px;
    flex-basis: 33.33%;
  }

  .partner-item img{
    display: block;
    max-width: 120px;
    margin: 0 auto;
  }

  .partner-container {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    max-width: 60rem;
    margin-top: 20px;
    margin-bottom: 40px;
    list-style: none;
  }

/* XS viewport */
  @media screen and (max-width: 29.9375em) {
    .psuedo-h1 {
        font-size: 1.4rem;
    }
  }

/* Small viewport (explicit) */
  @media screen and (max-width: 76em) {

    .feature-item {
      padding-right: 50px;
      background: url(/assets/images/ui/chevron-right.svg) no-repeat center right;
      background-size: 50px;
    }

    [data-md-color-scheme="slate"] .feature-item {
      padding-right: 50px;
      background: url(/assets/images/ui/chevron-right-white.svg) no-repeat center right;
      background-size: 50px;
    }

  }

/* Medium+ viewport */
  @media screen and (min-width: 60em) {

    .tx-hero {
        display: flex;
        align-items: stretch;
    }

    /* Hide table of contents */
    .md-sidebar--secondary {
      display: none;
    }

    .tx-hero__content {
        max-width: 19rem;
        margin-top: 3.5rem;
        padding-bottom: 14vw;
    }

    .tx-hero__image {
        order: 1;
        width: 38rem;
        transform: translateX(4rem);
    }

  }

/* Large+ viewport */
  @media screen and (min-width:76.25em) {
  
    .tx-hero__image {
      transform: translateX(8rem);
    }

    /* Hide navigation */
    .md-sidebar--primary {
      display: none;
    }

    .top-hr {
      margin-top: 30px;
    }

    .feature-item {
      flex: 1;
      width: 50rem;
      margin: 0;
    }

    .feature-item:hover {
      color: #fff;
      border-radius: 3px;
      background-image: url('/assets/images/ui/arrow-trt-white.svg'),var(--bitstream-gradient);
      background-repeat: no-repeat, no-repeat;
      background-position: bottom right;
      background-size: 50px, 100%;
      -webkit-box-shadow: 0px 4px 10px -3px rgba(50, 50, 50, 0.75);
      -moz-box-shadow:    0px 4px 10px -3px rgba(50, 50, 50, 0.75);
      box-shadow:         0px 4px 10px -3px rgba(50, 50, 50, 0.75);
      position: relative;
      transition: box-shadow 300ms ease;
    }

    .feature-item:hover svg {
      fill: #fff;
    }

    .top-hr {
      width: 100%;
      display: flex;
      max-width: 60rem;
      margin-left: auto;
      margin-right: auto;
      padding: 0.2rem;
    }

    .bottom-hr {
      margin-top: 10px;
      width: 100%;
      display: flex;
      max-width: 60rem;
      margin-right: auto;
      margin-left: auto;
      padding: 0 .2rem;
    }

    .partner-container {
      margin-left: auto;
      margin-right: auto;
    }

    .partner-item {
      display: block;
      margin: 0 auto;
      flex-basis: 16.667%;
    }

    .partner-item img{
      max-width: 150px;
    }
  }

  #gradient-canvas {
    position: absolute;
    z-index: -1;
    left: 0;
    top: 10em;
    width:100%;
    height:89.5%;
    --gradient-color-1: #ef008f; 
    --gradient-color-2: #6ec3f4; 
    --gradient-color-3: #7038ff;  
    --gradient-color-4: #ffba27;
  }
  