@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

* {
  box-sizing: border-box;
  outline: none;
}

body {
  background-color: #f4f7f6; /* Light grey background */
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding-top: 4rem; /* Adjusted padding for fixed button */
}

.add-note-btn {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background-color: #2ecc71; /* Green button */
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.add-note-btn:hover {
  background-color: #27ae60; /* Darker green on hover */
}

.add-note-btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.note-card {
  background-color: #ffffff; /* White note card */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Softer shadow */
  margin: 30px 20px;
  height: 400px;
  width: 400px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.note-card .note-toolbar {
  background-color: #34495e; /* Dark blue-grey for toolbar */
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem;
}

.note-card .note-toolbar button {
  background-color: transparent;
  border: none;
  color: #ecf0f1; /* Light grey icons */
  cursor: pointer;
  font-size: 1rem;
  margin-left: 0.5rem;
  transition: color 0.3s ease;
}

.note-card .note-toolbar button:hover {
  color: #2ecc71; /* Green on hover */
}

.note-card textarea {
  flex-grow: 1; /* Take up remaining space */
  outline: none;
  font-family: inherit;
  font-size: 1.2rem;
  border: none;
  padding: 20px;
  resize: none; /* Disable manual resize */
}

.note-card .note-content {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  line-height: 1.6;
  color: #555;
}

.note-card .hidden {
  display: none;
}