* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    font-family: Arial, sans-serif;
}

.header {
    background-color:#99ab5e;
    color: #3b342c;
    text-align: center;
    padding: 2px 17px;
    width: 100%;
    display: flex;
    justify-content: center; /* Adjusts the spacing between items */
    align-items: flex-end;; /* Centers items vertically */
    gap: 1rem; /* Adds space between items, adjust as needed */
    border: 1px solid;
    border-color: #707070;
}

.header-text{
    letter-spacing: 0;
    line-height: 30px;
    min-height: 38px;
    min-width: 190px;
    white-space: nowrap;
    color: var(--dune);
    font-family: var(--font-family-verdana-bold);
    font-size: var(--font-size-xl);
    font-style: normal;
    font-weight: 700;
}
.title {
    text-align: center;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px; /* Adjust the height as needed */
    color: #3b342c;
    font-family: var(--font-family-verdana-bold);
    font-size: var(--font-size-l);
    font-style: normal;
    font-weight: 700;
}
.title-text{
    letter-spacing: 0;
    line-height: 30px;
    min-height: 38px;
    min-width: 190px;
    white-space: nowrap;
    color: var(--dune);
    font-family: var(--font-family-verdana-bold);
    font-size: var(--font-size-xl);
    font-style: normal;
    font-weight: 700;
}
.logo{
    border-radius: 13px;
    margin-bottom: 4px;
    margin-left: 5px;
    margin-right: 4px;
    margin-top: 5px;
    object-fit: cover;
    width: 70px;
}

.filters {
    background-color:white;
    text-align: center;
    padding: 0px;
    width: 100%;
    height: 80px;
    display: flex;
    flex: 0 1 auto;
    justify-content: center; /* Centers the contents horizontally */
    align-items: center; /* Centers the contents vertically */
}
.filter-box {
    align-items: flex-end;
    background-color: var(--block-background);
    border: 1px solid;
    border-color: var(--dove-gray);
    display: flex;
    height: 51px;
    margin-top: 0px;
    padding: 10px 17px;
  }

.main-content {
    display: flex;
    flex: 1;
    overflow-y: auto;
    width: 90%;
    margin: 0 auto;
    padding: 1rem;
    background-color: white;
    flex-direction: column;
}

.bottom-div {
    background-color: white;
    text-align: center;
    margin: 0 auto;
    padding: 1rem;
    width: 90%;
    position: sticky;
    bottom: 50px; /* Adjust this value based on the height of the nav-bar */
    display: flex;
}

.nav-bar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: #99ab5e;
    color: white;
    text-align: center;
    padding: 5px;
    width: 100%;
    position: fixed;
    bottom: 0;
    height: 60px;
    border: 1px solid;
    border-color: #707070;
}

.rounded-button {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    text-decoration: none;
    background-color: var(--block-background);
    color: var(--dune);
    padding: 5px 10px;
    border-radius: 50px; /* Fully rounded corners */
    border: 1px solid;
    border-color: #5c5b5b;
    margin-right: 20px;
}

.rounded-button img {
    width: 31px;
    height: 32px;
    margin-right: 10px;
}

.rounded-button span {
    font-size: 20px;
    color: var(--dune);
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 300;
}

.round-button {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    margin-left: 15px;
    margin-right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
    line-height: 50px;
    background-color: #3e5a1e; /* Change this to your desired background color */
    border-color:#b8b8b8;
    color: #b8b8b8;
    border: 1px solid;
    text-decoration: none;
}

.round-button img {
    width: 28px;
    vertical-align: middle;
    margin: auto;
}

.small-edit {
    height: 23px;
    width: 22px;
    margin: 2px;
    text-decoration: none;
}
.small-delete {
    height: 24px;
    width: 23px;
    margin: 2px;
    text-decoration: none;
}

