@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;1,100;1,300;1,400;1,500&display=swap");
:root {
  --footer-background-color: #a0a0a0;
}
html,
body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 24px;
}
* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

.upper-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 5px;
  align-items: center;
  background-color: var(--footer-background-color);
}
.logo img {
  width: 200px;
}

.search {
  display: flex;
}
.search input {
  width: 500px;
  border: 0.5px solid gainsboro;
  padding: 5px 10px;
  transition: 0.2s;
}
.search button {
  width: 80px;
  border: none;
  padding: 5px;
  transition: 0.2s;
}
.search button:hover {
  font-size: 26px;
}

.things i {
  width: 25px;
  height: 25px;
}

@media screen and (max-width: 900px) {
  .search input {
    max-width: 200px;
    transition: 0.3s;
  }
}

@media screen and (max-width: 500px) {
  .search input {
    max-width: 80px;
    transition: 0.2s;
  }
}

/* footer css */
/* footer css */

footer {
  width: 100vw;
  height: 17rem;
  background-color: var(--footer-background-color);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 4rem;
}

.footer-left {
  width: 20rem;
  height: 10rem;
  /* border: 1px solid white; */
}

.footer-left h3 {
  color: black;
  font-size: 2rem;
  letter-spacing: 0.1rem;
  margin-bottom: 0.5rem;
}

.footer-company-copyright {
  font-size: 0.9rem;
}

.footer-right {
  width: 20rem;
  height: 13rem;
  /* border: 1px solid white; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #404040;
}

.footer-right h4 {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: #404040;
}

.footer-company-about {
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.3rem;
  color: #404040;
}

@media (max-width: 760px) {
  footer {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    width: 100vw;
    height: 30rem;
    align-items: center;
    justify-content: space-around;
  }

  .footer-left {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .footer-right {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-company-about {
    width: 18rem;
    text-align: center;
  }
}

/* this css is sbout the container the thing btw header and footer */
.container {
  min-height: 100%;
  transition: 0.3s;
  max-width: 1200px;
  margin: auto;
  padding: 0px 20px;
  display: flex;
  gap: 30px;
}
table {
  background-color: #abe27e;
  width: 40px;
  padding: 20px;
}
/* CSS for recipe details */
#recipe-details {
  color: #000000;
  padding: 20px;
  border-radius: 5px;
  margin-top: 20px;
  transition: 0.5s;
}

#recipe-details h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}

#recipe-details strong {
  font-weight: bold;
}

#recipe-details ul {
  list-style-type: disc;
  margin-left: 20px;
}

#recipe-details p {
  margin-bottom: 10px;
}

h2 {
  text-align: center;
  padding: 30px;
  border-bottom: 1px solid black;
}
