* {
    box-sizing: border-box;
}


body {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;
    padding-top: 10px;

    background: #020024;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
}



.container {
    background: #020024;
    background: linear-gradient(100deg, rgba(2, 0, 36, 1) 0%, #090979 35%, rgba(0, 212, 255, 1) 100%);

    min-height: 95vh;
    width: 95%;

    display: flex;
    flex-direction: column;
    align-items: center;

    justify-content: flex-start;
    padding-top: 40px;

    border-radius: 50px;


}



h1 {
    background: #020024;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(94, 94, 255, 1) 0%, rgba(0, 212, 255, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-family: sans-serif;
    font-size: 40px;
}

#input {
    padding: 15px;
    min-width: 500px;
    border-radius: 10px 0 0 10px;
    border: none;

    font-family: sans-serif;
    font-size: 16px;

    box-shadow: 1px 1px 25px gray;
    transition: 1s;
}

#input:focus {
    outline: none;
    box-shadow: 0px 0px 25px rgba(0, 213, 255, 0.829);
}

.button {
    background: #020024;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(94, 94, 255, 1) 0%, rgba(0, 212, 255, 1) 100%);

    padding: 15px;
    border-radius: 0px 10px 10px 0;
    border: 0;

    color: rgb(255, 255, 255);

    font-family: sans-serif;
    font-size: 16px;
    transition: 1s;
}

.button:hover {
    box-shadow: 0 4px 25px rgba(0, 212, 255, 1);
    cursor: pointer;
}

.done {
    background: #020024;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(94, 94, 255, 1) 0%, rgba(0, 212, 255, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-family: sans-serif;
    font-size: 17px;

}

.progress {
    background: #020024;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(94, 94, 255, 1) 0%, rgba(0, 212, 255, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-family: sans-serif;
    font-size: 17px;
}

.divisions {
    display: flex;
    gap: 10px;
}

#done-div {
    background-color: white;

    display: flex;
    padding: 5px;
    border: 1px solid rgba(94, 94, 255, 1);
    width: 280px;
    margin-top: 25px;

}

p {
    margin: 0;
}

#progress-div {
    background-color: white;

    display: flex;
    padding: 5px;
    border: 1px solid rgba(94, 94, 255, 1);
    width: 280px;
    margin-top: 25px;
}

#todos {
    list-style: none;

    padding: 0;
    margin-top: 10px;

    font-family: sans-serif;
    font-size: 19px;
    color: rgb(224, 224, 224);

    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 100%;
}


#todos li {
    background: #020024;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(94, 94, 255, 1) 0%, rgba(0, 212, 255, 1) 100%);
    margin: 8px;
    padding: 10px;
    width: 569px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: calc(100% - 16px);

}

#todos li span {
    flex: 1;
    margin-right: 12px;
    word-break: break-word;
}



.apply {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgb(252, 253, 252);
    color: rgb(0, 0, 0);

    border: 1px solid rgba(94, 94, 255, 1);
}

.apply i {
    font-size: 13px;
    line-height: 1;
}

.apply:hover {
    background-color: lightgray;
    cursor: pointer;
}

.apply.checked {
    background-color: rgba(94, 94, 255, 1);
    color: white;

}

.apply.checked:hover {
    background-color: rgb(112, 112, 248);
}

.delete {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;

    border: 1px solid rgba(94, 94, 255, 1);
    background-color: transparent;
}

.delete i {
    font-size: 16px;
    color: rgba(94, 94, 255, 1);
}



.delete:hover {
    background-color: rgba(94, 94, 255, 1);
    cursor: pointer;
    border: 1px solid (94, 94, 255, 1);
}

.delete:hover i {
    color: white;
}

@media (max-width: 600px) {

    form {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    #input {
        min-width: 100%;
        border-radius: 10px;
    }

    .button {
        width: 100%;
        border-radius: 10px;
    }
}

@media (max-width: 600px) {
    #todos li {
        font-size: 16px;
        padding: 8px;
    }
}

@media (max-width: 600px) {
    #todos li span {
        word-break: break-word;
        padding-right: 10px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 30px;
        text-align: center;
    }
}

@media (max-width: 600px) {

    body {
        align-items: flex-start;
    }

    .container {
        width: 100%;
        margin-top: 20px;
        min-height: 100vh;
    }

    #input {
        min-width: 0;
        width: 100%;
    }

    #todos {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    #todos li {
        width: 100%;
    }

    .divisions {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    #done-div,
    #progress-div {
        width: 90%;
    }
}