@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

html {
    font-size: 16px;
    overflow: hidden;
}

html,
input,
button {
    font-family: 'Roboto', sans-serif;
    color: #707070;
}

input,
button {
    border-style: none;
}

button,
label {
    cursor: pointer;
}

html,
body,
.planner-box {
    height: 100%;
    margin: 0;
}


.top-box,
.list-box,
.input-box {
    padding-left: 1.2em;
    padding-right: 1.2em;
}

.top-box {
    background-color: #4D70D1;
    color: #fff;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

#day {
    font-size: 1.75rem;
    margin-bottom: 0.1em;
}

#date {
    font-size: 0.875rem;
    padding-left: 0.4em;
}





.list-box {
    box-sizing: border-box;
    height: calc(100% - 11.675rem); /* 100% - top-box - input-box */
    padding-top: 1.5em;
    padding-bottom: 0em;
    overflow: hidden;
}

#planner-list {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

#planner-list::-webkit-scrollbar {
    display: none;
}

.task {
    display: flex;
    align-items: center;
    padding-left: 0.2em;
    padding-right: 0.2em;
    padding-top: 0.25em;
    padding-bottom: 0.75em;
    margin-bottom: 1.5em;
    border-bottom-style: solid;
    border-bottom-width: 0.1em;
    border-bottom-color: #D9D9D9;
}

.task input {
    margin: 0;
}

.task-label {
    display: flex;
    align-items: center;
    margin-left: -13px; /* move on top of hidden checkbox */
}

.li-text {
    margin-left: 1em;
}

.checkmark {
    height: 1.2em;
    width: 1.2em;
    flex-shrink: 0;
    opacity: 0;
}

.checkmark path {
    fill: none;
    stroke: #4d70d1;
    stroke-width: 4;
}

.remove-btn {
    font-size: 0;
    height: 1.5rem;
    width: 1.5rem;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../img/remove.svg);
    background-size: 0.9rem;
    padding: 0;
    flex-shrink: 0;
    margin-left: auto;
    visibility: hidden;
}

.task.complete .checkmark {
    opacity: 1;
}

.task.complete .li-text {
    text-decoration: line-through;
}

.task.complete .remove-btn {
    visibility: visible;
}







.input-box {
    padding-bottom: 1.5em;
    padding-top: 1.5em;
}


#input-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom-style: solid;
    border-bottom-color: #4D70D1;
    border-bottom-width: 0.1em;
    padding-left: 0.2em;
    padding-right: 0.2em;
    padding-bottom: 0.75em;
}

.fake-input {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 1em;
}

.fake-input label {
    font-size: 0;
    visibility: hidden;
    position: absolute;
}

#list-input {
    color: #707070;
    font-size: 1rem;
    flex-grow: 1;
}

#list-input::placeholder {
    color: #D9D9D9;
    font-size: 0.875rem;
}

#reset-btn,
#insert-btn {
    font-size: 0;
    background-position: center;
    background-repeat: no-repeat;
    width: 1.5rem;
    height: 1.5rem;
    background-color: transparent;
    padding: 0;
}

#reset-btn {
    background-image: url(../img/reset.svg);
    background-size: 0.7rem;
}

#insert-btn {
    background-image: url(../img/add.svg);
}


.hidden {
    visibility: hidden;
}



    