/* Make the whole page colorful */
body {
  background-color: hsl(208, 93%, 76%);
  font-family: Arial, sans-serif;

  div {
    max-width: 40em;
    margin: auto;
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

h1, h2 {
  animation: fadeIn 2s ease-in;
}
h1 {
  color: #ff4500;
  font-size: 48px;
  text-shadow: 2px 2px #ffa07a;
}
ul {
  list-style-type: square;
  font-size: 20px;
  color: #333;
}
img {
  border: 4px solid #ff4500;
  border-radius: 10px;
  margin-top: 10px;
}
nav {
  background-color: #ffcc00;
  padding: 10px;
  border-radius: 8px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  margin: 0 10px;
}

nav a:hover {
  color: #ff4500;
}
form {
  margin: 20px 0;
}

form input {
  padding: 8px;
  margin: 5px;
  border: 2px solid #333;
  border-radius: 5px;
}

form button {
  padding: 8px 15px;
  background-color: #ffcc00;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background-color: #ff4500;
  color: white;
}
button {
  transition: 0.3s;
}

button:hover {
  background-color: #00ccff;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 10px #00ccff;
}

@keyframes float {
  0% { transform: translateX(0); }
  50% { transform: translateX(10px); }
  100% { transform: translateX(0); }
}

.avatar {
  animation: float 4s infinite ease-in-out;
}
#clickButton {
  background-color: #00bfff;
  border: none;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

#clickButton:hover {
  background-color: #ff69b4;
  transform: scale(1.1);
}
