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

:root{
    --bittersweet: #ff6f59;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    line-height: 1.5;
    font-weight: 300;
}
.note{
    max-width: 1080px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}
.note h2{
    font-size: 2.6rem;
    text-align: center;
    opacity: 0.9;
    margin-bottom: 1rem;
}
.note-input h3{
    color: var(--bittersweet);
}
.note-wrapper{
    margin: 0.7rem 0;
    padding: 0.5rem 0;
}
#note-title,
#note-content{
    width: 100%;
    border: 2px solid rgba(0, 0, 0, 0.2);
    font-size: 1.05rem;
    padding: 0.55rem;
    margin-bottom: 0.8rem;
    border-radius: 2px;
}
#note-content{
    resize: none;
}
#note-title:focus,
#note-content:focus{
    outline: 0;
}
.btn{
    background: var(--bittersweet);
    border: 2px solid var(--bittersweet);
    color: #fff;
    padding: 0.55rem 0;
    width: 120px;
    border-radius: 2px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}
.btn:focus{
    outline: 0;
}
.btn:hover{
    background: #ff6048;
    box-shadow: 0 0 8px 0 rgba(255, 96, 72, 0.33);
}
.note-list{
    margin: 2rem 0;
    background: var(--bittersweet);
    padding: 2rem;
    border-radius: 2px;
}
.note-item{
    background: #fff;
    margin: 1rem;
    padding: 1.5rem;
    border-radius: 2px;
    box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
}
.note-item h3{
    margin-bottom: 1rem;
}
.note-item p{
    padding-bottom: 0.8rem;
}
.note-item .btn{
    margin-top: 0.8rem;
    background: #fff;
    border: 2px solid var(--bittersweet);
    color: var(--bittersweet);
}

@media(min-width: 992px){
    .note-list{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/*** alert ***/
.warning{
    border-color: rgba(255, 111, 89, 0.8)!important;
}