.banner {
  position: relative;
  background-color: #000;
}

.banner-img {
  width: 100%;
  /* height: 512px; */
  position: relative;
}

.banner-img img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  position: relative;
}



.hero-banner .banner-img img {
  height: 512px;
}

.banner-img::after {
  width: 100%;
  height: 100%;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.6+0,0.6+0,0+100 */
  background: -moz-linear-gradient(left,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  background: rgba(0, 0, 0, .3);
  /* background: linear-gradient(90deg, rgba(0, 0, 0, 0.5970763305322129) 0%, rgba(0, 0, 0, 0.10127801120448177) 51%, rgba(0, 0, 0, 0) 80%); */
}

.banner-content {
  width: auto;
  max-width: 100%;
  height: 100%;
  left: 100px;
  right:100px;
  top: 0;
  position: absolute;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  color: var(--white);
}

.banner-content.right-side {
  right: 0;
  left: auto;
}

.banner-title {
  width: 100%;
  font-size: 42px;
  /* line-height: 58px; */
  margin: 0 0 13px;
}

.banner-title a {
  color: var(--white);
}

.banner-blurb {
  font-size: 24px;
  line-height: 30px;
}

/* animation */

.banner-aside,
/* .banner-img, */
.banner-title,
.banner-blurb {
  opacity: 0;
  transition: all 0.5s linear 0s;
}

.banner-aside,
.banner-title,
.banner-blurb {
  transform: translateY(50px);
}

.banner.is-animated .banner-img {
  opacity: 1;
  transition: opacity 0.5s linear 0s;
}

.banner.is-animated .banner-aside,
.banner.is-animated .banner-title {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s linear 0.5s;
}

.banner.is-animated .banner-blurb {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s linear 0.9s;
}

.banner-aside-wrapper {
  width: 100%;
  right: 0;
  left: 0;
  padding: 0 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-aside-wrapper .banner-title {
  width: auto;
  margin-bottom: 0;
}

.banner-aside {
  max-width: 400px;
}

.banner-side-title {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-secondary);
  margin-bottom: 12px;
}

.banner-aside-content {
  color: #fff;
  font-size: 21px;
  display: block;
}

.banner-aside-content:hover {
  /* color: var(--pale-1); */
  color: var(--primary);
}

/*homepage banner*/
.home-banner .banner-img {
  height: 100vh;
}

.home-banner .banner-img img {
  height: 100%;
}

.home-banner .banner-img:after {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.85+0,0+100 */
  background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);

}

.home-banner .banner-title {
  font-size: 48px;
  margin-bottom: 9px;
}

.home-banner .banner-blurb {
  font-size: 18px;
  line-height: 28px;
  font-family: var(--font-secondary);
}

.scroll-btn {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  margin: 0 auto;
  /* background: url(../img/scroll_down.png)no-repeat center center; */
  background: url(../img/scroll_down.svg)no-repeat center center;
  font-size: 0;
  width: 50px;
  height: 50px;
  display: block;
  transition: all .25s;
}

.scroll-btn:hover {
  /* background: url(../img/scroll_down_hover.png)no-repeat center center; */
  background: url(../img/scroll_down_hover.svg)no-repeat center center;
}

/* no image banner  */
.banner-no-img .banner-img {
  height: 255px;
  background: var(--primary);
}

.banner-no-img .banner-img::after {
  content: none;
}

.banner-no-img .banner-title {
  color: var(--highlight-light);
}

.banner-no-img .banner-aside-wrapper {
  padding: 15px;
}

.banner-no-img .banner-aside {
  max-width: 100%;
  padding-left: 50px;
  margin-left: 70px;
  font-size: 32px;
  flex: 1;
  border-left: 1px solid #fff;
}
