h1,h2,h3,h4,h5,h6{
  font-size: 40px;
  color: white;
}

.journal-container {
  max-width: 600px;
  width: 100%;
  text-align: center;
  max-width: 400px; /* Adjust the maximum width as needed */
  padding: 10px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* Use auto margin for horizontal centering */
}



.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 550px;
  width: 100%;
  margin-bottom: 20px;
}

.section label {
  margin-bottom: 5px;
}

#date-entry textarea {
  width: 100%;
  resize: vertical;
  border: 10px solid rgb(0, 234, 255);
  padding: 10px; /* Add padding for better spacing */
  box-sizing: border-box; /* Include padding in the element's total width */
}

button {
  margin-top: 10px;
}

label{
  color: white;
  font-size: 30px;
}

#entryDate{
  border: 5px solid rgb(0, 21, 255);
  padding: 10px; /* Add padding for better spacing */
  box-sizing: border-box; /* Include padding in the element's total width */
}

#searchMonth{
  border: 5px solid rgb(0, 21, 255);
  padding: 10px; /* Add padding for better spacing */
  box-sizing: border-box; /* Include padding in the element's total width */
}

.journal-entry{
  padding: 10px; /* Add padding for better spacing */
  box-sizing: border-box; /* Include padding in the element's total width */
  margin-bottom: 25px;
  background-color: grey;
  border-radius: 15px;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: rgb(41, 41, 41);
}

nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0d2e49;
  color: #fff;
  display: flex;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 5px 4px 0 rgba(0, 0, 0, .2);
  /* Ensure the nav bar appears above the header */
  margin-top: 0px;
}

nav a {
  color: #fff;
  margin: 0 18px;
  text-decoration: none;
  font-size: 20px;
  padding: 10px;
}

