body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 20px;
}
#root {
  display: flex;
  flex-direction: column;
  margin: auto;
  align-items: center;
  padding: auto;

}
#title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.input {
    padding: 8px;
    border: 1px solid #ccc;
    margin-bottom: 8px;
    width: 100%;
    display: flex;
    justify-items: center;
  }

  #add_cards {
    justify-items: center;
  }

.button {
  background: #3498db;
  color: moccasin;
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.button:hover {
  background: #217dbb; 
}


  h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
}
  .card {
    background: peachpuff;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
  .card_details {
    display: flex;
    justify-content: space-between;
  }

  /* Dark mode styles */
.dark-mode {
  background-color: #222;
  color: #fff;
}

.dark-mode .card {
  background-color: #444;
  border-color: #666;
}

/* Collapse styles */
.collapsed {
  display: none;
}
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  backdrop-filter: blur(5px);
}

.dark-mode .modal-content {
  background-color: #444;
  color: #fff;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 50%;
  max-width: 400px;
  margin: 10% auto;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Close Button */
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}
#footer {
  position:fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: gray;
  align-self: center;
  text-align: center;
}

.kofi-logo {
  width: auto;
  height: 2.5em;
  max-width: 15vw;
  object-fit: contain;
}