body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0 auto;
  padding: 0;
  background-color: rgb(41, 41, 41);
}

.container{
  max-width: 550px; /* Adjusted max width */
  margin: 0 auto;
  padding: 20px;
}

.input-section {
  margin-bottom: 20px;
}

.table-list {
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 10px;
}

table, th, td {
  border: 1px solid #ccc;
}

th, td {
  padding: 8px;
  text-align: left;
}

button {
  padding: 5px 10px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6, p, label {
  color: white;
  text-align: center; /* Center text */
}

ul {
  list-style-type: none;
  margin: 0;
  padding-left: 10px; /* allows the boxes to have an equal amount of space between the box and edge of the screen */
  padding-right: 10px; /* allows the boxes to have an equal amount of space between the box and edge of the screen */
}

/* Centered elements */
label,
#entryTitle,
#entryContent,
#saveEntry,
.edit-button,
.remove-button {
    display: block;
    margin: 0 auto;
    
}

.edit-button{
  margin-bottom: 5px;
}

li {
  padding: 10px;
  border-radius: 15px;
  background-color: grey;
  max-width: 550px; /* Set maximum width */
  margin: 10px auto; /* Center horizontally and apply margin */
  width: 100%; /* Ensure full width on all screens */
  box-sizing: border-box; /* Include padding and border in width calculation */
}











  /* ************* */
  nav {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0d2e49;
    color: #fff;
    display: flex;
    justify-content: center;
    z-index: 100;
    margin-top: -2px;
    box-shadow: 0 5px 4px 0 rgba(0, 0, 0, .2);
    /* Ensure the nav bar appears above the header */
  }
  
  nav a {
    color: #fff;
    margin: 0 18px;
    text-decoration: none;
    font-size: 20px;
    padding: 10px;
  }