/* import Roboto font from google fonts */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: "Roboto", sans-serif;
}

body {
	background-color: #19a7ce;
}

.popup {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(0, 0, 0, 0.1);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.popup .popup-wrapper {
	width: 400px;
	background-color: #f6f1f1;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.popup,
.popup-wrapper {
	opacity: 0;
	pointer-events: none;
	transition: all 0.5s ease-in-out;
}

.popup.show,
.popup.show .popup-wrapper {
	opacity: 1;
	pointer-events: unset;
}

.popup-wrapper header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #146c94;
	color: #146c94;
}

.popup-wrapper header span {
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	color: #000;
}

.popup-wrapper .content > div {
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
	gap: 10px;
	margin-bottom: 20px;
}

.popup-wrapper .content > div input,
.popup-wrapper .content > div textarea {
	width: 100%;
	padding: 10px;
	font-size: 17px;
	font-weight: 500;
	border: none;
	border: 1px solid #146c94;
	border-radius: 5px;
	outline: none;
	resize: none;
}

.popup-wrapper .content > div textarea {
	height: 150px;
	overflow-y: scroll;
}

.popup-wrapper .content > div textarea::-webkit-scrollbar {
	width: 0;
}

.popup-wrapper .content button {
	width: 100%;
	padding: 10px;
	border: none;
	border-radius: 5px;
	outline: none;
	cursor: pointer;
	user-select: none;
	background-color: #146c94;
	color: #fff;
}

.wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	margin: 30px 60px;
}

.wrapper > div {
	flex-basis: 265px;
	height: 340px;
	background-color: #f6f1f1;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.1);
}

.wrapper .add-note,
.add-note .icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 30px;
}

.wrapper .add-note .icon {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	border: 2px dashed #146c94;
	color: #146c94;
	cursor: pointer;
	user-select: none;
}

.add-note .icon p {
	font-size: 30px;
	font-weight: 600;
}

.add-note p {
	font-size: 18px;
	font-weight: 600;
	color: #146c94;
}

.note > h3 {
	font-size: 18px;
	color: #146c94;
	padding-bottom: 10px;
	border-bottom: 1px solid #146c94;
	margin-bottom: 15px;
}

.note > p {
	width: 100%;
	color: #222;
	height: 200px;
	overflow-y: scroll;
}

.note > p::-webkit-scrollbar {
	width: 0;
}

.note footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 15px;
	border-top: 1px solid #146c94;
}

.note footer .date {
	color: #333;
	font-size: 14px;
	font-weight: 500;
}

.note footer .settings {
	position: relative;
}

.note footer .settings .icon span {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	font-size: 30px;
	cursor: pointer;
}

.note footer .settings .menu {
	width: 100px;
	position: absolute;
	right: 0;
	bottom: 0;
	list-style: none;
	background-color: #f6f1f1;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
	transform-origin: bottom right;
	border-radius: 4px;
	transition: all 0.5s ease-in-out;
	transform: scale(0);
}

.note footer .settings .menu.show {
	transform: scale(1);
}

.note footer .settings .menu li {
	padding: 10px 0;
	font-weight: bold;
	padding: 15px;
	cursor: pointer;
	transition: all 0.5s ease-in;
}

.note footer .settings .menu li:hover {
	background-color: #ccc;
}
