* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	height: 100vh;
	font-family: 'Montserrat', sans-serif;
	background-color: rgb(243, 243, 243);
}

.menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 40px;
	height: 120px;
}

.menu button,
.note-panel .save,
.note-panel .cancel {
    padding: 12px 24px;
    background: none;
    border: 1px solid #999;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.menu button:hover,
.note-panel .save:hover,
.note-panel .cancel:hover {
    background-color:#333;
    color: #ddd;
}

.icon {
    margin-right: 10px;
}

.add {
    margin-right: 20px;
}

.note-area {
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    padding: 20px;
}

.note {
    margin: 40px 20px;
    width: 240px;
    background-color: rgb(255, 234, 0);
    border: 1px solid #000;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0,0,0,0.08);
}

.note-header .delete-note {
    background: none;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: transform 0.4s;
}

.note-header .delete-note:hover {
    transform: scale(0.8);
}

.note-body {
    padding: 20px 15px;
    font-size: 14px;
}

.note-panel {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 40px 0;
    width: 600px;
    background-color: #fff;
    box-shadow: 0 0 10px #000;
    border-radius: 5px;
}

.note-panel h2 {
    margin-bottom: 20px;
    text-transform: uppercase;
}

.note-panel label {
    margin-bottom: 10px;
}

.note-panel #text,
.note-panel #category {
    margin-bottom: 20px;
    padding: 10px 20px;
    width: 100%;
    max-width: 90%;
    max-height: 600px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #000;
}

.note-panel .error {
    margin-bottom: 20px;
    color: red;
    visibility: hidden;
}

a {
    display: flex;
    justify-content: center;
    /* align-items: flex-end; */
    margin: 50px;
    margin-top: 500px;
    color: #333;
    text-decoration: none;
    font-size: 24px;
    transition: transform 0.3s;
}

a:hover {
    color: #555;
    transform: scale(0.9);
}
