
nav, header {
  text-align: center;
  position: sticky;
  top: 0px;
  padding: 1%;
  background-color: WHITE;
}

h1 {
  font-size: xx-large;
  display: inline-block;
  text-align: center;
  width: 100%;
  text-decoration: none;
  color: #360909;
}

nav li, button, select, option {
  display: inline-flex;
  font-size: 16px;
  padding: 5px;
  margin: 5px;
  width: 140px;
  background-color: WHITE;
  border: 2px solid #FFA166;
  
}

nav li:hover,
button:hover {
  background-color: #FFF6DF;
  cursor: pointer;
}

input {
  border-color: #FFF6DF;
  font-size: 16px;
  padding: 5px;
  margin: 5px;
}

input:hover {
  border-color: #FFE090;
}

nav a {
  display: inline-block;
  text-align: center;
  width: 100%;
  text-decoration: none;
  color: #360909;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: #FF7D90;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.recipe-input, .weekplaner-input {
  text-align: center;
  top: 0px;
  padding: 1%;
}

.container img {
  margin: auto;
  display: block;
  max-width: 80%;
  height: auto;
  text-align: center;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 10px;
  color: #f9f9f9;
}

.centered h1 {
  color: #f9f9f9;
}

.centered a {
  color: #f9f9f9;
}

.bookmark {
  width: 40px;
  height: auto;
  margin-bottom: 100px;
  cursor: pointer;
}

.recipe-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.recipe-box {
  background-color: #FFC3C3;
  border: 2px solid #FF4646;
  padding: 10px;
  width: 260px;
  margin: 20px;
}

.recipe-box h1 {
  font-size: 24px;
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.preview {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.recipe-box ul {
  list-style-type: none;
  padding: 0;
}

.recipe-box li {
  margin-bottom: 5px;
}

#food-schedule {
  width: 80%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-left: 10%;
}

#food-schedule th,
#food-schedule td {
  padding: 10px;
  text-align: center;
  height: 30px;
  border: 2px solid #FF6A3C;
  background-color: white;
  font-weight: bold;
  color: #360909;
}

#food-schedule tbody td:not(:first-child) {
  background-color: #ddd;
  font-weight: bold;
  color: #360909;
  cursor: pointer;
}

#food-schedule tbody td:not(:first-child):hover {
  font-weight: bold;
  color: #360909;
  background-color: #ccc;
}

.add-recipe {
  width: 100%;
}

.dialog, #ingredient-list, #recipe-details {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  padding: 20px;
  background-color: #f9f9f9;
  left: 40%;
  margin: 5px;
  border: 2px solid #FFA166;
}