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


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', Verdana, Arial, Helvetica, sans-serif;
}


.container {
    position: absolute;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #b8b8ff, #f8f7ff);
    color: #fff;
    padding-top: 5%;
    padding-left: 5%;
    /* 7209b7 */
}

.notes-head h1 {
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 600;
}

.notes-head h1 img {
    width: 3rem;
    margin-right: 0.5rem;
}

/* #9418fd #571094 #8719fd */

#create-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #9418fd, #571094);
    color: #fff;
    border: 0;
    outline: none;
    margin: 1.5rem 0 1.25rem;
    padding: 0.75rem 1.25rem;
    border-radius: 3rem;
    cursor: pointer;
}

#create-btn img {
    width: 1rem;
    height: 1rem;
}

.notes-container {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap-reverse;
    justify-content: start;

}

.input-box {
    position: relative;
    width: 80%;
    max-width: 25rem;
    height: auto;
    /* min-height: 9.5rem; */
    background: #fff;
    border-radius: 0.25rem;
    outline: none;
    color: #333;
    padding: 1.25rem;
    margin: 1.25rem 1.25rem 1.25rem 0;
    font-size: 0.9rem;
}
.input-box h2 {
    color: #3c3c3c;
    display: relative;
    margin-bottom: 0.5rem;
}

.input-box h2 > img {
    position: absolute;
    background: #9418fd;
    width: 1.5rem;
    top: 1rem;
    right: 0.5rem;
    cursor: pointer;
    margin: 0 0.25rem;
    padding: 0.2rem;
    border-radius: 0.25rem;
}

.input-box > img {
    width: 1.5rem;
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    cursor: pointer;
}


/* Form to add notes */

.add-form {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 50%;
    min-width: 20rem;
    height: auto;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 1.25rem;
    border: 1px solid #ccc;
    overflow:hidden;
    background:#b8b8ff;
    box-shadow: 0 0 0.5rem #561094af;
}

.add-form > div > div{
    display: flex;
    justify-content: center;
    align-items: center;
}
.head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.head h1 {
    display: flex;
    justify-content: start;
    align-items: center;
    font-size: 2.25rem;
    font-weight: 600;
}

.head h1 img {
    width: 3rem;
    margin-right: 0.5rem;
}

.head button {
    width: 2rem;
    height: 2rem;
    font-weight: 500;
    border-radius: 50%;
    background: #fff;
    font-size: 1.1rem;
    padding-left: 0.1rem;
    padding-bottom: 0.2rem;
    border: 0;
    outline: none;
}

.inputs {
    margin-top: 1.5rem;
}

.inputs input, textarea {
    width: 90%;
    height: auto;
    padding: 0.25rem;
    font-size: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 1rem;
    box-sizing: border-box;
    overflow: hidden;
    resize: none;
    color: #333;
    background: #fff;
    /* transition:  1s ease-in-out; */
}

/* Add focus style for better user experience */
textarea:focus, input:focus, .head button {
    outline: none;
    box-shadow: 0 0 0.75rem #561094af;
}

.updatesBtn {
    margin: 1rem;
}

.updatesBtn button {
    padding: 0.5rem;
    color: #fff;
    background: #9418fd;
    border: none;
    outline: none;
    border-radius: 2rem;
    box-shadow: 0 0 1.25rem #6a6a6a;
}