.ribbon1 {
  display: inline-block;
  position: relative;
  height: 36px;
  line-height: 36px;
  text-align: center;
  padding: 0 30px;
  background: #d88eb6;
  color: #FFF;
  box-sizing: border-box;
}

.ribbon1:before, .ribbon1:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.ribbon1:before {
  top: 0;
  left: 0;
  border-width: 18px 0px 18px 15px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.ribbon1:after {
  top: 0;
  right: 0;
  border-width: 18px 15px 18px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}



@media screen and (min-width: 1000px) {

  .ribbon1 {
    height: 50px;
    line-height: 50px;
    padding: 0 60px;
  }

  .ribbon1:before {
    top: 0;
    left: 0;
    border-width: 25px 0px 25px 15px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
  }

  .ribbon1:after {
    top: 0;
    right: 0;
    border-width: 25px 15px 25px 0px;
    border-color: transparent #fff transparent transparent;
    border-style: solid;
  }


}


@media screen and (min-width: 641px) {
  .ribbon1 {
    height: 100px;
    line-height: 40px;
    padding: 8px 60px;
  }

  .ribbon1:before {
    top: 0;
    left: 0;
    border-width: 50px 0px 50px 15px;
    border-color: transparent transparent transparent #fff;
    border-style: solid;
  }

  .ribbon1:after {
    top: 0;
    right: 0;
    border-width: 50px 15px 50px 0px;
    border-color: transparent #fff transparent transparent;
    border-style: solid;
  }

}

@media screen and (max-width: 640px) {
  .ribbon1 {
	  line-height: 1.4em;
	  height: auto;
	  padding: 5px 30px;
	}
  .ribbon1:before {
	  border-width: 30px 0px 30px 15px;
	}
  .ribbon1:after {
	  border-width: 30px 15px 30px 0px;
	}
}