
*{
    margin: 0;
    padding: 0;
    box-sizing: content-bo;
}
body{
    height: 100dvh;
    width: 100dvw;
    background-color: #eee;
}
header{
    background: transparent;
    position: relative;
    height: 90%;
}
.container{
    background: #fff;
    width: 280px;
    border: #333 1px solid;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.container_inputs{
    display: flex;
    justify-content: space-between;
    width: 92%;
    border-bottom: #333 1px solid;
    padding: 10px;
}
.input_text{
border: #aaa solid 1px;
border-radius: 5px;
padding: 5px;
transition: all 0.3s;
}
.input_text:focus{
    border: #000 solid 1px;
}
.submit{
    font-weight: 500;
    font-size: 20px;
    padding: 2.5px 6px;
    background: none;
    border: none;
    filter: drop-shadow(0 0 1px black);
    cursor: pointer;
    transition: all 0.3s;
}
.delete{
    padding: none;
    font-size: 16px;
}
.submit:hover{
    transform: scale(1.5);
}
.container_to_do{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: start;
    align-items: start;
    padding: 15px;
    height: 380px;
    overflow: hidden;
}
.card{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95.5%;
    background-color: #ddd;
    padding: 10px 5px;
    border-radius: 5px;
}
.animated{
    animation: bounceIn 0.5s ease-in-out forwards;
}
.animated_out{
    animation: bounceOut 0.5s ease-in-out forwards;
}
p{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  word-break: break-all;
}
.date{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-right: 10px;
}
span{
    font-size: 0.6em;
}
.pagination{
    display: flex;
    width: fit-content;
    margin: auto;
    padding: 10px;
    gap: 10px;
}
.input_pagination{
  width: 100%;
  padding: 5px;
  border: 1px solid #000;
  border-radius: 5px;
  cursor: pointer;
}
.error{
animation: shake 0.5s ease-in-out  forwards;
border: 1px solid red;
}
.link{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 30px;
}
a{
  transition: all 0.3s;
}
a:hover{
  transform: scale(1.2);
}
  @keyframes bounceIn {
    from,
    20%,
    40%,
    60%,
    80%,
    to {
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
  
    0% {
      opacity: 0;
      transform: scale3d(0.3, 0.3, 0.3);
    }
  
    20% {
      transform: scale3d(1.1, 1.1, 1.1);
    }
  
    40% {
      transform: scale3d(0.9, 0.9, 0.9);
    }
  
    60% {
      opacity: 1;
      transform: scale3d(1.03, 1.03, 1.03);
    }
  
    80% {
      transform: scale3d(0.97, 0.97, 0.97);
    }
  
    to {
      opacity: 1;
      transform: scale3d(1, 1, 1);
    }
  }
  @keyframes bounceOut {
    0% {
      transform: scale(1); /* Starts at original size */
      opacity: 1; /* Fully visible */
    }
    25% {
      transform: scale(0.95); /* Shrinks slightly */
    }
    50% {
      opacity: 1; /* Remains visible during the slight shrink */
      transform: scale(1.1); /* Expands slightly, creating the "bounce" */
    }
    100% {
      opacity: 0; /* Fades out completely */
      transform: scale(0.3); /* Shrinks significantly */
    }
  }
  @keyframes shake {
        0% { transform: translateX(0); }
        25% { transform: translateX(-5px); }
        50% { transform: translateX(5px); }
        75% { transform: translateX(-5px); }
        100% { transform: translateX(0); }
      }