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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.container {
    width: 50vw !important;
    height: 50vh;
    font-family: 'Rajdhani', sans-serif;
    transition: all .3s linear;
}


#clear,
#addTodo {
    width: 7rem;
}

.card-body:not(.card-body ~ .card-body) {
    height: auto;
    max-height: 9rem;
    transition: all .3s linear;
    overflow: hidden;
}

@media screen and (max-width: 600px) {
    .card-body:not(.card-body ~ .card-body) {
        height: auto;
        max-height: 18rem;
    }
}

.fa-remove {
    color: red;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.fa-remove:hover,
.fa-solid:hover {
    transform: scale(1.3);
    transition: all .3s linear;
}

.form-group-item {
    position: relative;
    height: 1rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.fa-check {
    position: absolute;
    left: -30px;
    cursor: pointer;
    transition: all .3s linear;
    font-size: 1.3rem;
    color: #0B5ED7;
}

li>p {
    margin-top: -.2rem;
}

li.checked>p {
    color: rgb(36, 35, 35);
    text-decoration: line-through;
    font-weight: normal;
}

li.checked>.fa-check {
    color: green
}



@media screen and (max-width: 1200px) {
    .container {
        width: 70vw !important;
        /* height: fit-content !important; */
    }

}

@media screen and (max-width: 650px) {
    .container {
        width: 90vw !important;
        /* height: fit-content !important; */
    }

}