:root{
    --clor-bg-font: black;
    --clr-bg-nav: #356166;
    --clr-bg: #BCE1E5;
    --clor-bg-cont: #C7EEF2;
    --clr-bg-footer: #FFFFFF;
    --clor-nav-active: #E6D667;
    --clor-nav-active-lighter: #E6DEA5;
    --color-bg-fon-task:#99785F;
    --clor-bg-conpleted: #C8D3E6;
    --clor-bg-ongoing: #E6CEBC;
    --clor-bg-btn: #E6D4B1;
    --clor-bg-btn-act: #E68E4E;
}

body{
    /* Use this to cover the entire viewport */
    /*min-height: 100vh;*/
    box-sizing: border-box;
    background-color: var(--clr-bg);
}

.main{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 2rem 1rem;
    /* using this to provide the entire viewport as size for height*/
    min-height: calc(100vh - 70px);
    box-sizing: border-box;
}
.card{
    background-color: var(--clor-bg-cont);
    width: 90vh;
    height: max-content;
    padding: 1rem 1.4rem;
    margin: 0rem 0rem 2rem 0rem;
    border-radius: 32px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.card__u-list{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
    margin-bottom: 1rem;

    font-family: 'Carter One', cursive;
    color: var(--clr-bg-footer);
    text-transform: capitalize;
    font-size: 1.2rem;
    text-shadow: 0px 1px 2px black;
}
.card__description{
    margin-bottom: 0.5rem;
    width: 16rem;

    text-align: center;
    font-size: 1.25rem;
}
.card__status{
    margin-bottom: 0.3rem;
    width: 7rem;
    text-align: center;
}
.card__actions{
    margin-bottom: 0.3rem;
    width: 7rem;
    text-align: center;
}

.task-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 60vh;
    padding-bottom: 0.7rem;
    border-radius: 20px;
    overflow: auto;

    background: var(--clr-bg) url("../img/task-list.png") no-repeat center;
    background-size: 40vh;
}
.task-container::-webkit-scrollbar{
    display: none;
}
.task-container__u-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 95%;
    height: max-content;
    margin-top: 0.7rem;
    border-radius: 45px;
    padding: 1rem 1rem;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    box-sizing: border-box;

    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    line-height: 1.5em;
    font-weight: normal;
    color: var(--color-bg-fon-task);
}
._u-list_pending{
    background-color: var(--clor-bg-ongoing);
    /*background-color: var(--clor-nav-active-lighter);*/
}
._u-list_completed{
    background-color: var(--clor-bg-conpleted);
}
._u-list_ongoing{
    background-color: var(--clor-nav-active-lighter);
    /*background-color: var(--clor-bg-ongoing);*/
}
.task-container__description{
    text-transform: capitalize;
    margin-bottom: 0.5rem;
    min-width: 14rem;
}
.task-container__status{
    margin-bottom: 0.3rem;
    border-radius: 40px;
    padding: 0rem 0.2rem 0rem 0rem;
    border-style: hidden;
    cursor: pointer;

    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    text-align: center;
    text-transform: capitalize;
    color: var(--color-bg-fon-task);
}
.task-container__option-pending,
.task-container__option-completed,
.task-container__option-ongoing{
    font-weight: normal;
    background-color: var(--clr-bg-footer);
}
._status--pending{
    background-color: var(--clor-bg-ongoing);
    /*background-color: var(--clor-nav-active-lighter);*/
}
._status--completed{
    background-color: var(--clor-bg-conpleted);
}
._status--ongoing{
    background-color: var(--clor-nav-active-lighter);
    /*background-color: var(--clor-bg-ongoing);*/
}
.task-container__delete{
    border: none;
    width: max-content;
    padding: 0.2rem 1rem;
    border-radius: 11px;
    background-color: var(--clor-bg-btn);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

    font-size: 1.1rem;
    text-transform: capitalize;
    color: var(--clr-bg-nav);

    cursor: pointer;
    transition: transform 0.3s, background-color 0.1s;
}
.task-container__delete:hover{
    transform: scale(1.1);
}
.task-container__delete:active{
    background-color: var(--clor-bg-btn-act);
}

.task-form{
    width: 60vh;
    height: max-content;
    padding: 1rem 0rem;
    border-radius: 32px;

    background-color: var(--clor-bg-cont);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.task-form__tittle{
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;

    font-family: 'Carter One', cursive;
    color: var(--clr-bg-footer);
    text-transform: capitalize;
    text-align: center;
    font-size: 1.2rem;
    text-shadow: 0px 1px 2px black;
}
.form{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height:20vh;
}
.form__input{
    display: flex;
    border: none;
    width: 85%;

    text-align: center;
    font-size: 1.2rem;
    color: var(--color-bg-fon-task);
}
.form__input::placeholder{
    color: var(--color-bg-fon-task);
    opacity: 85%;
    text-transform: capitalize;
}
.form__button{
    width: max-content;
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 11px;
    background-color: var(--clor-nav-active-lighter);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));

    font-size: 1.2rem;
    text-transform: capitalize;
    color: var(--clr-bg-nav);

    cursor: pointer;
    transition: transform 0.3s, background-color 0.1s;
}
.form__button:hover{
    transform: scale(1.1);
}
.form__button:active{
    background-color: var(--clor-nav-active);
}
