* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    --color: #E1E1E1;
    background-color: #F3F3F3;
    background-image: linear-gradient(0deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%, transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%, transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%, transparent);
    background-size: 55px 55px;
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.container textarea {
    width: 90%;
    height: 250px;
    border-radius: 7px;
    resize: none;
    padding: 20px;
}

textarea:focus {
    outline: none;
    border: 2px solid #24b4fb;
    box-shadow: 1px 1px 1px #24b4fb;
}

#create {
    border: 2px solid #24b4fb;
    background-color: #24b4fb;
    border-radius: 0.9em;
    cursor: pointer;
    padding: 0.8em 1.2em 0.8em 1em;
    transition: all ease-in-out 0.2s;
    font-size: 16px;
    width: 40%;
}

#create span {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 600;
}

#create:hover {
    background-color: #0071e2;
}

#save {
    background-color: #f3f7fe;
    color: #3b82f6;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    width: 40%;
    height: 45px;
    transition: 0.3s;
    box-shadow: 4px 4px 5px #3b83f65f;
}

#save:hover {
    background-color: #3b82f6;
    box-shadow: 0 0 0 5px #3b83f65f;
    color: #fff;
}
.noteholder {
    padding: 20px;
    border: none;
    border-radius: 5px;
    background-color: #E1E1E1;
    box-shadow: 2px 2px 5px #5d5c5c;
    display: flex;
    flex-direction: column;
    gap:10px;
    width: 100%;
    margin-bottom: 10px;
}

.notes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 90%;
    max-height: 60vh;
    overflow-y: auto;
}

.notes::-webkit-scrollbar {
    display: none;
}

.note {
    padding: 20px;
    border-radius: 5px;
}

.edit {
    background-color: #f3f7fe;
    color: #3b82f6;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    width: 40%;
    height: 45px;
    transition: 0.3s;
    box-shadow: 4px 4px 5px #3b83f65f;
}

.edit:hover {
    background-color: lightgreen;
    box-shadow: 0 0 0 2px rgb(65, 211, 65);
    color: #fff;
}

.delete {
    background-color: #f3f7fe;
    color: #3b82f6;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    width: 40%;
    height: 45px;
    transition: 0.3s;
    box-shadow: 4px 4px 5px #3b83f65f;
}

.delete:hover {
    background-color: red;
    box-shadow: 0 0 0 2px rgb(234, 72, 72);
    color: #fff;
}
.buttonholder {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.saveEdit{
     background-color: #f3f7fe;
    color: #3b82f6;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    width: 40%;
    height: 45px;
    transition: 0.3s;
    box-shadow: 4px 4px 5px #3b83f65f;
}
.saveEdit:hover{
    background-color: lightgreen;
    box-shadow: 0 0 0 2px rgb(65, 211, 65);
    color: #fff;
}