/* desired chocolate color scheme */
/* #FFF8EA */
/* #9E7676 */
/* #815B5B */
/* #594545 */

* {
  box-sizing: border-box;
}

body {
  background: #FFF8EA;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
}

#blog-posts {
  display: flex;
  flex-direction: column;
}

hr {
  border: 2px solid #594545;
}

details {
  padding: 0.5rem;
  border-bottom: 2px solid #594545;
  /* border-radius: 0px; */
}

details:last-child {
  border-bottom: 0px;
}

details>summary {
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  /*width: 50%;*/
  /*padding: 0.5rem;*/
  /*pointer-events: none;*/
}

/*.details-title {*/
/*	pointer-events: auto;*/
/*	cursor: pointer;*/
/*	width: 200%;*/
/*}*/


.leo-foods ul {
  list-style-type: "\2012\00a0";
}

#logout-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #0073e6;
  cursor: pointer;
  text-decoration: underline;
}

.profile-section {
  margin-left: auto;
}

table {
  border: 1px solid grey;
  border-collapse: collapse;
}

tr {
  border-bottom: 1px solid grey;
}

td {
  border-right: 1px solid grey;
}

footer {
  text-align: right;
  font-size: 0.8rem;
}

/* Button stuff */
button {
  --primary-color: #9E7676;
  --primary-hover: #815B5B;
  --text-color: #fff;

  background-color: var(--primary-color);
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

button:focus-visible {
  outline: 2px solid rgba(79, 70, 229, 0.4);
  outline-offset: 2px;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 20rem;
  max-width: 100%;
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid #594545;
  border-radius: 0.4rem;
}

/* Hamburger button and menu */
header {
  display: flex;
  justify-content: space-between;
}

.navbar {
  /* cursor: pointer; */
}

.site-navbar-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


#site-navbar {
  display: flex;
}

.menu-toggle {
  display: none;
}

.menu-toggle::before {
  content: "\2630";
}

.menu-toggle.show::before {
  content: "\2715";
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    font-size: 1.4rem;
    width: 3.6rem;
    justify-content: center;
    align-items: center;
  }

  #site-navbar {
    display: none;
  }

  #site-navbar.show {
    display: block;
  }
}

