/* === Red Barn Media Group - Custom Styles - Scott === */
/* === Home Hero Styles :: BEGIN === */
.scott-hero-intro {
  margin-top: 8.75rem;
  width: 100%;
  height: 725px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url(../img/scott-hero-intro-2000-725.webp) center center;
  background-size: cover;
  position: relative;
}

.scott-hero-intro.sub {
  height: 500px;
}

.scott-hero-intro .scott-hero-padding h6 {
  font-size: 1.5rem;
  font-weight: 300;
  color: #fff;
}
.scott-hero-intro .scott-hero-padding h1 {
  font-size: 4rem;
  line-height: 1;
  color: #fff;
}
.scott-hero-intro .scott-hero-padding h2 {
  font-size: 1.75rem;
  font-weight: 400;
  color: #fff;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.scott-hero-van {
  background: url(../img/scott-van-hero-1000.webp) center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 700px;
}

/* === Home Hero Styles :: END === */
/* === Sub Hero Styles :: BEGIN === */

/* === Sub Hero Styles :: END === */
/* === Banner Styled :: BEGIN === */
.scott-banner-service-area {
  background: url(../img/scott-banner-service-area-800-630.webp) center left;
  background-size: cover;
  height: 630px;
}

.scott-coupon-bg.ac {
  background: url(../img/scott-coupon-bg-ac.webp) center center;
  background-size: cover;
}
.scott-coupon-bg.generator {
  background: url(../img/scott-coupon-bg-generator.webp) center center;
  background-size: cover;
}
.scott-coupon-bg.surge-protector {
  background: url(../img/scott-coupon-bg-surge-protector.webp) center center;
  background-size: cover;
}
.scott-banner-1975-wrapper {
  width: 100%;
  height: 655px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.scott-banner-1975-shape {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1000px;
  height: 655px;
  display: inline-block;

  -webkit-mask: url(../img/scott-banner-since-1975-shape-1000-655.svg) no-repeat 50% 50%;
  mask: url(../img/scott-banner-since-1975-shape-1000-655.svg) no-repeat 50% 50%;
  -webkit-mask-size: cover;
  mask-size: cover;
}
.scott-banner-1975-shape-fill {
  background: url(../img/scott-banner-since-1975-1000-655.webp) 50% 0%;
  background-size: cover;
}
.scott-service-area-banner {
  background: url(../img/scott-service-area-bg.svg) top;
  background-size: cover;
  width: 100%;
  height: fit-content;
  margin-top: -10rem;
}
.scott-service-area-banner .container-fluid {
  padding-top: 12rem;
  padding-bottom: 4rem;
}
/* === Banner Styles :: END === */

/* === Rollover Styles :: BEGIN === */

.scott-rollover.heat-cool {
  background: url(../img/scott-rollover-heating-cooling.webp) center center;
  background-size: cover;
}

.scott-rollover.iaq {
  background: url(../img/scott-rollover-iaq.webp) center center;
  background-size: cover;
}

.scott-rollover.plumbing {
  background: url(../img/scott-rollover-plumbing.webp) center center;
  background-size: cover;
}

.scott-rollover.generators {
  background: url(../img/scott-rollover-generators.webp) center center;
  background-size: cover;
}

.scott-rollover.commercial-hvac {
  background: url(../img/scott-rollover-commercial-hvac.webp) center center;
  background-size: cover;
}

.scott-rollover.commercial-plumbing {
  background: url(../img/scott-rollover-commercial-plumbing.webp) center center;
  background-size: cover;
}

.scott-rollover.generator-block-bg {
  background: url(../img/scott-rollover-bg-generator.webp) center center;
  background-size: cover;
}

/* === Rollover Styles :: END === */

/* === Logo Scroll Styles :: BEGIN === */
.slider {
  height: fit-content;
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.slider::before {
  left: 0;
  top: 0;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

/*  IMPORTANT CODE BELOW */

.slide-track {
  width: calc(170px * 20);
  display: flex;
  animation: scroll 20s linear infinite;
  justify-content: space-between;
}

.slide-track2 {
  width: calc(170px * 18);
  display: flex;
  animation: scroll2 20s linear infinite;
  justify-content: space-between;
}

.slide {
  width: 200px;
  height: 100px;
  display: grid;
  place-items: center;
  transition: 0.5s;
  cursor: pointer;
}
.slide:hover {
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(calc(-150px * 10));
  }
}

@keyframes scroll2 {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(calc(-150px * 5));
  }
}
/* === Logo Scroll Styles :: END === */

.scott-icon-margin {
  margin-top: -6rem;
  margin-bottom: 0.5rem;
}

.generator-margin {
  margin-left: -6.5rem;
}
/* === Media Queries :: BEGIN === */
@media (max-width: 2000px) {
  /* === Banner Styled :: BEGIN === */
  .scott-banner-1975-shape {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 800px;
    height: 655px;
    display: inline-block;

    -webkit-mask: url(../img/scott-banner-since-1975-shape-800-655.svg) no-repeat 50% 50%;
    mask: url(../img/scott-banner-since-1975-shape-800-655.svg) no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
  }
  .scott-banner-1975-shape-fill {
    background: url(../img/scott-banner-since-1975.webp) 50% 0%;
    background-size: cover;
  }
  /* === Banner Styles :: END === */
}
@media (max-width: 1600px) {
  .scott-hero-intro {
    background: url(../img/scott-hero-intro-1600-700.webp) center center;
    background-size: cover;
    width: 100%;
    height: 700px;
  }

  .scott-hero-van {
    background: url(../img/scott-van-hero-800.webp) right center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 520px;
  }
}
@media (max-width: 1400px) {
  /* === Banner Styled :: BEGIN === */
  .scott-banner-service-area {
    background: url(../img/scott-banner-service-area-630-630.webp) center left;
    background-size: cover;
    height: 630px;
  }
  .scott-banner-1975-shape {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 655px;
    height: 655px;
    display: inline-block;

    -webkit-mask: url(../img/scott-banner-since-1975-shape-655-655.svg) no-repeat 50% 50%;
    mask: url(../img/scott-banner-since-1975-shape-655-655.svg) no-repeat 50% 50%;
    -webkit-mask-size: cover;
    mask-size: cover;
  }
  .scott-banner-financing-shape-fill {
    background: url(../img/scott-banner-since-1975-655-655.webp) 50% 0%;
    background-size: cover;
  }
  /* === Banner Styles :: END === */

  .generator-margin {
    margin-left: 0rem;
  }
}

@media (max-width: 1200px) {
  .scott-hero-intro {
    background: url(../img/scott-hero-intro-1200-700.webp) center center;
    background-size: cover;
    width: 100%;
    height: 700px;
  }

  .scott-hero-intro .scott-hero-padding h6 {
    font-size: 1rem;
  }
  .scott-hero-intro .scott-hero-padding h1 {
    font-size: 3rem;
  }
  .scott-hero-intro .scott-hero-padding h2 {
    font-size: 1.5rem;
  }

  .scott-hero-van {
    background: url(../img/scott-van-hero-600.webp) right center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 420px;
  }

  /* === Banner Styled :: BEGIN === */
  .scott-banner-1975-wrapper {
    width: 100%;
    height: 700px;
  }
  .scott-family-banner {
    background: url(../img/scott-banner-family-1200-500.webp) top center;
    background-size: cover;
    width: 100%;
    height: 500px;
  }
  .scott-banner-1975-shape,
  .scott-banner-1975-shape-fill {
    display: none;
  }
  /* === Banner Styles :: END === */
}

@media (max-width: 991px) {
  .scott-hero-intro {
    background: url(../img/scott-hero-intro-991-600.webp) center center;
    background-size: cover;
    width: 100%;
    height: fit-content;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  /* === Banner Styled :: BEGIN === */
  .scott-family-banner {
    background: url(../img/scott-banner-family-991-400.webp) top center;
    background-size: cover;
    width: 100%;
    height: 400px;
  }
  /* === Banner Styles :: END === */
}

@media (max-width: 767px) {
  .scott-hero-intro {
    background: url(../img/scott-hero-intro-767-600.webp) center center;
    background-size: cover;
    width: 100%;
    height: fit-content;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .scott-hero-intro .scott-hero-padding h6,
  .scott-hero-intro .scott-hero-padding h1,
  .scott-hero-intro .scott-hero-padding h2 {
    color: #fff;
  }

  /* === Banner Styled :: BEGIN === */
  .scott-family-banner {
    display: none;
  }
  /* === Banner Styles :: END === */
}

@media (max-width: 576px) {
  .scott-hero-intro {
    background: rgb(42, 51, 143);
    background: linear-gradient(
      105deg,
      rgba(42, 51, 143, 1) 0%,
      rgba(0, 0, 102, 1) 68%,
      rgba(0, 0, 51, 1) 100%
    );
    background-size: cover;
    width: 100%;
    height: fit-content;
    margin-top: 120px;
  }
  .scott-hero-intro .scott-hero-padding h6 {
    font-size: 0.85rem;
  }
  .scott-hero-intro .scott-hero-padding h1 {
    font-size: 2.5rem;
  }
  .scott-hero-intro .scott-hero-padding h2 {
    font-size: 1rem;
  }
}

/* === Media Queries :: END === */
