/* Base Styles */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--header-color: #4f5d75;
	--actions-color: #ef8354;
	--primary-color: #bfc0c0;
	--note-color: #ede7e3;
}
html {
	font-size: 62.5%;
}

body {
	background-color: var(--primary-color);
	color: white;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.6rem;
}

button {
	cursor: pointer;
}

a {
	color: #396684;
}

/* Container */

.container {
	max-width: 60rem;
	margin: 0 auto;
	padding: 0 1.6rem;
}

/* Header */

.header {
	background: var(--header-color);
	color: white;
	padding: 1.6rem 0;
}

.header__title {
	font-size: 3.2rem;
	margin-bottom: 0.4rem;
}

.header__subtitle {
	font-size: 1.6rem;
	font-weight: 300;
}

/* Actions Bar */

.actions {
	background-color: var(--actions-color);
	border-bottom: 1px solid #dedfe0;
	padding: 0.8rem;
}

.actions__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 60rem;
	margin: 0 auto;
	min-height: 3rem;
	padding: 0 1.6rem;
}

/* Form Inputs */

.input {
	border: 1px solid #dedfe0;
	background: var(--note-color);
	border-radius: 5px;
	font-size: 1.4rem;
	font-weight: 300;
	height: 3rem;
	margin-right: 0.8rem;
	padding: 0.4rem 0.8rem;
}

.dropdown {
	border-radius: 4px;
	border: 1px solid #dedfe0;
	background: var(--note-color);
	font-size: 1.4rem;
	font-weight: 300;
	height: 3rem;
	margin-right: 0.8rem;
}

.button {
	background: var(--header-color);
	border: none;
	border-radius: 4px;
	color: white;
	font-size: 1.4rem;
	font-weight: 300;
	padding: 0.8rem;
	transition: background 0.3s ease;
}

.button:hover {
	background: #6d654b;
}

/* Note editor */
.edited-text {
	display: block;
	background-color: var(--header-color);
	border-radius: 5px;
	font-size: 1.4rem;
	font-weight: 300;
	height: 3rem;
	padding: 0.4rem 0.8rem;
}

.title-input {
	border: 1px solid #577399;
	background-color: var(--note-color);
	font-size: 2rem;
	font-weight: 300;
	display: block;
	margin: 2.4rem 0;
	padding: 0.8rem;
	width: 100%;
}

.body-input {
	border: 1px solid #577399;
	background-color: var(--note-color);
	font-family: inherit;
	font-size: 1.6rem;
	font-weight: 300;
	display: block;
	margin: 2.4rem 0;
	min-height: 15rem;
	padding: 0.8rem;
	width: 100%;
}

/* Note List Item */

.list-item {
	text-decoration: none;
	color: black;
	background: var(--note-color);
	border: 1px solid rgb(109, 104, 104);
	margin: 1.6rem 0;
	padding: 1.6rem;
	display: block;
	transition: background 0.3s ease;
}

.list-item:hover {
	background: #d4c9c1;
}

.list-item__title {
	font-size: 1.8rem;
	margin-bottom: 0.4rem;
}

.list-item__subtitle {
	color: rgb(109, 104, 104);
	font-size: 1.4rem;
	font-weight: 300;
	font-style: italic;
}

.empty-message {
	text-align: center;
	margin: 3.2rem 0;
}
