/* ID selector for styled heading */
#styled-heading {
  text-align: center;
  color: darkblue;
  font-family: Arial, sans-serif;
  margin-top: 20px;
}

/* A box that changes background color on hover */
.color-box {
  width: 200px;
  height: 100px;
  background-color: lightgray;
  margin: 20px auto;
  line-height: 100px;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.5s ease;
}

/* Changes color smoothly */
.color-box:hover {
  background-color: teal;
  color: white;
}

/* Image that spins infinitely */
.spin-img {
  display: block;
  margin: 20px auto;
  width: 150px;
  animation: spin 3s linear infinite;
}

/* Spinning animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Button that glows on hover */
.glow-button {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: #007BFF;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  transition: box-shadow 0.4s ease;
}

/* Glowing effect */
.glow-button:hover {
  box-shadow: 0 0 10px 3px rgba(0, 123, 255, 0.8);
}
/* A box that changes background color on hover */
.color-box {
  width: 250px;
  height: 100px;
  background-color: lightgray;
  margin: 20px auto;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.5s ease;
}

/* Change the page background to beige */
body {
  background-color: beige;
}