/* Variables */

:root {
    --pink: #b64786;
}

#banner {
    height: 535px;
    width: 100%;
    background: url(https://hairgia.com/wp-content/themes/hairgia/assets/img/home-banner.jpg) no-repeat top right / cover;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.banner-text {
    color: #FFF;
    padding: 0 140px 35px 0;
    font-weight: 600;
}

.banner-text h1, .banner-text h2{
    margin: 0;
}

.banner-text h1 {
    font-size: 47px;
    line-height: 47px;
    margin: 0;
}

.banner-text h2 {
    text-transform: uppercase;
    font-size: 24px;
    line-height: 24px;
}

.banner-text p {
    margin: 15px 0 0;
    display: inline-block;
    font-weight: lighter;
}

.banner-text ul {
    list-style: none;
    font-size: 17px;
    font-weight: lighter;
    margin: 0 0 15px;
}

.banner-text ul li:before {
    content: "*";
    margin-right: 5px;
}

.banner-btn {
    color: #FFF;
    background: #26b522;
    width: 350px;
    height: 65px;
    display: block;
    font-size: 28px;
    line-height: 65px;
    text-align: center;
    border-radius: 6px;
    transition: ease all 600ms;
    text-transform: uppercase;
    font-weight: 500;
}

.banner-btn:hover {
    background: #70d26e;
}

main {
    margin: 0 auto;
    transform: translate(0, -35px);
}

#featuredProducts h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 23px;
}

.featured-wrapper {
  justify-content: space-between;
}

.featured-wrapper a span {
    font-size: 15px;
    display: block;
    text-align: center;
    font-weight: 500;
}

.featured-wrapper a img {
    height: 250px;
    width: auto;
}

@media only screen and (max-width: 1279px) {
  
  .banner-text {
      padding: 0 50px 35px 0;
  }

  #banner {
      height: 470px;
  }

  .banner-text h1 {
      font-size: 40px;
  }

  .banner-text h2 {
      font-size: 20px;
  }

  .banner-text ul {
      font-size: 14px;
  }
  
  .banner-btn {
    font-size: 30px;
    width: 320px;
    height: 70px;
    line-height: 70px;
}

}
@media only screen and (max-width: 1019px) {
  
    #banner {
        height: 350px;
        background-position: right;
    }

    .banner-text {
        padding: 0 30px 43px 0;
    }

    .banner-text h1 {
        font-size: 34px;
    }

    .banner-text h2 {
        font-size: 18px;
    }

    .banner-text p {
        margin: 10px 0 0;
        font-size: 13px;
    }

    .banner-text ul {
        font-size: 12px;
    }

    .banner-btn {
        font-size: 21px;
        width: 230px;
        height: 45px;
        line-height: 45px;
    }
  
    .featured-wrapper a img {
        height: 175px;
    }

    .featured-wrapper a span {
        font-size: 12px;
    }

    .featured-wrapper a {
        flex: 1;
    }

}

@media only screen and (max-width: 767px) {
    main {
        transform: inherit;
        width: 100%;
    }
    
    #banner {
        display: flex;
        background-size: auto 100%;
        height: 320px;
    }
    
    .banner-text {
        padding: 0 30px 0 0;
    }
  
  .featured-wrapper a {
        display: block;
        margin: 0 auto 30px;
        padding: 0 10px;
        flex: 0 0 50%;
  }

  .featured-wrapper {
        display: flex;
        flex-wrap: wrap;
  }

  .featured-wrapper a img {
      height: auto;
      width: 200px;
      margin: 0 auto;
      display: block;
  }
  
}

@media only screen and (max-width: 479px){
  
  #banner {
      justify-content: center;
      background-position-x: -213px;
  }

  .banner-text {
      width: 90%;
      padding: 0;
  }

  .banner-text h1 {
      font-size: 27px;
      line-height: 27px;
      letter-spacing: 1px;
  }

  .banner-text h2 {
      font-size: 14px;
      line-height: 14px;
  }

  .banner-text p, .banner-text ul {
      font-size: 11px;
  }

  .banner-btn {
      font-size: 15px;
      width: 210px;
      height: 40px;
      line-height: 40px;
  }
}