@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+128+Text&display=swap');

* {
	margin: 0;
	padding: 0;
}
.coupon {
	max-width: 100%;
	width: 545px;
	height: 240px;
	border-radius: 10px;
	overflow: hidden;
	margin: auto;
	filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5));
	display: flex;
	align-items: stretch;
	position: relative;
	text-transform: uppercase;
}
.coupon::before,
.coupon::after {
	content: "";
	position: absolute;
	top: 0;
	width: 50%;
	height: 100%;
	z-index: -1;
}

.coupon::before {
	left: 0;
	background-image: radial-gradient(
		circle at 0 50%,
		transparent 25px,
		#3994D8 26px
	);
}

.coupon::after {
	right: 0;
	background-image: radial-gradient(
		circle at 100% 50%,
		transparent 25px,
		#3994D8 26px
	);
}

.coupon > div {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 14px;
}

.left {
	width: 20%;
	border-right: 2px dashed rgb(255 255 255);
}
.left div {
	transform: rotate(-90deg);
	white-space: nowrap;
	font-weight: bold;
	color: white;
	font-size: 18px;
    text-transform: none;
}

.center {
	flex-grow: 1;
	text-align: center;
}

.right {
	width: 120px;
	background-image: radial-gradient(
		circle at 100% 50%,
		transparent 25px,
		#fff 26px
	);
}
.right div {
	font-family: "Libre Barcode 128 Text", sans-serif;
	font-size: 30px;
    padding-bottom: 30px;
	font-weight: 400;
	transform: rotate(-90deg);
}

.center h2 {
    background: #252525;
    color: #fff;
    font-size: 40px!important;
    white-space: nowrap;
    width: max-content;
    padding: 5px 20px;
	margin: auto;
}

.center h3 {
    font-size: 30px!important;
    color: #fff;
    text-transform: none;
    font-weight: 600;
    line-height: 1em;
    width: 230px;
	margin-left: auto;
    margin-right: auto;
}

.center small {
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    color: #fff;
	line-height: 1.2em;
    display: inline-block;
}

@media screen and (max-width:500px){
  .coupon {
	  display:flex;
	  flex-direction: column;
	  height: auto;
  }
  .left div {
	  transform: rotate(0deg);
	  text-align: center;
	  padding: 10px;
  }
  .left, .right{
	  width: 100%;
	  border: none;
  }
  .right{
	  background-color: white!important;
  }
  .right div {
	  transform: rotate(0deg);
	  text-align: center;
	  padding: 10px;
  }
}