* {
	maring: 0;
	padding: 0;
}

.hide {
	display: none;
}

body {
	font-size: 100%;
	margin: 15px;
	/* background: #ffb385; */
	background-size: cover;
	color: #fff;
}

/******************************
 *      C O N T R O L S       *
 ******************************/
#controls img {
	width: 28px;
	height: 30px;
	background: rgba(0, 0, 0, 0);
}

#controls img:hover, #controls img:focus {
	-webkit-transform: scale(1.2);
  	-moz-transform: scale(1.2);
  	-o-transform: scale(1.2);
  	position:relative;
}

/************************
 *      N O T E S       *
 ************************/
ul, li {
	list-style: none;
}

ul {
	overflow: hidden;
	padding: 15px;
}

ul li {
	margin: 15px;
	float: left;
	position: relative;
}

ul li div {
	text-decoration: none;
	color: #000;
	background: #ffc;
	display: block;
	height: 150px;
	width: 150px;
	padding: 10px;
	-moz-box-shadow: 5px 5px 7px rgba(33, 33, 33, 1);
	-webkit-box-shadow: 5px 5px 7px  rgba(33, 33, 33, .7);
	box-shadow: 5px 5px 7px rgba(33, 33, 33, .7);
	-moz-transition: -moz-transform .15s linear;
	-o-transition: -o-transform .15s linear;
	-webkit-transition: -webkit-transform .15s linear;
	border-style: solid;
}

ul li div img {
	padding: 1px 3px;
	margin: 10px;
	position: absolute;
	top: 0;
	right: 0;
}

ul li textarea {
	font-family: 'Chewy', arial, sans-serif;
	background: rgba(0, 0, 0, 0); /* transparent background */
	resize: none;
	padding: 3px;
	border-style: none;
}

.note-title {
	font-size: 140%;
	font-weight: bold;
	height: 30px;
	width: 70%;
}

.note-content {
	font-size:120%;
	height: 100px;
	width: 95%;
}

ul li:nth-child(even) div {
  -o-transform:rotate(4deg);
  -webkit-transform:rotate(4deg);
  -moz-transform:rotate(4deg);
  position:relative;
  top:5px;
}

ul li:nth-child(3n) div {
  -o-transform:rotate(-3deg);
  -webkit-transform:rotate(-3deg);
  -moz-transform:rotate(-3deg);
  position:relative;
  top:-5px;
}

ul li:nth-child(5n) div {
  -o-transform:rotate(5deg);
  -webkit-transform:rotate(5deg);
  -moz-transform:rotate(5deg);
  position:relative;
  top:-10px;
}

ul li div:hover, ul li div:focus {
  -moz-box-shadow:10px 10px 7px rgba(0,0,0,.7);
  -webkit-box-shadow: 10px 10px 7px rgba(0,0,0,.7);
  box-shadow:10px 10px 7px rgba(0,0,0,.7);
  -webkit-transform: scale(1.25);
  -moz-transform: scale(1.25);
  -o-transform: scale(1.25);
  position:relative;
  z-index:5;
}

/* define 3 different colours for the notes */
ul li div.colour1 {
	background: #ffc;
}
ul li div.colour2 {
	background: #a8cfff;
}
ul li div.colour3 {
	background: #c9ffbd;
}


section {
	margin-top: -15px;
	margin-left: -30px;
	right: 0;
	width: 220vh;
	height: 70vh;
	position: relative;
	background: url('bggg.png');
	background-size: cover;
	/* background-attachment: fixed;
	background-position: center; */
}

section .wave {
	position: absolute;
	width: 220vh;
	height: 143px;
	bottom: 0;
	left: 0;
	background: url(wave.png);
	-webkit-animation: animate 10s linear infinite;
	        animation: animate 10s linear infinite;
}

section .wave:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 143px;
	bottom: 0;
	left: 0;
	background: url(wave.png);
	background-size: cover;
	opacity: 0.6;
	-webkit-animation-delay:  -5s;
	        animation-delay:  -5s;
	-webkit-animation: animate 20s linear infinite;
	        animation: animate 20s linear infinite;
}

section .wave:after {
	content: '';
	position: absolute;
	width: 100%;
	height: 143px;
	bottom: 0;
	left: 0;
	background: url(wave.png);
	opacity: 0.4;
	-webkit-animation: animate-reverse 10s linear infinite;
	        animation: animate-reverse 10s linear infinite;
}

@-webkit-keyframes animate {
	0% {
		background-position: 0;
	}
	100% {
		background-position: 1360px;
	}
}

@keyframes animate {
	0% {
		background-position: 0;
	}
	100% {
		background-position: 1360px;
	}
}

@-webkit-keyframes animate-reverse {
	0% {
		background-position: 1360px;
	}
	100% {
		background-position: 0;
	}
}

@keyframes animate-reverse {
	0% {
		background-position: 1360px;
	}
	100% {
		background-position: 0;
	}
}
