* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    color: #fff;
    font-size: 62.5%;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
    background-color: #1b1b1d;
}

li {
    cursor: pointer;
    list-style-type: circle;
    margin: 2rem 0;
    text-transform: capitalize;
    font-weight: 500;

    &:hover {
        color: #feac5e;
    }
}

.main_todo_div {
    width: 36rem;
    display: grid;
    grid-template-columns: 1fr 0.3fr;
    align-items: center;
    height: auto;
}

button {
    height: 5rem;
}

h1 {
    font-size: 3.6rem;
    margin-top: 4.8rem;
}

hr {
    margin-bottom: 3.2rem;
}

p,
li,
button {
    font-size: 1.7rem;
    letter-spacing: 0.1rem;
    /* font-family: serif; */
    line-height: 1.6;
}

button {
    background-color: #f5ee62;
    padding: 0.6rem 2.4rem;
    border-radius: 10rem;
    margin-right: 3.6rem;
    cursor: pointer;
    border: none;
    color: rgb(18, 17, 17);
    font-size: 16px;
    transition: all 0.3s linear;

    &:hover {
        box-shadow: inset 0 0 0 0.2rem #f5ee62;
        background-color: transparent;
        color: #f5ee62;
    }
}

input {
    padding: 10px 20px;
    min-width: 32rem;
    font-size: 18px;
    border-radius: 0.6rem;
    border: none;
    margin-right: 1.2rem;
}

li:hover+.deleteBtn {
    box-shadow: inset 0 0 0 0.2rem #f5ee62;
    background-color: transparent;
    color: #f5ee62;
}


/* Media Queries */

@media (max-width: 560px) {
    body {
        margin-top: 50px;
    }

    h1 {
        margin-bottom: 10px;
    }

    input {
        display: flex;
        align-items: center;
        justify-content: center;
    }

}
@media (max-width: 400px) {
    body {
        margin-top: 50px;
    }

    h1 {
        margin-bottom: 10px;
    }

    input {
        min-width: 35rem;
        margin-left: 20px;
        margin-bottom: 15px;
    }

    .btn {
        margin-left: 20px;
        margin-bottom: 20px;
    }

    .main_todo_div {
        width: 36rem;
        margin-left: 20px;
    }
}



@media (max-width: 3800px) {
    body {
        margin-top: 50px;
    }

    h1 {
        margin-bottom: 10px;
    }

    input {
        min-width: 33rem;
        margin-left: 20px;
        margin-bottom: 15px;
    }

    .btn {
        margin-left: 20px;
        margin-bottom: 20px;
    }

    .main_todo_div {
        width: 34rem;
        margin-left: 20px;
    }
}



@media (max-width: 350px) {
    body {
        margin-top: 50px;
    }

    h1 {
        margin-bottom: 10px;
    }

    input {
        min-width: 29rem;
        margin-left: 20px;
        margin-bottom: 15px;
    }

    .btn {
        margin-left: 20px;
        margin-bottom: 20px;
    }

    .main_todo_div {
        width: 31rem;
        margin-left: 20px;
    }
}