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

html,
body {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    background: #fafafc;
}

.container {
    height: 100%;
    width: 100%;
    /*border: 1px solid red;*/
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 60px;
}

.total-notes {
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.total-img {
    margin-right: 12px;
}

.counter {
    font-weight: bold;
}

.border {
    width: 100%;
    box-shadow: 0 1px 3px 0 rgba(11, 12, 13, 0.16), 0 0 1px 0 rgba(11, 12, 13, 0.24);
    background: #fff;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
}

.new-note {
    width: 344px;
    height: 36px;
}

.note-desc {

    min-height: 84px;
    padding: 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
    color: #919191;
    font-family: 'Montserrat', sans-serif;
    border-radius: 10px;
    border: 1px solid #ccc;

}

input {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
    color: #919191;
    font-family: 'Montserrat', sans-serif;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding-left: 10px;
}

.textarea-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

textarea {
    resize: none;
    padding-left: 10px;
    width: 100%;
    display: flex;
}

.form-wrapper {
    border-radius: 4px;
    padding: 24px;

    /*height: 228px;*/
    box-shadow: 0 8px 12px 0 rgba(11, 12, 13, 0.08), 0 16px 24px 0 rgba(11, 12, 13, 0.04), 0 1px 2px 0 rgba(11, 12, 13, 0.08);
    background: #fff;
    margin: 30px 60px;

    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.form-row {
    display: flex;
    gap: 40px;
    width: 100%;
}

.colors-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.colors-list {
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 28px;
    cursor: pointer;
}

.circle.selected {
    outline: 1px solid #3E5F8A;
    outline-offset: 4px;

}

.circle {
    border-radius: 100%;
    width: 24px;
    height: 24px;
}

.yellow {
    background-color: #f3db7d;;
}

.green {
    background-color: #c2f37d;;
}

.blue {
    background-color: #7de1f3;
}

.red {
    background-color: #f37d7d;
}

.purple {
    background-color: #e77df3;
}

.add-note {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    background: #457cdc;
    border-radius: 10px;
    padding: 6px 24px;
    width: 232px;
    height: 36px;
    border: none;
}

.no-notes {
    font-weight: 500;
    font-size: 26px;
    line-height: 1.5;
    text-align: center;
    color: #000;
    font-family: "Montserrat", sans-serif;
    display: none;
}

.no-notes-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 450px);
}


/*card container*/
.notes-container {
    display: flex;

    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
    padding: 30px 60px;
    align-items: flex-start;


}

.card-wrapper {

    max-width: 368px;
    flex-direction: column;
    box-shadow: 0 4px 8px 0 rgba(11, 12, 13, 0.08), 0 8px 16px 0 rgba(11, 12, 13, 0.04), 0 1px 2px 0 rgba(11, 12, 13, 0.08);
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    min-height: 0;



}

.card-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: #f3db7d;
    width: 100%;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-header-images {
    display: flex;
    gap: 10px;
}

.favorite {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.remove {
    width: 21px;
    height: 21px;
    cursor: pointer;
}

.card-description {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.71429;
    color: #000;
    font-family: "Montserrat", sans-serif;
    margin: 12px 10px;

    overflow-wrap:  break-word;
}

.card-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #292515;
}