body {
  background-color: #e9dccd;
  color: #4d4d4d;
  font-family: "Akaya Kanadaka", system-ui;
  font-weight: 400;
  font-style: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0px;
  text-align: center;
  overflow: hidden;
}

a {
  color: #7a6241;
  text-decoration: none;
}

#top_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

#menu_button,
#profile_button {
  background-color: #bfa98f; /* lighter brown */
  border: 2px solid #a38665;
  border-radius: 8px;
  padding: 0.5rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#menu_button:active,
#profile_button:active {
  background-color: #a38665;
  border-color: #7a6241;
}

#menu_icon,
#profile_icon {
  width: 30px;
  height: 30px;
  padding: 4px 6px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown_menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #4d4d4d;
  border-radius: 8px;
  padding: 10px;
  margin-top: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  min-width: 150px;
  z-index: 100;
}

.dropdown_box {
  background-color: #bfa98f;
  color: #4d4d4d;
  padding: 8px;
  margin-bottom: 5px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  display: block;
}

.dropdown_box:hover {
  background-color: #a38665;
  color: whitesmoke;
}

#container {
  display: flex;
  flex-direction: column;
  background-color: burlywood;
  padding: 0px 1rem;
  border-radius: 10px;
  border: 2px solid #d6a374;
  width: 330px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 0px;
  height: 685px;
  padding-bottom: 20px;
}

#search_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-content: center;
}

#search {
  border: 2px solid #5c4033;
  background-color: #fffaf0;
  color: #4d4d4d;
  padding: 10px;
  margin: 0px;
  border-radius: 6px 0px 0px 6px;
  font-family: "Akaya Kanadaka", system-ui;
  font-size: 14px;
  outline: none;
}

#search::placeholder {
  color: #a38665;
}

#search_button {
  all: unset;
  cursor: pointer;
  color: whitesmoke;
  background-color: rgb(149, 81, 81);
  border: 2px solid #5c4033;
  border-radius: 0px 6px 6px 0px;
  padding: 10px;
  margin: 0px;
  font-size: 18px;
}

#search_button:hover {
  background-color: #bfa98f;
  color: #4d4d4d;
}

#filter_button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: #e2c8a2;
  color: #4d4d4d;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

#filter_button:hover {
  background-color: #d6b88f;
}

#filter_button:active {
  background-color: #caa97e;
  transform: scale(0.98);
}

#filter_icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

#box_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  overflow-y: scroll;
  height: 620px;
  background-color: rgb(149, 81, 81);
  border-color: #5c4033;
  border-width: 5px;
  border-style: solid;
  border-radius: 10px;
  margin-top: 20px;
}

.box {
  width: 150px;
  height: 300px;
  background-color: #bfa98f;
  border: 2px solid #7a6241;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  transition: background-color 0.24s ease, color 0.24s ease;
  overflow-y: auto;
  padding: 20px;
}

.box:hover {
  background-color: #a38665;
  color: whitesmoke;
  cursor: pointer;
}

.box:hover p {
  color: whitesmoke;
}
.food_image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.food_name {
  font-size: 20px;
  font-weight: bold;
  margin: 0.3rem 0 0.2rem 0;
  text-align: center;
}

.food_time {
  font-size: 12px;
  color: #6b5e3c;
  margin: 0 0 0.5rem 0;
  text-align: center;
  font-style: italic;
}

.food_description {
  font-size: 10px;
  line-height: 1.3;
  color: #4d4d4d;
  text-align: center;
  margin: 0;
  max-height: 6em;
  overflow-y: auto;
  text-overflow: unset;
}

.food_about {
  text-align: center;
  font-size: 8px;
  margin-bottom: 0px;
}

/* SIGN_IN CSS */

#sign_in_container,
#sign_up_container,
#settings_container,
#food_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgb(149, 81, 81);
  border-color: #5c4033;
  border-width: 5px;
  border-style: solid;
  border-radius: 10px;
  padding: 20px;
  padding-top: 0px;
  padding-bottom: 0px;
}

#sign_in_text,
#sign_up_text,
#settings_text {
  color: whitesmoke;
  font-family: "Akaya Kanadaka", system-ui;
}

#email,
#password,
#username,
#confirm_password {
  border-style: solid;
  border-width: 2px;
  border-color: burlywood;
  background-color: #fffaf0;
  color: #4d4d4d;
  padding: 10px;
  margin: 0px 0 10px 0;
  border-radius: 6px;
  font-family: "Akaya Kanadaka", system-ui;
  font-size: 14px;
  width: 250px;
}

#email::placeholder,
#password::placeholder,
#username::placeholder,
#confirm_password::placeholder {
  color: #a38665;
}

#sign_in_button,
#sign_up_button {
  background-color: #a38665; /* warm brown */
  color: whitesmoke;
  border: 2px solid #7a6241; /* darker brown border */
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-family: "Akaya Kanadaka";
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-bottom: 10px;
}

#sign_in_button:hover,
#sign_up_button:hover {
  background-color: #7a6241;
  transform: translateY(-2px);
}

#sign_in_button:active,
#sign_up_button:active {
  background-color: #5c4b2e;
  transform: scale(0.98);
}

.food_thumbnail {
  width: 200px;
  border-radius: 10px;
}

#spacing {
  width: 0px;
  height: 50px;
}

#food_container {
  overflow-y: scroll;
  height: 100vh;
  padding-top: 550px;
}

#my_creations_header {
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: center;
  align-items: center;
  margin: none;
}

#my_creations_text {
  display: inline-flex;
  font-size: 40px;
}

#plus_icon {
  display: inline;
  width: 50px;
  height: 50px;
}

#my_creations_button {
  width: 51px;
  height: 51px;
  background: none;
  border: none;
  padding: 0px;
  margin: 0px;
  background-color: #4d4d4d;
  border-radius: 40px;
}

#my_creations_button:active {
  background-color: #5c4b2e;
}

.line {
  background: whitesmoke;
  background-color: whitesmoke;
  height: 1px;
  width: 300px;
  border: solid whitesmoke 2px;
  border-radius: 3px;
}
