* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100vw;

  overflow: hidden;            /* ❌ scroll band */
  touch-action: none;          /* ❌ mobile scroll band */
  overscroll-behavior: none;   /* ❌ screen shake band */

  background-image: url("https://www.psdgraphics.com/wp-content/uploads/2022/01/white-math-paper-texture.jpg");
  background-size: 1000px;

  font-family: 'Short Stack', cursive;
}

/* PAPER */
.paper {
  position: absolute;

  width: 260px;       /* desktop */
  max-width: 85vw;    /* mobile fix */

  padding: 15px;

  background-image: url("https://i0.wp.com/textures.world/wp-content/uploads/2018/10/2-Millimeter-Paper-Background-copy.jpg");
  background-size: 500px;

  border-radius: 10px;
  box-shadow: 0 15px 25px rgba(0,0,0,0.3);

  user-select: none;
  touch-action: none; /* 🔥 MOST IMPORTANT */
}

/* IMAGE */
.paper.image img {
  width: 100%;
  border-radius: 10px;
}

.paper.image p {
  text-align: center;
  font-size: 22px;
}

/* HEART */
.paper.heart {
  width: 160px;
  height: 160px;
  border-radius: 50%;
}

.paper.heart::after {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("https://cdn.pixabay.com/photo/2016/03/31/19/25/cartoon-1294994__340.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 120px;

  opacity: 0.6;
}

/* TEXT */
p {
  font-family: 'Homemade Apple', cursive;
  text-align: center;
  color: rgb(0,0,100);
  opacity: 0.8;
}

.red {
  background: #ffb3c6;
}

/* MOBILE */
@media (max-width: 600px) {
  .paper {
    width: 200px;
    padding: 12px;
  }

  .paper.image p {
    font-size: 18px;
  }
}
