/* body {
  background-color: aqua;
}

h1 {
  content: center;
  text-align: center;
  font-size: xx-large;
} */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body background with a rainbow gradient */
body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(
    135deg,
    #ff9a9e,
    #fad0c4,
    #fbc2eb,
    #a1c4fd,
    #c2e9fb
  );
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Animate background gradient */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Headings */
h1 {
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  font-size: 2.5rem;
  text-align: center;
}

/* Button with bold colors */
button {
  background: linear-gradient(45deg, #ff6f61, #ffcc00, #00c9a7, #6a5acd);
  background-size: 300% 300%;
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-bottom: 25px;
  animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Dog image styling */
#dog {
  border: 6px solid #fff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  transition: transform 0.3s ease;
}

#dog:hover {
  transform: rotate(2deg) scale(1.05);
}
