@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap');


body{
    margin: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    background-color: rgb(51 51 51 / 10%);
}

.app-title{
    font-size: 90px;
    font-weight: 700;
    color: rgb(156, 43, 65);
    z-index: -1;
    opacity : 0.25;
}

.todo_container{
    position: relative;
    height: max-content;
    min-width: 45vw;
    margin:0px auto;
    box-shadow: 5px -11px 20px 0px rgb(51 51 51 / 10%);
}

.deleteAllToDo{
    position: absolute;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    outline: none;
    border: none;
    background-color: white;
    color: black;
    font-size: 30px;
    left:15px;
    top:10px;
    transform: rotate(90deg);
    opacity: .15;
}

.darken-btn-color{
    opacity: .6;
}

.todo-item-container{
    display: flex;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    gap:15px;
    font-size: 24px;
    min-height: 60px;
    width: 100%;
    background-color: #fff;
    border-bottom:1px solid rgb(51 51 51 / 10%);
}

.todo-item-container:hover > .deleteToDo{
    opacity: .4;
}

.deleteToDo{
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    outline: none;
    border: none;
    background-color: white;
    height: 15px;
    width: 15px;
    color:red;
    font-size: 30px;
    padding-right: 30px;
    opacity: 0;
}

.todo-item-container:hover > .deleteToDo:hover{
    opacity: 1;
}

.todo_input{
    position:relative;
    box-sizing : border-box;
    min-height: 60px;
    width: 100%;
    box-shadow: 0px 2px 1px 0px rgb(51 51 51 / 10%);
    border: none;
    padding-left: 50px;
    font-size: 24px;
}


.todo_input::placeholder{
    position: absolute;
    text-align: center;
    top:25%;
    font-weight: normal;
    font-style: italic;
    color: rgba(51, 51, 51, 0.13);
}

.todo_input:focus{
    outline: none;
}

input[type="checkbox"]{
    opacity: 1;
    cursor: pointer;
    height: 30px;
    width: 30px;
    margin-top: 5px;
    margin-left: 5px;
}


.todo-item-actions-container{
    display: flex;
    align-content: center;
    justify-content:space-around;
    align-items: center;
    min-height: 45px;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: lighter;
    min-width: 45vw;
    margin:0px auto;
    border-top:1px solid rgb(51 51 51 / 10%);
    box-shadow: 1px 8px 20px 6px rgb(51 51 51 / 10%);
    background-color: #fff;
}

.action-bar-format{
    box-sizing: border-box;
    width: 20%;
    color:rgba(51, 51, 51, 0.89);
    font-size: 14px;
}

.all-active-completed-container{
    box-sizing: border-box;
    width: 60%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap:10px;
}

.all-active-completed-container > button{
    box-sizing: border-box;
    border-radius: 5px;
    padding:5px 10px;
    background-color: #ffffff;
    border:none;
    width: max-content;
}

.all-active-completed-container > button:hover{
    cursor:pointer;
    outline:1px solid rgba(156, 43, 66, 0.192);
}

.all-active-completed-container > .btn-border{
    outline:1px solid rgba(156, 43, 66, 0.192);
}

.clear-completed-container{
    width:20%;
}

.clear-completed-container > button{
    background-color: #ffffff;
    border:none;
    width: max-content;
    border-radius: 5px;
    padding:5px 10px;
}

.clear-completed-container > button:hover{
    text-decoration: underline;
    cursor:pointer;
}

.hide{
    display:none;
}

.completed-todo{
    color: rgba(51, 51, 51, 0.13);
    text-decoration: line-through;
    text-decoration-thickness:2px;
    transform:translate(ease-in-out);
    transition-duration: 300ms;
}

label{
    flex:1;
    pointer-events: none;
}
