/* ---BASE--- */
*{
    box-sizing: border-box; 
    margin: 0; 
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

img{
    display: block;
}

body{
    background: #f5f2ee;
    font-family: 'Poppins', sans-serif;
    font-size: 20px; 
    color: #8A0002;
    line-height: 30px;
}

a{
    color: #8A0002;
}

h1{
    font-size: 40px;
    line-height: 70px;
}

h3{
    font-size: 30px;
    line-height: 40px;
}

.btn{
    background: none;
    color: #8A0002;
    padding: 10px;
    text-align: center;
    border: 2px #8A0002 solid;
    transition: all 0.2s;
    cursor: pointer;
    font-weight: bold;
    line-height: 30px;
}

.btn:hover{
    background: #8A0002;
    color: #fff;
    border: 2px #8A0002 solid;
}

header{
    display: flex;
    justify-content: space-between;
    padding: 20px 40px; 
    background: #8A0002;
    color: #fff;
    align-items: center;
}

hr{
    border: 4px double #8A0002;
}

.main{
    display: flex;
    align-items: center;
    margin: 0 auto;
    flex-direction: column;
    margin: 50px 70px;
}

.buttons > *{
    margin: 20px 0;
}

.new-paragraph{
    text-transform: uppercase;
    font-size: 26px;
    text-align: center;
}

.cont-todo-list{
    width: 400px;;
    display: block;
    margin: 30px auto;
}

.todo-input{
    display: flex;
    flex-direction: column;
}
.todo-input input{
    margin: 20px 0;
    color: #8A0002;
}

.todo-item{
    list-style: none;
    font-style: italic;
    text-transform: capitalize;
}

footer{
    display: flex;
    background: #8A0002;
    color: #fff;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-top: 150px;
    font-size: 16px;
}

footer img{
    margin-right: 15px;
}