body {
  font-family: "Century Gothic", "Segoe UI", sans-serif;
}

* {
  font-family: "Century Gothic", "Segoe UI", sans-serif;
}

header {
  background-color: #444;
  color: white;
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 1.2em;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
  z-index: 9999;
  padding: 10px;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
}

nav ul li {
  cursor: pointer;
  position: relative;
}

#meals-button {
  background: #444;
  color: white;
  border: none;
  padding: 0;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1em;
  line-height: 1.2;
  display: inline-block;
  vertical-align: middle;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  color: #444;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1002;
  min-width: 150px;
  flex-direction: column;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown {
  position: relative;
  z-index: 1001;
}

section {
  display: none;
  padding: 20px;
}

#home {
  display: block;
}

.thumb {
  width: 160px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
}

.recipe {
  border: 1px solid #ddd;
  padding: 10px;
  margin: 10px 0;
  border-radius: 10px;
  background-color: #fefefe;
  max-width: 300px;
}

.day-block {
  border: 1px solid #ccc;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: #f9f9f9;
}

#meal-popup {
  display: none;
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 20px;
  border: 2px solid #ccc;
  border-radius: 12px;
  z-index: 9999;
  width: 320px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.meal-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 5px;
  vertical-align: middle;
  cursor: pointer;
}

.meal-thumb:hover {
  transform: scale(1.1);
  transition: transform 0.2s;
}

.dropdown-content button {
  display: block;
  background: none;
  border: none;
  color: #444;
  text-align: left;
  padding: 8px 10px;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  font-size: 1em;
}

@media (max-width: 600px) {
  .bottom-nav {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #444;
    padding: 10px 0;
    z-index: 10000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  }

  .bottom-nav button {
    background: none;
    border: none;
    color: white;
    font-size: 0.9em;
    font-family: inherit;
    cursor: pointer;
  }

  header nav,
  .hamburger {
    display: none !important;
  }

  main {
    padding-bottom: 60px;
  }
}


@media (max-width: 480px) {
  #recipe-detail {
    font-size: 0.95em;
    padding: 10px;
  }

  .thumb,
  .meal-thumb {
    width: 100%;
    height: auto;
  }

  nav ul {
    font-size: 1em;
  }
}

@media (min-width: 601px) {
  .bottom-nav {
    display: none !important;
  }
}