body {
    background-color: #ddd;
}

header {
    border: 2px solid black;
    padding: 10px 20px;
    background-color: white;
    font-family: Courier, Courier New, FreeMono, Liberation Mono, monospace;
    box-shadow: black 5px 5px 0px;
    margin: 10px 10px;
}

h1 {
    font-size: 30px;
    margin: 0px;
}

h2 {
    font-size: 20px;
    margin: 10px 0px;
}

.checkbox {
    display: none;
}

.checkbox-check {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid black;
    border-radius: 20px;
}

.checkbox:checked + .checkbox-check::after {
    position: absolute;
    display: inline-block;
    content: "";
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.note-board {
    display: flex;
    padding: 0px;
    margin: 0px;
    flex-direction: row;
    list-style: none;
}

.note-stack > ul {
    display: flex;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.note {
    position: relative;
}

.note .note-selection ~ .checkbox-check {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 100;
}

.note .note-selection ~ .checkbox-check.right {
    left: 175px;
}

.note .note-selection ~ .checkbox-check.right.delete {
	border-radius: 0px;
	background-color: #d43d0c;
	color: white;
	font-size: 18px;
	line-height: 20px;
}

.note .note-selection ~ .checkbox-check.right.delete:after {
    content: "×";
    display: flex;
    justify-content: center;
}

.note-content {
    width: 156px;
    height: 156px;
    padding: 10px;
    margin: 10px;
    border: 2px solid black;
    background-color: #b1dbe9;
    position: relative;
    box-shadow: black 5px 5px 0px;
    overflow: hidden;
}

.note.add .note-content {
	opacity: 0.5;
	border-style: dashed;
	text-align: center;
	line-height: 150px;
}

.note.add .note-content:hover {
    opacity: 1;
}

.note-selection:checked ~ .note-content {
    background-color: rgb(238, 193, 70);
}

.note-content textarea {
	resize: none;
	background-color: transparent;
	border: none;
	font-size: 16px;
	width: 100%;
	height: 100%;
    outline: none;
}

#save-btn:hover {
    background-color: #0b9258;
    cursor: pointer;
}

#save-btn:active {
    background-color: #065030;
}

#save-btn {
    display: inline-block;
    height: 36px;
    padding: 4px;
    margin: 5px;
    border: 2px solid black;
    box-shadow: black 5px 5px 0px;
    font-size: 20px;
    background-color: #076b40;
    color: white;
}