@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Indie+Flower&family=Poppins:wght@100;400&display=swap");

* {
  box-sizing: border-box;
}
body {
  color: seashell;
  text-align: center;
  font-family: poppins;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  background-color: #333;
}
.meal-container {
  width: 100%;

  margin: 0 auto;
}

.meal-img-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.meal-img-container img {
  margin: 50px 10px 0 5px;
  width: 100%;
  max-width: 200px;
  border: 3px solid seashell;
  cursor: pointer;
}

button {
  cursor: pointer;
  border-radius: 5px;
  outline: none;
  border: none;
  padding: 6px;
}
input {
  border-radius: 20px;
  border: 0;
  text-align: center;
  width: 260px;
  padding: 7px;
  margin: 5px auto;
}
input:focus {
  outline: none;
}
button:active {
  transform: scale(0.94);
}
.meal-box {
  /* height: 200px; */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.meal-name {
  text-align: center;
  position: absolute;
  width: 93%;
  top: 70px;
  background-color: rgba(0, 0, 0, 0.6);
  color: rgb(247, 204, 204);
  font-size: 20px;
}
.meal-name:hover {
  color: white;
  cursor: pointer;
}

.single-meal {
  margin: 30px auto;
  width: 70%;
}
.single-meal img {
  width: 300px;
  margin: 15px;
  border: 4px solid #fff;
  border-radius: 2px;
}

.single-meal-info {
  max-width: 400px;
  margin: 15px auto;
  padding: 15px;
  border: 2px #e09850 dashed;
  border-radius: 5px;
}
.single-meal p {
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.single-meal ul {
  padding-left: 0;
  list-style-type: none;
}

.single-meal ul li {
  border: 1px solid #ededed;
  border-radius: 5px;
  background-color: #fff;
  display: inline-block;
  color: #2d2013;
  font-size: 12px;
  font-weight: bold;
  padding: 5px;
  margin: 0 5px 5px 0;
}
#submenu {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 55vw;
}
.submenu li {
  list-style-type: none;
  text-align: center;
  border: 2px solid #e09850;
  margin: 7px;
  padding: 6px;
}
.submenu li:hover {
  background-color: saddlebrown;
  cursor: pointer;
}
.submenu li:active {
  transform: scale(0.95);
}
.dropdown {
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
@media (max-width: 360px) {
  .single-meal img {
    width: 100%;
    max-width: 230px;
    margin: 0px;
  }
  .meal-img-container img {
    max-width: 270px;
    margin: 5px auto;
  }
  .meal-name {
    width: 100%;
    max-width: 400px;
  }
  .single-meal {
    width: 85%;
  }
  #submenu {
    max-width: 90vw;
    margin: 5px auto;
  }
}
