body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  display: flex;
  flex-grow: 1;
  min-height: 100vh;
}
.sidebar {
  width: 200px;
  background-color: #d9c2ff;
  padding: 20px;
  min-height: 100vh;
  position: sticky;
  top: 0;
}
.sidebar h2 {
  margin-top: 30px;
  
}
.sidebar ul {
  list-style-type: none;
  padding: 0;
}
.sidebar li {
  cursor: pointer;
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 5px;
}
.sidebar li.active {
  background-color: #b388ff;
}
.main-content {
  flex-grow: 1;
  padding: 20px;
  background-color: white;
  /* background-image: url("https://wallpapers.com/images/featured/84co1sdwelht9w24.jpg"); */
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}
.main-content h1{
  padding-left: 40px;
  margin-bottom: 30px;
  margin-top: 20px;
}
.notes-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
 
}
.note {
  width: 200px;
  height: 200px;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden; /* Hide content that overflows */
  word-wrap: break-word; /* Break long words to fit within the container */
  text-overflow: ellipsis; /* Show an ellipsis (...) for overflowing text */
  
}
.note .delete {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 18px;
  color: #ff4444;
}
.note p{
  font-size: 18px;
  overflow: hidden; 
  text-overflow: ellipsis; 
  word-wrap: break-word; 
  max-height: 100%; 
}
.new-note {
  width: 200px;
  height: 200px;
  position: relative;
  padding: 15px;
  
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  border: none;
  background-color: pink;
  border: 1px solid black;
  
}
.new-note textarea {
  flex-grow: 1;
  border: none;
  resize: none;
  background-color: pink;
  outline: none;
  font-size: 18px;
  overflow: hidden; 
  word-wrap: break-word; 
}
.new-note button {
  align-self: flex-end;
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 3px;
}