body {
  margin: 0;
  padding: 0rem 1rem;
  background-color: DeepSkyBlue;
  background-image: linear-gradient(white, DeepSkyBlue);
  color: midnightblue;
  min-height: 100vh;
  grid-template-rows: 1fr 8em;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

.az-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.az-nav li {
  flex: 1 0 auto;
  text-align: center;
}
.az-nav li a {
  text-decoration: none;
  color: inherit;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.az-nav a {
  display: inline-block;
  padding: 8px 12px;
  margin: 2px;
  border-radius: 8px;
  color: #666;
}

.az-nav a:hover,
.az-nav a.active {
  background: rgba(255, 255, 255, 0.8);
  color: #2c3e50;
}

.recipe-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 20px auto;
}

.recipe-item {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.recipe-title {
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  color: midnightblue;
  display: block;
  margin-bottom: 10px;
}

.recipe-title:hover {
  color: darkblue;
}

.recipe-details {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background-color: rgba(240, 248, 255, 0.9);
  border-radius: 5px;
}

.recipe-details h3 {
  margin-top: 0;
  color: darkblue;
}

.recipe-actions {
  margin-top: 10px;
  font-size: 0.9em;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  margin: 0 4px;
  color: #666;
}

.recipe-actions a:hover {
  background: rgb(212, 235, 249);
  color: #2c3e50;
}

h1 a {
  color: #2c3e50;
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h1 a:hover {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

.header-actions { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; margin: 1em 0;
}

.header-actions a { 
  text-decoration: none; 
  color: inherit; 
}