.red-packet-content {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 11;
}
.card {
  background-size: 100% 100%;
  position: relative;
}
.card.horizontal{
  width: 58.4vmin;
  height: 78.7vmin;
  font-size: 1vmin;
}
.card.vertical{
  width: 77.3vmin;
  height: 104.2vmin;
  font-size: 1.32vmin;
}
.border-radius{
  border-radius: 3.5vmin;
  overflow: hidden;
}
.background-image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 3.5vmin;
  overflow: hidden;
}

.card .content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
.card .bottom-close {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -9.4em;
  width: 6.4em;
  height: 6.4em;
}
.card .content-close{
  position: absolute;
  top: 3.2em;
  right: 3.2em;
  width: 4.26em;
  height: 4.26em;
  z-index: 2;
}

.card .top-close {
  position: absolute;
  top: -9em;
  right: 0;
  width: 6.4em;
  height: 6.4em;
  z-index: 2;
}

.card .content-back {
  position: absolute;
  top: 3.2em;
  left: 3.2em;
  width: 4.26em;
  height: 4.26em;
  z-index: 2;
}