body {
  font-family: Arial, sans-serif;
  background: #e8cba9;
  margin: 0;
}

#loader {
  padding: 3em;
  background: white;
  text-align: center;
}
#loader p {
  text-align: center;
  margin: 0 0 2em;
  position: relative;
}
#loader p #wtf {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  background: #bebebe;
  color: white;
  border-radius: 1.25em;
  line-height: 1.25em;
  font-weight: bold;
  margin: 0.25em;
  cursor: pointer;
}
#loader p #explanation {
  position: absolute;
  background: #bebebe;
  border-radius: 1em;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 1em;
  min-width: 200px;
  max-width: 600px;
  font-size: 0.9em;
}
#loader #catface {
  font-size: 3em;
  cursor: grab;
}

h1,
h2 {
  text-align: center;
  margin: 2em 0 1em;
  color: #333;
}

ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  align-items: stretch;
}

li {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: 1em;
  justify-content: space-around;
  align-items: center;
  background: white;
  border-radius: 1em;
  padding: 1em;
  cursor: pointer;
  position: relative;
}
li p {
  width: 200px;
  margin: 0;
  max-height: 200px;
  overflow: hidden;
}
li p label {
  display: none;
}
li p:first-child {
  font-weight: bold;
}
li p img {
  display: block;
  width: 100%;
}

.avatar {
  font-size: 2em;
  color: black;
  background: gray;
  border-radius: 50px;
  padding: 0.5em 0;
}
.avatar .eye {
  color: green;
}

.details {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.details_content {
  background: white;
  padding: 1em;
  border-radius: 1em;
  position: relative;
  max-height: 90%;
  width: 400px;
  overflow-y: scroll;
}
.details_content form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: 1em;
}
.details_content p {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.details_content p label {
  color: gray;
  font-size: 0.85em;
}
.details_content .close {
  position: sticky;
  top: 0;
  display: block;
  margin-left: auto;
  margin-bottom: -2em;
  cursor: pointer;
  width: 2em;
  height: 2em;
}
.details_content .close:hover {
  filter: contrast(0.5);
}
.details_content .buttons {
  align-items: center;
  justify-content: space-evenly;
}
.details_content .buttons button {
  width: 2em;
  height: 2em;
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin: 0.5em;
}
.details_content .buttons button.favorite {
  background-image: url("./images/heart.svg");
}
.details_content .buttons button.edit {
  background-image: url("./images/edit.svg");
}
.details_content .buttons button.delete {
  background-image: url("./images/erase.svg");
}
.details_content .buttons .active {
  filter: invert(50%) sepia(100%) saturate(100%) hue-rotate(300deg) contrast(200%);
}

.colorsquare {
  padding: 0.5em 0;
  border-radius: 50%;
  margin-left: 0.5em;
}

.hidden {
  display: none;
}

.fixed {
  overflow: hidden;
}

#toast {
  position: fixed;
  top: 1em;
  right: 1em;
  padding: 1em;
  border-radius: 1em;
  opacity: 0;
  transform: translateY(-1em);
  transition: opacity 1s ease, transform 1s ease;
}
#toast.show {
  opacity: 1;
  transform: translateY(0);
}
#toast.success {
  background: #d9eedc;
  color: #4f7a57;
}
#toast.error {
  background: #f7dcdc;
  color: #a45a5a;
}

.searchform {
  margin: 0 auto;
  background: linen;
  width: fit-content;
  padding: 2em;
  border-radius: 1em;
}
.searchform label {
  margin-right: 1em;
}
.searchform p {
  margin: 0 0 1.5em;
}
.searchform button {
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: transparent;
  padding: 1em;
  border-radius: 1em;
  cursor: pointer;
  font-size: 1em;
  margin: 2em auto 0;
  display: block;
  color: #333;
}
.searchform button:hover {
  background: rgba(0, 0, 0, 0.2);
  border-color: transparent;
}

.seeAll {
  margin: 0 auto;
  display: block;
  width: fit-content;
  color: darkslategrey;
}
.seeAll:hover {
  color: darkgoldenrod;
}

/*# sourceMappingURL=style.css.map */
