#add-card-btn {
  background-color: green;
  color: white;
  border: none;
  padding: 0.5em 1em;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 5px;
}

#card-container {
  display: flex;
  flex-wrap: wrap;
  padding: 1em;
  justify-content: center;
}

.card {
  background-color: white;
  border: 1px solid #ccc;
  margin: 0.5em;
  padding: 1em;
  width: 200px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  place-content: center;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 600px;
  border-radius: 10px;
  position: relative;
  width: 30vw;
}

.close-button {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

label {
  display: block;
  margin-top: 0.5em;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 0.5em;
  margin-top: 0.2em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

textarea {
  resize: none;
  height: 200px;
}

#save-card-btn {
  background-color: #4CAF50;
  color: white;
  padding: 0.5em 1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

#save-card-btn:hover {
  background-color: #3e8e41;
}

.delete-button {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: #ff9595;
  color: white;
  border: none;
  padding: 0;
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.8em;
  line-height: 0;
  width: 20px;
  height: 20px;
}

.delete-button:hover {
  background-color: #ff6262;
}


.presets {
  display: flex;
  flex-direction: column;
  align-items: center;
}
