@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 3rem;
    display: flex;
    flex-wrap: wrap;
    font-family: 'Poppins', sans-serif;
    background-color: lightsteelblue;
}

.add {
    top: 1rem;
    right: 1rem;
    border: none;
    cursor: pointer;
    position: fixed;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    background-color: lightsalmon;
}

.note {
    width: 400px;
    height: 400px;
    color: black;
    margin: 30px 20px;
    border-radius: 5px;
    background-color: lightslategray;
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
}

.note .tools {
    display: flex;
    padding: 0.5rem;
    justify-content: flex-end;
    border-radius: 5px 5px 0 0;
    background-color: black;
}

.note .tools button {
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 0.5rem;
    background-color: transparent;
}

.note .tools button.edit {
    color: lightskyblue;
}

.note .tools button.save {
    color: lightgreen;
}

.note .tools button.delete {
    color: tomato;
}

.note .tools button:focus {
    outline: none;
}

.note textarea {
    width: 100%;
    border: none;
    resize: none;
    outline: none;
    padding: 10px;
    color: black;
    font-size: 1.2rem;
    border-radius: 5px;
    font-family: inherit;
    background-color: lightslategray;
    height: calc(100% - 40px);
}

.main {
    padding: 20px;
}