@import url('https://fonts.googleapis.com/css2?family=Zeyada&display=swap');




body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background-size: 1000px;
  background-image: url("https://www.psdgraphics.com/wp-content/uploads/2022/01/white-math-paper-texture.jpg");
  background-position: center center;
}

/* Loader Overlay Styles */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 245, 230, 0.95);
  /* Light, notebook-like background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

.loader-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Rotating text spinner */
  .loader-text-spinner {
    font-size: 6rem;
    font-weight: bold;
    color: #333;
    animation: spin 2s linear infinite;
    margin-bottom: 15px;
  }

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



.loader-text {
  font-size: 4.2em;
  color: #333;
  text-align: center;
}

.paper {
  background-image: url("https://i0.wp.com/textures.world/wp-content/uploads/2018/10/2-Millimeter-Paper-Background-copy.jpg?ssl=1");
  background-size: 500px;
  background-position: center center;
  padding: 20px;
  display: inline-block;
  transform: rotateZ(-5deg);
  box-shadow: 1px 15px 20px 0px rgba(0, 0, 0, 0.5);
  position: absolute;
}

.paper img {
  max-width: 100%;
  /* Ensures the image doesn't overflow */
  /* height: auto; Maintains aspect ratio */
}

.paper.heart {
  position: relative;
  width: 200px;
  height: 200px;
  padding: 0;
  border-radius: 50%;
}

.paper.image {
  padding: 10px;
}

.paper.image p {
  font-size: 30px;
}

img {
  /* max-height: 200px; */
  width: 100%;
  user-select: none;
}

.paper.heart::after {
  content: "";
  background-image: url('https://cdn.pixabay.com/photo/2016/03/31/19/25/cartoon-1294994__340.png');
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: 150px;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.6;
}

p {
  font-family: 'Zeyada';
  font-size: 50px;
  color: rgb(0, 0, 100);
  opacity: 0.75;
  user-select: none;

  filter: drop-shadow(2px 1.5px 1px rgba(0, 0, 105, 0.9));
}


span {
  font-family: 'Zeyada';
  font-size: 30px;
  color: rgb(0, 0, 100);
  opacity: 0.75;
  user-select: none;
  filter: drop-shadow(2px 1.5px 1px rgba(0, 0, 105, 0.9));
}

@media only screen and (max-width: 600px) {
  .p1 {
    font-size: 1.9em;
    /* Increase from 1.2em for mobile */
  }

  .p2 {
    font-size: 1.6em;
    /* Increase from 1em for mobile */
  }
  .loader-text {
  font-size: 4.2em;
  color: #333;
  text-align: center;
}
}