body {
    background: linear-gradient(rgb(255, 215, 215), rgb(250, 108, 108));
    height: 100vh;
}

* {
    list-style: none;
    box-sizing: border-box
}

#taskInfo {
    background-color: white;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    max-width: 600px;
    margin: auto;
    margin-top: 20px;
    padding: 20px 0px;
    font-family: Arial, Helvetica, sans-serif;
    /* font-weight: 600; */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    text-align: center;
    min-height: 250px;
    animation: fadeIn 0.5s forwards;
}



#taskInfo h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 50px;
    margin: 2px 0px 5px 0px;
    opacity: 0;
    visibility: hidden;
    animation: textFadeIn 1s ease-in forwards;
    animation-delay: 0.5s;
}

#finishedTask {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    animation: textFadeIn 1.2s ease-in forwards;
    animation-delay: 0.5s;
}

#finished.visible {
    opacity: 1;
    visibility: visible;
}

#taskInputs input:focus {
    border-color: rgb(0, 110, 255);
}

#taskInputs {
    max-height: 40px;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

#taskInputs input {
    padding: 14px;
    border-radius: 5px;
    width: 250px;
    margin-left: 5px;
    border: 2px solid grey;
    line-height: 1;
    height: 40px;
    font-size: 27px;
    outline: none;
    opacity: 0;
    visibility: hidden;
    animation: textFadeIn 1s ease-in forwards;
    animation-delay: 0.7s;
}


#taskInputs button {
    justify-content: center;
    border-radius: 5px;
    border: 2px solid grey;
    font-size: 25px;
    width: 60px;
    height: 40px;
    text-align: center;
    margin-left: 5px;
    opacity: 0;
    visibility: hidden;
    animation: textFadeIn 1s ease-in forwards;
    animation-delay: 0.7s;
}

#warning {
    color: red;
    font-family: Arial, Helvetica, sans-serif, italic;
    font-style: oblique;
    font-weight: 600;
}

.warningAnimation {
    animation: blinkWarning 1s ease-in-out;
}

ul {
    padding: 0;
}

.liList {
    height: 30px;
    justify-content: center;
    margin-top: 10px;
    animation: fadeInTask 0.3s;
}

.spanList {
    font-size: 30px;
    margin: 0px 10px;
    transition: color 0.5s ease-in;
}

.spanList:hover {
    text-decoration: line-through;
    cursor: pointer;
}

.delBtn {
    border: none;
    background-color: transparent;
    font-size: 20px;
    margin-left: 5px;
    opacity: 0.6;
}

.delBtn:hover {
    cursor: pointer;
    opacity: 1;
}

.markCompl {
    text-decoration: line-through;
    color: rgb(116, 116, 116);
    transition: color 0.5s ease-in;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }

    60% {
        opacity: 1;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes fadeInTask {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    50% {
        opacity: 1;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blinkWarning {
    20%, 60%, 100% {
        color: red;
        opacity: 1;
    } 0%, 40%, 80% {
        color: red;
        opacity: 0;
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        visibility: hidden;
    }

    100% {
        opacity: 1;
        visibility: visible;
    }
}