* {
    box-sizing: border-box;
}

:root {
    --white: #fff;
    --violet: #ae00ff;
}

body {
    padding-top: 3rem;
    margin: 0;
    flex-wrap: wrap;
    display: flex;
    background-color: #370050;
}
.newNote {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background-color: var(--violet);
    color: var(--white);
    border: none;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.note {
    background-color: var(--white);
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
    margin:30px 20px;
    height: 400px;
    width: 400px;
}

.note .options {
    background-color: var(--violet);
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem;
}

.note .options button {
    background-color: transparent;
    color: var(--white);
    cursor: pointer;
    font-size: 1rem;
    margin-left: 0.5rem;
    border: none;
}

.note textarea {
    outline: none;
    font-family: inherit;
    font-size: 1.2rem;
    border: none;
    height: 400px;
    width: 100%;
    padding: 20px;
}

.main {
    padding: 20px;
}

.hidden {
    display: none;
}