* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-family: "Montserrat", sans-serif;
}
body {
  background: #eee;
  background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
  padding: 0;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

}

header {
  width: 100%;
  background-color:  rgb(0, 0, 0);
  padding: 16px 32px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.371);
  display: flex;
  justify-content: flex-start;
  position: sticky;
  top: 0;
  z-index: 10;
}

footer {
  text-align: center;
  bottom: 0;
  width: 100%;
  height: 2rem;
}

footer p {
  color: #ffffff;
}

footer {
  background-color: rgb(27, 24, 24);
  text-align: center;
  padding: 12px;
  margin-top: auto;
  box-shadow: 0 -4px 12px rgba(0, 255, 255, 0.2);
  position: sticky;
  bottom: 0;
  z-index: 10;
}
.note {
  position: relative;
  height: 240px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  padding: 12px;
  width: 210px;
  margin: 16px;
  float: left;
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.note:hover {
  transform: scale(1.02);
}

.note h1 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 6px;
}

 .note-content {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 8px;
  padding-right: 4px; 
}

.note p {
  font-size: 0.85rem;
  margin-bottom: 10px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.note button {
  position: relative;
  float: right;
  margin-right: 10px;
  color: #f5ba13;
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  outline: none;
}

.scroll-notes-area {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

form.create-note {
  position: relative; 
  width: 480px;
  margin: 30px auto 20px auto;
  background: #fff;
  padding: 5px;
  border-radius: 7px;
  box-shadow: 0 1px 5px rgb(138, 137, 137);
  top: auto;
  z-index: auto;
  padding-bottom: 10px;
}
form.create-note input,
form.create-note textarea {
  width: 100%;
  border: none;
  padding: 4px;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  resize: none;
}
form.create-note button {
  position: absolute;
  right: 18px;
  bottom: -18px;
  background: #1be3cf;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  outline: none;
}

.pin-button {
  position: absolute;
  top: 10px;
  right: 10px; 
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 5;
}


.note {
  position: relative;
}

.search-bar {
  width: 100%;
  padding: 10px 10px 10px 36px;
  border: 2px solid #f5ba13;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}

.search-wrapper {
  position: relative;
  width: 250px ;
  margin: 20px auto 10px;
  position: sticky;
  top: 100px;
  z-index: 11;
  background: #fff;
}

.search-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1rem;
  color: #999;
}

.note input, .note textarea {
  width: 100%;
  padding: 6px;
  font-size: 1rem;
  margin-bottom: 7px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

.note {
  color: #333;
  transition: all 0.3s ease;
}

.note {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}

.note button {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font-size: 1rem;
  margin-right: 1px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.note button:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 4px #f5ba13);
}

.notes-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.fade-out {
  animation: fadeAndShrink 0.20s ease forwards;
}

.fade-out {
  opacity: 0;
  transform: scale(0.90);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.note-date {
  font-size: 0.75rem;
  color: #0d0d0d;
  margin-bottom: 6px;
  font-style: italic;
}

.app-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.app-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: #00ffe1;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow:
  0 0 5px #00ffe1, 
  0 0 15px #00ffe1,
  0 0 25px #00ffe1,
  0 0 40px #00ffe1,
  0 0 60px #00ffe1;
  animation: glowNeon 1.8s ease-in-out infinite alternate;
}

.fixed-top-section {
  position: sticky;
  top: 0;
  background: #fff;
  z-index:10;
  padding-bottom: 2px;
}


@keyframes fadeAndShrink {
  from {
    opacity: 2;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.10);
  }
  }


  @keyframes glowNeon {
  0% {
    text-shadow:
      0 0 5px #000000,
      0 0 10px #000000,
      0 0 15px #000000;
  }
  100% {
    text-shadow:
      0 0 15px #00ffe1,
      0 0 30px #00ffe1,
      0 0 50px #00ffe1,
      0 0 70px #00ffe1;
  }
}




