@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("images/12059543_4871703.jpg");
  background-position: center center;
  overflow: hidden;
}

.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 100px;
/*  min-width: 800px; */
  transform: rotateZ(-5deg);
  box-shadow: 1px 15px 20px 0px rgba(0,0,0,0.5);
  position: absolute;
}

.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%;
  -webkit-user-select: none;
  -webkit-user-select: none;
  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;
}

/* New styles for proposal paper */
.paper.proposal {
  text-align: center;
  z-index: 100;
}

.buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.btn {
  font-family: 'Zeyada';
  font-size: 30px;
  padding: 10px 30px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid;
}

.yes-btn {
  background-color: rgba(255, 200, 200, 0.7);
  color: rgb(0, 0, 100);
  border-color: rgb(255, 150, 150);
}

.yes-btn:hover {
  background-color: rgba(255, 150, 150, 0.9);
  transform: scale(1.1);
}

.no-btn {
  background-color: rgba(200, 200, 200, 0.7);
  color: rgb(100, 100, 100);
  border-color: rgb(180, 180, 180);
  position: relative;
}

/* Make the No button avoid the mouse */
.no-btn:hover {
  cursor: not-allowed;
  animation: moveAway 0.5s forwards;
}

@keyframes moveAway {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

/* Confetti canvas */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  pointer-events: none;
}

/* Success message */
.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px 40px;
  border-radius: 20px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: none;
  text-align: center;
}

.success-message p {
  font-size: 60px;
  color: rgb(255, 50, 50);
  opacity: 1;
  margin: 0;
}

.red {
  background-color: rgba(255, 200, 200, 0.7);
}

.red-heart {
  color: rgb(255, 50, 50);
}

/* Music Controls Styling */
.music-controls {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.music-btn {
  background-color: rgba(255, 200, 200, 0.8);
  border: 2px solid rgb(255, 150, 150);
  color: rgb(0, 0, 100);
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-btn:hover {
  transform: scale(1.1);
  background-color: rgba(255, 150, 150, 0.9);
}