@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    background: linear-gradient(266deg, rgb(14, 39, 10) 4%, rgba(21,21,21,1) 100%);
}

h1{
    text-align: center;
    color: #ffffff;
    font-family: Kanit;
    text-shadow: 0 0 20px #66ff6e69;
}

header{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    width: 90%;
    margin: auto auto;
}

input{
    box-shadow: 0 0 20px #181818;
    color: rgb(173, 173, 173);
    background-color: #1a1919;
    height: 70px;
    font-size: 2rem;
    width: 80%;
    padding-left:10%;
    border-left: solid 2px rgb(201, 201, 201);
    border-top: solid 2px rgb(201, 201, 201);
    border-bottom: solid 2px rgb(201, 201, 201);
    border-right: none;
    border-top-left-radius: 10px ;
    border-bottom-left-radius: 10px ;
    font-family: Kanit;
    transition: all 0.3s ease-out;
}

input:focus {
    outline: none; 
    box-shadow: 0 0 20px #f1fff269;
    transition: all 0.3s ease-in-out;
}

button.add{
    width: 20%;
    cursor: pointer;
    color: green;
    background-color:rgb(201, 201, 201);
    font-weight: bold;
    border: none;
    height: 70px;
    border-top-right-radius: 10px ;
    border-bottom-right-radius: 10px ;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: ease-in-out 0.3s all;
    font-family: Kanit;
    
}

button.add:hover{
    width: 20%;
    cursor: pointer;
    color: rgb(7, 110, 7);
    background-color: rgb(115, 167, 99) ;
    font-weight: bold;
    border: none;
    height: 70px;
    border-top-right-radius: 10px ;
    border-bottom-right-radius: 10px ;
    transition: ease-in-out 0.3s all;
    box-shadow: 0 0 20px #55ff6034;
}
main{
    display: flex;
    flex-flow: row wrap;
    width: 90%;
    margin: auto auto;
    padding-top: 40px ;
    
}

.item{
    display: flex;
    color: rgb(212, 212, 212);
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    background-color: rgba(26, 26, 26, 0.938);
    height: 80px;
    width: 100%;
    box-shadow: 0 0 20px #181818;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    margin-top:2%;
}

.item-icone{
    flex: 10%;
    text-align: center;
    font-size: 2rem;
}

.item-icone i{
    cursor: pointer;
}
.item-nome{
    flex: 55%;
    font-size: 20px;
    font-weight: bold;
    font-family: Quicksand;
}
.item-botao{
    flex: 25%;
    display: flex;
}

.delete{
    cursor: pointer;
    text-align: center;
    background-color: #e64949;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 10px;
    height: 80px;
    width: 100%;
    border: none;
    color: rgb(126, 0, 0);
    transition: ease-in-out 0.1s all;
}

#checkcircle{
    color: rgb(42, 211, 42);
    background-color: black;
    border-radius: 20px;
}

.item.clicado{
    background-color: rgba(29, 29, 29, 0.521);
}

.item.clicado .item-nome{
    text-decoration: line-through;
    color: #5c5c5c;
}

.delete:hover{
    cursor: pointer;
    text-align: center;
    background-color: #810000;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 10px;
    height: 80px;
    width: 100%;
    border: none;
    color: rgb(255, 255, 255);
}