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

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

html {
    font-size: 62.5%;   /*1rem = 10px*/
    /* font-size: 75%;   1rem = 12px */
}

body {
    background: #f4f7f8;
    font-family: "Poppins", sans-serif;
    display: flex;
    flex-wrap: wrap;
}

.heading {
    width: 100vw;
    height: 5.5rem;
    background: #f1c40f;
    color: #282936;
    box-shadow: 0 10px 16px rgb(248, 247, 247);
}

.heading h1 {
    line-height: 5.8rem;
    margin-left: 2rem;
    font-weight: 400;
}

i.fa-notes {
    margin-right: 10px;
}

.add:active {
    transform: scale(0.98);
}

/* button style start */

.btn_div {
    position: fixed;
    top: 7rem;
    right: 1rem;
    border: none;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}
button.learn_more {
    width: 12rem;
    height: auto;
}
button.learn_more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #f1c12e;
    border-radius: 1.625rem;
}
button.learn_more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}
button.learn_more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}
button.learn_more .circle .icon.arrow::before {
    content:"";
    position: absolute;
    top: -0.25rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}
button.learn_more .button_text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #282936;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}
button:hover .circle {
    width: 100%;
}
button:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}
button:hover .button_text {
    color: #fff;
}

/* button style end */

.container {
    min-width: 100vw;
    /* min-height: */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.note {
    background: #fff;
    margin: 0 2rem;
    height: 15rem;
    width: 30rem;
    overflow-y: scroll;
    margin-top: 7rem;
    box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1),
                inset 0px -1px 0 rgba(0, 0, 0, 0.1);
}

.note .tools {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem;
}

.tools h2 {
    margin-right: auto;
    font-size: 1.2rem;
    padding: 0.5rem;
    font-family: inherit;
}

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

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

textarea::placeholder {
    color: grey;
    font-family: inherit;
    font-size: 1.6rem;
}

.fa-pen-to-square,
.fa-trash {
    padding: 10px;
    color: #27ae60;
    border: 1px solid #27ae60;
    border-radius: 50%;
    position: relative;
}

.fa-trash {
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.fa-pen-to-square:hover {
    background: #2ecc71;
    color: #fff;
    filter: drop-shadow(0 10px 8px rgb(219, 218, 218));
}

.fa-trash:hover {
    background: #e74c3c;
    color: #fff;
    filter: drop-shadow(0 10px 8px rgb(219, 218, 218));
}

.main {
    padding: 20px;
    font-size: 1.4rem;
}

.hidden {
    display: none;
}
