@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;500&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #f4f7f8;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-wrap: wrap;
}
nav{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(245, 221, 6, 0.89);
    padding: 15px 40px;
}
.logo{
    font-weight: 500;
    color: #222222da;
}
.add-button{
    cursor: pointer;
    background-color: transparent;
    outline: none;
    padding: 6px 10px;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: .06rem;
    font-weight: 400;
    font-size: .6rem;
    color: #222222da;
    border: 2px solid #222222da;
    transform: scaleX(1);
}
.add-button:hover{
    transform: scale(1.04);
}
span{
    padding-left: 2px;
    font-weight: 500;
}

main{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.note{
    display: block;
    font-weight: 200;
    margin: 15px;
    position: relative;
    width: 270px;
    height: 200px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 1px 1px 8px rgba(0,0,0,0.15);
    -webkit-box-shadow: 1px 1px 8px  rgba(0,0,0,0.15);
    -moz-box-shadow: 1px 1px 8px  rgba(0,0,0,0.15);
}
.note:hover{
    box-shadow: 1px 1px 11px rgba(0,0,0,0.25);
    -webkit-box-shadow: 1px 1px 11px  rgba(0,0,0,0.25);
    -moz-box-shadow: 1px 1px 11px  rgba(0,0,0,0.25);
}
.note-title{
    font-weight: 400;
    text-transform: capitalize;
    font-size: 1.2rem;
    outline: none;
}
.note-content{
    outline: none;
    padding: 10px 0;
}
.btn-delete{
    cursor: pointer;
    float: right;
    margin-top: -10px;
    background-color: transparent;
    border-radius: 10%;
    border: none;
    transform: scale(1);
}
.btn-delete:hover{
    transform: scale(1.2);
}
.note-title:empty:before{
    content: attr(data-placeholder);
    pointer-events: none;
}
.note-content:empty:before{
    content: attr(data-placeholder);
    pointer-events: none;
}
.fa-times{
    font-size: larger;
}

footer{
    position: fixed;
    bottom: 5px;
    right: 10px;
    font-size: 0.8rem;
    font-weight: 200;
    opacity: 40%;
    padding: 5px;
}

@media only screen and (max-width: 480px) {
    nav{
        padding: 15px;
    }
    }