@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;300;400;500&family=Open+Sans:wght@400;500;600;700;800&family=Orbitron:wght@400;500&family=Outfit:wght@200;400;700&family=Playfair+Display:wght@400;500;600&family=Poppins:wght@200;300;400;500;600&family=Raleway:ital,wght@0,200;0,300;0,400;0,600;0,800;0,900;1,700&family=Roboto:wght@300;500;700&display=swap');

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

:root {
    --bg-clr: #fef2f2;
    --del-btn: #f53163;
    --add-btn: #d1a080;
    --notes-wrap: #e4c2c1;
    --white-clr: white;
}

body {
    background-color: var(--bg-clr);
    font-family: sans-serif;
}

h1 {
    display: flex;
    /* width: 100%; */
    height: 6rem;
    /* background: yellow; */
    justify-content: center;
    align-items: center;
    font-family: Outfit, sans-serif;
}

h2 {
    font-family: Raleway, sans-serif;
}

.headerInp {
    width: 100%;
    height: 6rem;
    /* background-color: red; */
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 4rem;
}

.headerInp input {
    min-width: 90%;
    padding-left: 2rem;
    height: 3rem;
    border: 0;
    border-bottom: 2px solid var(--add-btn);
    outline: 0;
    background: transparent;
    font-size: 1.2rem;
}

.headerInp input:focus {
    border-bottom: 2px solid var(--del-btn);
}

.outputCont {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: cyan; */
    padding: 3rem 7rem;
    gap: 5rem;
    flex-direction: column;
}

#cont {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.card {
    padding-left: 1.5rem;
    width: 18rem;
    height: 14rem;
    background-color: var(--notes-wrap);
    /* background-color: magenta; */
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    border-radius: 23px;
    align-items: flex-start;
    justify-content: space-evenly;
}

.card p {
    font-family: open sans;
    line-height: 1.6rem;
    letter-spacing: .4px;
}

.del {
    background-color: var(--del-btn);
    width: 6.5rem;
    height: 2.5rem;
    border-radius: 12px;
    border: 0;
    outline: 0;
    font-size: .82rem;
    color: var(--white-clr);
}

#addNoteBtn {
    position: fixed;
    right: 4rem;
    bottom: 3rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--add-btn);
    border-radius: 60%;
    outline: 0;
    border: 0;
    font-size: 1.5rem;
    color: var(--white-clr);
    cursor: pointer;
}





/* ~~~~~~~~~~~~~~~~~~~~~~~~~~ Media Queries ~~~~~~~~~~~~~~~~~~~~~~~~~~ */

@media only screen and (min-width: 321px) and (max-width: 425px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: .95rem;
    }

    #addNoteBtn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}



@media only screen and (max-width: 320px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: .95rem;
    }

    #addNoteBtn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}