#cat-form {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
  padding: 20px;
  border-radius: 15px;
  background-color: #FFF3E6;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  font-family: 'Chalkboard', cursive;
}

#cat-form label,
#cat-form select,
#cat-form button {
  margin: 10px;
  font-size: 24px;
  color: #555;
  font-family: 'Chalkboard', cursive;
}

#cat-form button {
  background-color: #FED136;
  border: none;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Chalkboard', cursive;
  transition-duration: 0.3s;
}

#cat-form button:hover {
  background-color: #FFF;
  color: #FED136;
  border: 2px solid #FED136;
}

#cat-form select {
  background-color: #FFF;
  border: none;
  color: #777;
  font-size: 26px;
  border-radius: 10px;
  padding: 15px 25px;
  transition-duration: 0.3s;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#cat-form select:hover {
  background-color: #FED136;
  color: #FFF;
}


.content-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  margin: 20px;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  width: 18%;
  margin: 10px;
  border-radius: 5px;
  background-color: white;
  padding: 10px;
  position: relative;
}

.card:hover {
  animation: joggle 0.5s ease-in-out 2;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

@keyframes joggle {
  0% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0);
  }
}

.card:hover::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: -1;
  animation: light 0.5s linear forwards;
}

@keyframes light {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 5px 5px 0 0;
}

.card h3,
.card p {
  margin: 10px 0;
}



.description-bar {
  background-color: #FFF3E6;
  padding: 30px;
  font-family: 'Chalkboard', sans-serif;
  font-size: 1.5rem;
  color: #3A3A3A;
  text-align: center;
  border: 5px dashed #FFC38C;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  margin: 30px auto;
  max-width: 90%;
}

.description-bar h1 {
  position: relative;
  font-family: 'Chalkboard', sans-serif;
  font-size: 4rem;
  color: #FFC38C;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 1;
  transition: transform 0.3s;
}

.description-bar h1:hover {
  animation: joggle 2s infinite;
}

.description-bar p {
  line-height: 1.6;
}
