html {
  width: 100%;
  height: 100%;
}

body {
  background-color: #edece6;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: min-content 1fr min-content;
  width: 100%;
  height: 100%;
  grid-template-areas:
    "header"
    "main"
    "footer"
}

header {
  grid-area: header;
}

footer {
  grid-area: footer;
}

header, footer {
  background-color: #596e79;
  height: 3rem;
  align-items: center;
  display: flex;
  flex-direction: row;
}

#left-header {
  flex: 1 1 200px;
}

#left-footer {
  flex: 1 1 200px;
}

#header__name {
  color: #edece6;
  padding: 0 2rem 0 1rem;
  display: flex;
  align-items: center;
  height: 100%;
}

#content {
  margin: 0.5rem 1rem;
  grid-area: main;
  overflow: auto;

  display: flex;
  flex-direction: column;
  align-items: center;
}

#messages .messages {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#messages .messages .error::before {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  color: red;
  content: "\f06a";
}

#messages .messages .warning::before {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  color: orange;
  content: "\f06a";
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}

.margin-1-0 {
  margin: 1rem 0;
}

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

.width-3 {
  width: 3rem;
}

.width-5 {
  width: 5rem;
}

.inline-block {
  display: inline-block;
}

.htmx-indicator {
  width: 0;
}

.center-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.button-warning {
  background: rgb(223, 117, 20);
  /* this is an orange */
}
