:root{
    --font : 'Fredericka the Great', cursive;
    --primaryColor:rgb(34, 104, 80);
    --secondaryColor:saddlebrown;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    height: 100vh;
    font-family: var(--font);
    background-image:url(./assets/image1.jpg);
    background-position: center;
    background-size:cover;
    /* background-repeat: no-repeat; */
}
.title{
    color:rgb(34, 104, 80);
    font-size:1.5rem;
    text-align: center;
    padding-top: 1.5rem;
    position: relative;
    margin-bottom:3rem;
    padding-top: 2rem;
}
#date{
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    color: aliceblue;
}
h3{
    color:var(--secondaryColor);
}
.title *{
    margin-bottom: 1rem;
}

.todo-add{
    text-align: center;
    padding: 2rem;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}
.todo-add input{
    font-size: 1rem;
    padding: 0.7rem 1rem;
    width: 20rem;
    border: none;
    border-radius: 10px;
    background-color: transparent;
}
.todo-add input:focus{
    outline:1px dashed gray;
}
.todo-add button{
    font-size: 4.5rem;
    font-family: var(--font);
    font-weight: 900;
    padding: 0;
    border: none;
    background-color:transparent;
    color: var(--primaryColor);
    margin-left: 1rem;
    border-radius: 10px;
}
.todo-add button:hover{
    cursor: pointer;
    color: cadetblue;
}
.todos{
    /* height: 70vh; */
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
}
.todos div{
    min-width: 20rem;
    max-width: 25rem;
    overflow-wrap: break-word;
}
.list-title{
    text-align: center;
    color:var(--secondaryColor);
    border-bottom: 1px solid var(--secondaryColor);
}
.todos ul {
    list-style: none;
}
ul li{
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: all 0.5s;
}
ul li:hover {
    transform: translate(3px, 2px);
}
li{
    animation: addItem 1s ease-in-out 1;
}
li i {
    padding: 1rem;
    color: var(--primaryColor);
    transform: scale(1.3);
    cursor: pointer;
}
li i:hover {
    color: maroon;
}
li p {
    width: 100%;
    padding: 0.4rem;
}
.done-div p {
    text-decoration: line-through;
}
.todo-div{
    padding: 1rem;
}
.done-div{
    padding: 1rem;
}
footer p{
    color: antiquewhite;
    position: fixed;
    bottom: 5px;
    right: 5px;
}

@media screen and (max-width: 671px) {
    .todo-div{
        min-height: 70vh;
    }
    #date{
        font-size: 1rem;
    }
  }
  
@keyframes addItem {
    0% {
      transform: rotateX(90deg);
    }
  
    100% {
      transform: rotateX(0deg);
    }
  }