/* todo css */

body {
	font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto;
	font-size: 18px;
	color: black;
	background: #676B81;
	display:flex;
	align-items: center;
	justify-content: center;
}

:focus {outline:0 !important;}

.container {
	width:311px;
	height:70vh;
    border-radius: 28px;
	background-color: white;
    margin: 8px;
    position:absolute;
    top:30px;
    box-shadow: 0 12px 35px 0 rgba(0,0,0,0.32);
}

.list-title {
    display:flex;
	justify-content: center;
}

.height-limiter {
    overflow: scroll;
    height: calc(100% - 92px);
	
	background:
    /* Shadow covers */
    linear-gradient(white 30%, rgba(255,255,255,0)),
    linear-gradient(rgba(255,255,255,0), white 70%) 0 100%,
    
    /* Shadows */
    radial-gradient(50% 0, farthest-side, rgba(0,0,0,.2), rgba(0,0,0,0)),
    radial-gradient(50% 100%,farthest-side, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%;
  background:
    /* Shadow covers */
    linear-gradient(white 30%, rgba(255,255,255,0)),
    linear-gradient(rgba(255,255,255,0), white 70%) 0 100%,
    
    /* Shadows */
    radial-gradient(farthest-side at 50% 0, rgba(0,0,0,.2), rgba(0,0,0,0)),
    radial-gradient(farthest-side at 50% 100%, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%;
  background-repeat: no-repeat;
  background-color: white;
  background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
  
  /* Opera doesn't support this in the shorthand */
  background-attachment: local, local, scroll, scroll;
}

#emptyStateMsg {
	width: 200px;
	position:absolute;
	display:block;
	color:grey;
	font-style: italic;
	margin: 0 auto;
	top:1rem;
	left: 16px;
    user-select: none;
    line-height: 1.5rem;
}

#addItem {
    color: lightblue;
    user-select: none;
}

#addItem:hover {
    cursor: pointer;
}
    
button {
    margin: 1rem;
}


    
.add {
	height: 46px;
	width: 150px;
	background-color: #3EB3FF;
	color:black;
	font-size: 18px;
    font-weight: 800px;
	display: flex;
  	align-items: center;
  	justify-content: center;
	user-select: none;
	position: absolute;
    bottom:16px;
    right: 16px;
    border-radius: 23px;
}

.add span{
	pointer-events: none;
    padding-bottom: 8px;
}

.add:hover {
    cursor: pointer;
    background: #6BC5FF;
    box-shadow: 0 3px 8px 0 rgba(0,0,0,0.50);
    transform: translateY(-2px);
}
.add:active {
    cursor: pointer;
    background: #3EB3FF;
    transform: translateY(0px);
    box-shadow: none;
}

ul {
    list-style-type: none;
    padding:0;
    margin:0;
}
    
li {
    user-select: none;
    padding: 4px 14px 4px 19px;
    
}

li:last-child {
	margin-bottom: 8px;
}
li:hover {
    cursor: pointer;
    color:#BCBCBC;
    text-decoration: line-through;
    text-decoration-color: black;
    text-decoration-thickness: 3px;
}

.section-heading {
    font-weight: bold;
    border-top: 1px solid #c7c7c7;
    margin-top: 8px;
    padding-left:19px;
    padding-top:8px;
}

.handle {
    color:#999;
    width:24px;
    height:24px;
    float:right;
}

.handle:hover {
    cursor: move;
}

.hide { visibility:collapse; }

input {
	width: calc(100% - 48px);
	height:42px;
	background: #fff;
    margin: 0 16px 0 12px;
    font-family: sans-serif;
	font-size: 18px;
	color: black;
	position: absolute;
    bottom:16px;
    border: 2px solid #3EB3FF;
    border-radius: 23px;
    padding-left: 18px;
}

input::placeholder{
	color: #B2B2B2;
}


