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

body {
    background: #4b6cb7;
    background: -webkit-linear-gradient(to right, #182848, #4b6cb7); 
    background: linear-gradient(to right, #182848, #4b6cb7);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding-top: 3rem;
}
.add{
    position: fixed;
    top: 1rem;
    right: 1rem;background-color: #ffff;
    color: #232323;
    border: none;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    cursor: pointer;
}
.add:active{
    transform: scale(0.98);
}
.note{
    background-color: #fff;
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
    margin: 30px 20px;
    height: 400px;
    width: 400px;
    overflow-y: scroll;
}
.note .tools{
    background-color: rgb(2, 2, 95);
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem;
}
.note .tools button{
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 0.5rem;
}
.note textarea{
    outline: none;
    font-size: 1.2rem;
    border: none;
    width: 400px;
    height: 400px;
    width: 100%;
    padding: 20px;
}
.main{
    padding: 20px;
}
.hidden{
    display: none;
}