* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* for debugging */
  /* outline: 1px solid red; */
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #61786b;
}
.container {
  width: 90%;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

h1 {
  text-align: center;
  color: #333;
  font-size: 2rem;
  margin-bottom: 20px;
}

h2 {
  text-align: center;
  color: #333;
  font-size: 2rem;
  margin-bottom: 20px;
}

#animalList {
  list-style-type: none;
  padding: 0;
}

.animal-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.animal-item p {
  margin: 0;
  flex-grow: 1;
}

.newAnimal p {
  color: #207b46;
}

.animal-item button {
  padding: 5px 10px;
  cursor: pointer;
  background-color: #207b46;
  color: white;
  border: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.animal-item button:hover {
  background-color: #61786b;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.controls input,
.controls select,
.controls button {
  padding: 10px;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.controls button {
  background-color: #207b46;
  color: white;
  cursor: pointer;
}

.controls button:hover {
  background-color: #61786b;
}

.add-animal,
.add-type {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.add-animal h2,
.add-type h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.add-animal input,
.add-type input,
.add-animal select,
.add-type button,
.add-animal button {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.add-animal button,
.add-type button {
  background-color: #207b46;
  color: white;
  cursor: pointer;
}

.add-animal button:hover,
.add-type button:hover {
  background-color: #61786b;
}
