
    body{
  background: linear-gradient(135deg,#0f172a,#1e293b);
  font-family: Arial, sans-serif;
  min-height:100vh;
  padding:20px;
  color:white;
}

.top{
  display:flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
  text-align: center;
  position: sticky;
  top:0;
  z-index:100;
  padding: 10px;
  backdrop-filter: blur(10px);
  background: rgba(15,23,42,0.9);
  box-shadow:0 5px 20px rgba(0,0,0,0.4);
   animation: ShowDown 1.2s ease forwards;
}

 .inline {
    display:flex;
    gap: 5px;
    justify-content: center;
 }


button{
  padding:10px 14px;
  border:none;
  border-radius:8px;
  cursor:pointer;
  font-weight:bold;
}

.add{
  background:#22c55e;
  color:white;
}

.red{
  background:#ef4444;
  color:white;
}

#div{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:20px;
    animation: showup 1.2s ease forwards;
}

.nota{
  background:white;
  color:black;
  border-radius:12px;
  padding:10px;
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
  display:flex;
  flex-direction:column;
  gap:10px;
  animation: aparecer 0.3s ease;
}

.nota textarea{
  resize:none;
  height:120px;
  border:none;
  outline:none;
  font-size:15px;
}

.nota .acoes{
  display:flex;
  justify-content:space-between;
}

.red:hover{
  background:#dc2626;
  transform: translateY(-2px);
  box-shadow:0 6px 15px rgba(0,0,0,0.3);
}

.red:active{
  transform: translateY(1px);
  box-shadow:0 2px 5px rgba(0,0,0,0.3);
}

.add:hover{
  background:#16a34a;
  transform: translateY(-2px);
  box-shadow:0 6px 15px rgba(0,0,0,0.3);
}

/* active (quando clica) */

.add:active{
  transform: translateY(1px);
  box-shadow:0 2px 5px rgba(0,0,0,0.3);
}

#contador{
  font-size:14px;
  opacity:0.8;
}

textarea::placeholder{
  color:#888;
}

textarea:focus{
  background:#f8fafc;
}

.footer{
  margin-top:50px;
  padding:20px;
  text-align:center;

  border-top:1px solid rgba(255,255,255,0.1);

  color:#cbd5f5;
  font-size:14px;
}

.footer-links{
  margin:10px 0;
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
  opacity:0.8;
    animation: showup 1.2s ease forwards;
}

.autor{
  opacity:0.6;
  font-size:12px;
}
small{
  opacity:0.6;
  font-size:11px;
}
@keyframes aparecer{
  from{
    transform:scale(0.9);
    opacity:0;
  }
  to{
    transform:scale(1);
    opacity:1;
  }
}

  @keyframes ShowDown {
      from {
        transform: translateY(40px);
        opacity: 0;
      }
      to {
        transform: translateY(0px);
        opacity: 1;
      }
    }
    
        @keyframes showup {
      from {
        transform: translateY(-40px);
        opacity: 0;
      }
      to {
        transform: translateY(0px);
        opacity: 1;
      }
    }
