* {
  margin: 0;
  padding: 0;
}
body {
  background-image: linear-gradient(45deg, #198754, #000000b8), url(resourse/img/bg.jpg);
    /* background: url(resourse/img/bg.jpg) darkred; */
    background-repeat: no-repeat;
    background-size: cover;
    /* background: lightblue; */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: cadetblue;
}

.coupon {
  width: 380px;
  height: 250px;
  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,
    gold 26px
  );
}

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

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

.left {
  width: 20%;
  border-right: 2px dashed rgba(0, 0, 0, 0.13);
}
.left div {
  transform: rotate(-90deg);
  white-space: nowrap;
  font-weight: bold;
}

.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", cursive;
  font-size: 2.5rem;
  font-weight: 400;
  transform: rotate(-90deg);
}

.center h2 {
  background: #000;
  color: gold;
  padding: 0 10px;
  font-size: 2.15rem;
  white-space: nowrap;
}

.center h3 {
  font-size: 2.15rem;
}
.center small {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 2px;
}

@media screen and (max-width:500px){
  .coupon {
    display:grid;
    grid-template-columns:1fr;
  }
  .left div {
    transform: rotate(0deg);
    position: relative;
        left: 137px;
  }
  .right div {
    transform: rotate(0deg);
    position: relative;
        left: 15px;
    
  }
}

/* style.css */

#copy-code-btn {
  /* General button styles */
  padding: 1px 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;

  /* Background color */
  background-color: #FF5722;
  color: white;

  /* Hover effect */
  &:hover {
    background-color: #0056b3;
  }
}
h1 {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 5px 5px 5px;
  border: solid 1px #ffc1074a;
  border-radius: 10px;
  width: 82%;
  text-align: center;
}

#print-btn {
    padding: 1px 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #2196F3;
    color: white;
}