* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "poppins", sans-serif;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a, #1e293b, #334155);
  color: #f8fafc;
}
.container {
  width: 90%;
  max-width: 700px;
  margin-left: 120px;
  padding-top: 80px;
}
.header {
  display: flex;
  align-items: center;
  gap: 7px;
}
.header img {
  width: 70px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}
.header h1 {
  font-size: 48px;
  font-weight: 700;
  color: #f8fafc;
}
#createbtn {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 30px;
  padding: 15px 22px;

  border: none;
  outline: none;
  border-radius: 12px;

  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #fff;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;

  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);

  transition: all 0.3s ease;
}
#createbtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.35);
}
.notes-container {
  margin-top: 35px;

  display: flex;
  flex-direction: column;
  gap: 25px;
}
.note-wrapper {
  position: relative;

  background: rgba(255, 255, 255, 0.06);

  padding: 25px;
  padding-bottom: 60px;

  border-radius: 16px;

  min-height: 180px;

  backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.note-wrapper i {
  position: absolute;

  right: 20px;
  bottom: 20px;

  font-size: 24px;

  color: #cbd5e1;

  cursor: pointer;

  transition: all 0.3s ease;
  z-index: 10;
}
.note-wrapper i:hover {
  color: #f87171;
  transform: scale(1.1);
}
.note-wrapper p {
  outline: none;

  font-size: 17px;
  line-height: 1.7;

  color: #f8fafc;

  min-height: 120px;

  padding-right: 30px;

  word-break: break-word;
}
.note-wrapper span {
  position: absolute;
  bottom: 10px;
  left: 20px;

  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);

  font-weight: 400;
}
/* note cards bg color */
.colors {
  position: absolute;

  top: 18px;
  right: 55px;

  display: flex;
  gap: 8px;
}

.color {
  width: 18px;
  height: 18px;

  border-radius: 50%;

  cursor: pointer;

  border: 2px solid rgba(255, 255, 255, 0.4);

  transition: transform 0.2s ease;
}

.color:hover {
  transform: scale(1.1);
}

.deepBlue{
  background-color:#1d4ed8;
}

.EmeraldGreen {
  background-color: #047857;
}

.darkAmber{
  background-color: #92400e;
}

.purpleIndigo{
  background-color:#6d28d9;
}

@media (max-width: 768px) {
  .container {
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
  }
  .header h1 {
    font-size: 36px;
  }
  .header img {
    width: 50px;
  }
  .note-wrapper {
    padding: 20px;
    padding-bottom: 50px;
  }
  .colors {
    top: 14px;
    right: 18px;
  }
  .note-wrapper p {
    padding-top: 25px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 94%;
    padding-top: 30px;
  }
  .header h1 {
    font-size: 30px;
  }
  #createbtn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    margin-top: 20px;
  }
}