/* Event Container */
.event-container {
    display: flex;
    /*flex: 1 1 100%;*/
    align-items: stretch;
    width: 100%;
    background-color: #eaeee0;
    margin-bottom: 20px;
    border: 1px solid;
    border-color: #99ab5e;
  }
  
  .event-details {
    padding: 5px;
    align-items: stretch;
    flex: 2;
  }
  .event-times {
       text-align: right;
      align-items: stretch;
      flex: 1;
      
  }
  .names {
      /*font-size: 20px;
      font-weight: 800;
      */
      margin: 5px 0px 0px 5px;
      
  }
  .times {
      /*font-size: 14px;
      font-weight: 400px;
      */
      vertical-align: text-bottom;
      margin: 0px 5px 0px 0px;
  }
  .event-desc {
      /*font-size: 14px;
      font-weight: 400px;
      */
      margin: 0px 0px 0px 5px;
  }

  .highlight-main{
    background-color: #eaeee0;
    background-color: var(--block-background);
    border: 1px solid;
    border-color: var(--dove-gray);
  }

  .center{
    margin: 0 auto 0 auto;
  }

  .center-main-content{
    align-items: center;
  }

  .event-input{
    margin: 20px auto 0 auto;
    width: 80%;
  }

  
 .mealtable {
    width: 100%;
    background-color: var(--block-background);
    border: 1px solid;
    border-color: black;
    margin: auto;
    margin: 10px 2px 10px 2px;
    border-collapse: collapse;
    table-layout: fixed;
  }
  .edithorses{
    padding: 5px 10px 5px 10px;
  }
.feedname {
    width: 40%;
    border: 1px solid;
    border-color: black;
    padding: 5px 2px 5px 5px;
  }
  
.horsefeed {
    width: 60%;
    border: 1px solid;
    border-color: black;
    padding: 5px 2px 5px 5px;
  }

.mealtitle {
    text-align: center;
    letter-spacing: 0;
    line-height: 20px;
    margin-right: 24.0px;
    margin-top: 2px;
    min-height: 26px;
    min-width: 224px;
    white-space: nowrap;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .edit-horses-button {
    width: 170px;
    height: 38px;
  }

  /* Meals */
  /* Event Container */
.meal-container {
    display: flex;
    /*flex: 1 1 100%;*/
    align-items: stretch;
    width: 100%;
    background-color: #eaeee0;
    margin-bottom: 20px;
    border: 1px solid;
    border-color: #99ab5e;
  }
  
  .meal-title {
    padding: 5px;
    align-items: stretch;
    flex: 2;
  }
  .meal-actions {
       text-align: right;
      align-items: stretch;
      flex: 1;
      
  }
  .chore-container{
    display: flex;
    /*flex: 1 1 100%;*/
    align-items: center;
    width: 100%;
    background-color: #eaeee0;
    margin-bottom: 20px;
    border: 1px solid;
    border-color: #99ab5e;
  }
  .chore-checkbox{
    width: 20px;
    height: 20px;
    padding: 0px;
    vertical-align: middle;
    margin-right: 20px;
  }
  .chore-title {
    padding: 0px;
    vertical-align: middle;
  }

  .note-container{
    display: grid;
    grid-template-columns: auto 60px;
    grid-template-rows: auto auto;
    row-gap:20px;
    width: 100%;
    border: 2px solid #99ab5e;
    background-color: #eaeee0;
    padding: 5px 5px 5px 5px;
  }
  .note-title{
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  .note-action{
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  .note-description{
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
  .edit-note-box{
    width:80%;
    height: 150px;
    padding: 10px;
    margin-top: 10px;
    white-space: pre-wrap;
  }

  .login-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

.login-logo{
    width:150px;
    margin-top: 150px;
}
  .login-username{
    margin-top: 20px;
  }

  .login-password{
    margin-top: 20px;
  }
  .login-button{
    margin-top: 50px;

  }
  .error_message {
    margin-top: 5px;
    color: red;
  }
