html {
    min-height: 100%;
}

body {
    min-height: 100%;
    height: 100%;
    font-family: Bad Script;
    /* background: linear-gradient(to bottom, #91EAE4, #86A8E7, #7F7FD5);*/
    background: linear-gradient(90deg, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);

}

h1 {
    text-transform: uppercase;
    /*background: #86a8e7;*/
    background: linear-gradient(90deg, rgba(236,114,222,1) 0%, rgba(148,187,233,1) 100%);
    color: white;
    margin: 0;
    padding: 10px 28px;
    font-weight: normal;
}

input {
    background: white;
    width: 100%;
    box-sizing: border-box;
    height: 50px;
    font-size: 20px;
    font-weight: 0.5px;
    padding-left: 25px;
    border: 3px solid gray;
    color: gray;
}

input:focus {
    background: #edf1f5;
    border: 3px solid #86a8e7;
    outline: none;
    color: #86a8e7;
}

span.todo-trash {
    margin-right: 10px;
    text-align: center;
    height: 50px;
    width: 0;
    opacity: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s linear;
}

i {
    cursor: pointer;
}

button {
    background-color:rgb(235,133,223);
    border: 2px solid #86a8e7;
    color: white;
    padding: 8px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
    font-family: Bad Script;
    -webkit-transition-duration: 0.4s;
    /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;

}

button:hover {
    background-color: white;
    color: black;
    border: 2px solid #86a8e7;
}

#buttons {
    display: inline-block;
    text-align: center;
    margin: 2px 4px;
}

#todo {
    margin: 0 auto;
    box-shadow: 0 0 1em black;
    max-width: 400px;
    height: 100%;
    background: white;
    position: relative;
}

#overlay {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.7);
    overflow-x: hidden;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}

#overlay .closeTips {
    position: absolute;
    top: 15px;
    right: 40px;
    font-size: 60px;
    color: #86a8e7;
    cursor: pointer;
}

#overlay li {
    padding: 8px;
    list-style-type: circle;
    font-size: 30px;
    color: #818181;
    display: block;
}

.todos {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.todos li {
    background: #f7f7f7;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
    font-size: 20px;
}

.todos li span.todo-text {
    padding: 0 8px;
}

.todos li:nth-child(2n) {
    background: #edf1f5;
}

.todos li:hover span.todo-trash {
    width: 50px;
    opacity: 1.0;
    margin-left: 5px;
}

.display {
    display: none;
    transition: 0.3s linear;
}

.checked {
    color: gray;
    text-decoration: line-through;
}

.fa-pencil-alt {
    float: right;
    padding-top: 8px;
}

.fa-trash-alt {
    color: #7f7fd5;
}

.tips {
    position: relative;
    top: 20%;
    width: 100%;
    text-align: center;
    margin-top: 25px;
}

/*  if screen size less than 450px, resize tips lists and close btn so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }

    #todo {
        width: 100%;
        height: 100%;
    }
}