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

html {
    font-family: "Nunito", sans-serif;
    width: 100%;
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}

body {
    background-color: #222831;
    background-image: url("https://www.transparenttextures.com/patterns/inspiration-geometry.png");
    padding: 0;
    overflow-x: hidden;
}

::selection {
    background-color: #32e0c3;
    color: #222831;
}

::placeholder {
    color: #eeeeeed7;
    opacity: 1;
}

::-ms-input-placeholder {
    color: #eeeeeed7;
}
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #32e0c3;
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

header {
    background-color: #393E46;
    padding: 16px 32px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

header h1 {
    color: #32E0C4;
    font-family: "Megrim", system-ui;
    font-weight: 600;
}

.note {
    color: #fff;
    background-color: #393E46;
    border-radius: 7px;
    box-shadow: rgba(0, 0, 0, 0.253) 0px 1px 4px;
    padding: 10px;
    width: 250px;
    margin: 16px;
    float: left;
}

.note h1 {
    font-size: 1.2em;
    margin-bottom: 6px;
}

.note p {
    font-size: 1em;
    margin-bottom: 10px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.btn {
    display: flex;
    justify-content: space-between;
}

.note button {
    color: #32E0C4;
    border: none;
    cursor: pointer;
    outline: none;
    margin-top: 1em;
    background-color: transparent;
}


form.create-note {
    position: relative;
    width: 480px;
    margin: 30px auto 20px auto;
    background: #393E46;
    padding: 15px;
    border-radius: 7px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

form.create-note input,
form.create-note textarea,
.note input,
.note textarea {
    width: 100%;
    border: none;
    padding: 4px;
    outline: none;
    font-size: 1em;
    font-family: inherit;
    resize: none;
    color: #fff;
    background-color: #393E46;
}


form.create-note button {
    position: absolute;
    right: 18px;
    bottom: -18px;
    background: #32E0C4;
    color: #222831;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    outline: none;
}