/* Stylesheet for ToDo: list */

html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue",Arial,sans-serif;
	color: #fff;
	background-color: #1B998B;
}

* {box-sizing: border-box;}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    background-color: #1B998B;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #1B998B;
}
::-webkit-scrollbar-thumb {
    background-color: #6dc0d5; 
}

h1,
h2,
h3 {
	text-align: center;
	margin-bottom: 0;
	font-size: 50px;
}

hr {
	margin-top: 0; 
	margin-bottom: 50px;
	width: 75%;
}

#list-name, #list hr {
    text-align: left;
    margin-left: 60px;
}

.task-input {
	margin: 15px;
}

.goright {
	margin: 30px;
}

section {
	height: 100%;
	width: 100%;
}

.todo-task {
	position: absolute;
	float: left;
	width: 30%;
	height: 100%;
	background-color: #233D4D;
}

.todo-list {
	margin-left: 30%;
	width: 65%;
	height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.list-header {
    position: fixed;
    height: 125px;
    width: 80%;
    top: 0;
    z-index: 10;
    background-color: #1B998B;
}

.push {
    margin-bottom: 150px;
}

.content {
    height: 100%;
    margin-top: 50px;
}

ul {
	width: 100%;
	list-style-type: none;
}
ul li {
    cursor: pointer;
    position: relative;
    padding: 12px 8px 12px 40px;
    background-color: #6DC0D5;
    font-size: 18px;
    transition: 0.2s;
}
ul li:nth-child(odd) {
    background: #508CA4;
}
ul li:hover {
    background: #438736;
}

/* Remove button */
.remove {
    position: absolute;
    right: 0;
    top: 0;
    padding: 12px 16px 12px 16px;
}
.remove:hover {
    background-color: #f44336;
}

/* Checkbox */
.check {
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: #ddd;
    border-radius: 100%;
    box-shadow: 0px 1px 3px rgba(0,0,0,0.5);
}
.check:hover {
    cursor: pointer;
    background-color: #f44336;
}

.check:checked + .strikeMe {
    text-decoration: line-through;
}

.todo-input {
    border: none;
    width: 70%;
    padding: 10px;
    float: left;
    font-size: 16px;
}

.add-btn {
    padding: 10px;
    width: 30%;
    background: #d9d9d9;
    color: #555;
    float: left;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}
.add-btn:hover {
    background-color: #bbb;
}

.todo-output {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
}

.output-box {
    border: 5px solid #fff;
    width: 200px;
    max-width: 100%;
    height: 200px;
    border-radius: 50%;
    margin-left: auto; margin-right: auto;
    text-align: center;
}

#empty-list {
    color: #d9d9d9;
    font-size: 35px;
}


/*    RESPONSIVE    */

/*  Container  */
@media screen and (max-width: 700px) {.container{ width: 100%; max-width: 100%;} .content{margin-top: 70px;}}

/*  Navbar  */
@media screen and (max-width: 700px) {
    .container {
        display: flex;
        flex-flow: column nowrap;
    }
    ul { width: 90%; }
    #task {
        position: static;
        float: none;
        width: 100%;
        height: auto;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
    }
    .task-input { margin: 1em; }
    .todo-output { position: static; width: auto; }
    #task hr { display: none; }


    #list {
        margin: 0;
        width: 100%;
    }
    .list-header {
        position: static;
        height: 0;
    }
    .goright { margin: 0; }
    .push { margin-top: 1em; margin-bottom: 0; }
    #empty-list { margin: 0; margin-top: 2em; }


}

@media screen and (max-width: 500px) {
    .output-box {
        border: none;
        width: auto;
        height: auto;
    }
    #list-name { margin-left: 30px; }
    #list hr { margin-left: 30px; }
}
