   /* Add this style for mobile menu */
   @media only screen and (max-width: 450px) {

    html.mobile-menu-open,
    body.mobile-menu-open {
        overflow: hidden;
    }

    .meny {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 100px;
        /* Adjust to leave space for the header */
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #f9f9f9;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        /* Higher z-index to make it go over the article */
        overflow-y: auto;
        /* Enable vertical scrolling if needed */
    }

    .overskrift {
        height: 100px;
        display: flex;
        justify-content: space-evenly;
        width: 100%;
        padding-left: 0px;
        align-items: center;
    }

    header {
        width: 100%;
    }

    .meny.show {
        display: flex;
        width: 100%;
    }

    body {
        width: 100%;
    }

    .headerItem {
        padding: 10px;
        text-align: center;
        border-bottom: 1px solid #ddd;
        /* Add a border between menu items */
    }

    .menuButton {
        display: block;
        background-color: #3498db;
        border: whitesmoke 2px solid;
        color: white;
        border-radius: 10px;
        padding: 10px;
        text-align: center;
        text-decoration: none;
        font-size: 16px;
        cursor: pointer;
    }

    .page-container {
        overflow-x: hidden;
        /* Hide horizontal scrollbar */
    }
}

.add-note {
    background-color: whitesmoke;
    border: 2px solid black;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
}

.note-container {
    border: 2px solid #3498db;
    /* Yellow border */
    background-color: #3498db;
    /* Light yellow background */
    color: whitesmoke;
    padding: 10px;

    margin: 10px;
    height: auto;
    width: calc(20% - 20px);
    /* 25% width with margin included (adjust as needed) */
    border-radius: 10px;
    box-shadow: 3px 3px 5px #888888;
    /* Box shadow for a lifted effect */
    display: inline-block;
    /* Display notes inline */
    vertical-align: top;
    /* Align notes to the top of the container */
    box-sizing: border-box;
    /* Include padding and border in the element's total width and height */
    word-wrap: break-word;
    /* Break words that are too long */
}

.note-heading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.note-status {
    color: #2ecc71;
    font-size: 14px;
}

.check-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
}
.buttonsNote {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.formItemIndex {
    padding-top: 5px;
}

.formItemIndexKnapp {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.delete-button {
    background-color: #FF6347;
    color: white;
    border: none;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    
    width: 100%;
}

.note-container.checked {
    /* Your styles for checked notes */
    background-color: #f0f0f0;
    /* Replace with your desired greyish color */
}

@media screen and (max-width: 450px) {
    .note-container {
        width: 90%;
        display: flex;
        /* justify-content:ø center; */
        flex-direction: column;
        align-items: space-between;
        justify-content: center;

    }

    .note-article {
        display: flex;
        align-items: center;
        width: 100%;
        flex-direction: column;
        /* margin-left: 10px; */
    }

    .formItemIndex {
        padding-top: 15px;
    }

    .formItemIndexKnapp {
        padding-top: 15px;
        /* padding-bottom: 15px; */
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .check-button {
        width: 100%;
        height: 40px;
        /* border-radius: 30px; */
    }

    .delete-button {
        width: 100%;
        height: 40px;
        margin: 0px;
    }
}
form {
    width: 60%;
    
}
.buttonsNote {
    display: flex;
    flex-direction: row;
    height: 60px;
    padding-top: 10px;
}
@media only screen and (min-width: 451px) {
    .menuButton {
        display: none;
    }
}
