/* Body styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f0f2f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 20px;
}

/* Main heading */
h1 {
  color: #333;
  margin-bottom: 30px;
}

/* Dog container */
#dog-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
  margin-bottom: 20px;
  transition: transform 0.2s ease;
}

/* Hover effect for dog container */
#dog-container:hover {
  transform: translateY(-3px);
}

/* Dog title */
#dog-title {
  font-size: 20px;
  margin-bottom: 15px;
  color: #555;
}

/* Dog image */
#dog-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Loading effect for image */
#dog-image.loading {
  opacity: 0.5;
  transform: scale(0.95);
}

/* Buttons styles */
button {
  padding: 10px 20px;
  margin: 5px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Like button */
#like-button {
  background-color: #4CAF50;
}

#like-button:hover {
  background-color: #45a049;
}

/* Dislike button */
#dislike-button {
  background-color: #f44336;
}

#dislike-button:hover {
  background-color: #e53935;
}

/* Button click effect */
button:active {
  transform: scale(0.95);
}

/* Counters container */
#counter-container {
  background-color: #fff;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 300px;
  width: 100%;
  text-align: center;
}

/* Counter text */
#counter-container p {
  margin: 5px 0;
  font-size: 18px;
  color: #333;
}
