* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	background-color: #f4f0f0;
	font-family: cursive;
}

header {
	width: 100%;
	display: flex;
	background-color: #e7bbe0;
}

header > .home {
	flex-grow: 1;
	font-size: 3em;
	text-decoration: none;
	color: #000;
	margin-left: 20px;
	@media (max-width: 500px) {
		font-size: 2em;
	}
}

header img {
	height: 40px;
	margin: 20px;
	@media (max-width: 500px) {
		height: 25px;
		margin: 10px 15px;
	}
}

.logout {
	padding: 0;
	background: transparent;
	border: none;
	min-width: unset;
}

main {
	padding: 0 30px;
}

input, select, textarea {
	padding: 5px;
	min-width: 200px;
	display: block;
	box-shadow: 15px 28px 25px -18px rgba(0, 0, 0, 0.1);
	margin: 10px 0;
}

textarea {
	resize: vertical;
	padding: 20px;
}

button {
	padding: 10px;
	min-width: 100px;
}

.notes {
	width: 100%;
	columns: auto 300px;
	column-gap: 80px;
	justify-content: center;
	align-content: center;
	align-items: center;
	margin: auto;
}

.notes.notes-grid {
	display: grid;
}

.note {
	display: inline-block;
	width: 100%;
	max-width: 300px;
	padding: 30px;
	border: 2px solid rgba(30, 30, 30, 0.4);
	font-weight: 400;
	font-style: normal;
	box-shadow: 15px 28px 25px -18px rgba(0, 0, 0, 0.2);
	text-align: center;
	margin-bottom: 40px;
}

select:nth-child(3n), textarea:nth-child(3n), button:nth-child(3n), input:nth-child(3n), .note:nth-child(3n) {
	border-radius: 155px 25px 15px 25px / 15px 225px 230px 150px;
}

select:nth-child(3n + 1), textarea:nth-child(3n + 1), button:nth-child(3n + 1), input:nth-child(3n + 1), .note:nth-child(3n + 1) {
	border-radius: 25px 155px 15px 25px / 115px 25px 225px 150px;
}

select:nth-child(3n + 2), textarea:nth-child(3n + 2), button:nth-child(3n + 2), input:nth-child(3n + 2), .note:nth-child(3n + 2) {
	border-radius: 25px 150px 25px 155px / 115px 25px 225px 50px;
}

.note:nth-child(4n) {
	background-color: #d4f2d8;
}

.note:nth-child(4n + 1) {
	background-color: #fac9dc;
}

.note:nth-child(4n + 2) {
	background-color: #fff372;
}

.note:nth-child(4n + 3) {
	background-color: #a4d6f7;
}

.note-from, .note-at {
	text-align: right;
}


.card {
	display: inline-block;
	width: 100%;
	padding: 30px;
	border: 2px solid rgba(30, 30, 30, 0.4);
	font-weight: 400;
	font-style: normal;
	box-shadow: 15px 28px 25px -18px rgba(0, 0, 0, 0.2);
	text-align: center;
	margin-bottom: 40px;
	border-radius: 25px 155px 15px 25px / 115px 25px 225px 150px;
	background-color: #fac9dc;
}
