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

body {
    color: rgba(255, 255, 255, 0.7);
}

.parent {
    width: 100vw;
    height: 100vh;
    background: rgb(43, 44, 46);
    position: relative;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 40%;
    min-width:350px;
    max-width:700px;
    height: 80%;
    padding: 2em;
    border: 2px solid gray;


    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.form {
    border: 2px solid gray;
    height: 50px;
    width: 100%;
}

.form>form {
    width: 100%;
    height: 100%;
    column-gap: .5em;
}

.note-input-field {
    width: 65%;
    height: 70%;
    padding: 0 2em;
}

.submit-btn {
    width: 20%;
    height: 70%;
}


.notelist-wrapper {
    width: 100%;
    height: 90%;
    border: 2px solid gray;
    padding: 1em;

    overflow-y: scroll;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    row-gap: 2em;
}

.notelist-wrapper>.note {
    width: 100%;
    padding-bottom: .5em;
    border-bottom: 1px solid #000;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.note>.note-text {
    width: 73%;
    text-align: justify;
}

/* .divider {
    width: 0;
    height: 90%;
    border: 1px solid grey;
} */

.note .action-button {
    width: 23%;
    justify-content: space-between !important;
}

.action-button>button {
    width: 48%;
    height: 2.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: .5s;
}

.action-button>button:hover {
    border-radius: 20px;
}

.action-button>#delete-btn {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 0, 0, 0.5);
}

.action-button>#delete-btn:hover {
    background: rgba(255, 0, 0, 0.3);
}
