@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: beige;
  font-family: "Poppins", sans-serif;
}
img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* navbar starts */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: chocolate;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  list-style: none;
}

.nav-links :hover {
  color: lightgreen;
}
/* navbar ends */

/* food section starts */
.food-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  gap: 1.5rem;
  margin: 2rem auto;
}

.food {
  text-align: center;
  position: relative;
}
.food p {
  position: absolute;
  bottom: 0;

  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 20px;
  width: 100%;
  height: 15%;
  padding: 1.5rem;
  font-weight: bold;
}

.food1 img {
  height: 100%;
}

.food3 img {
  height: 100%;
}

.food4 img {
  height: 100%;
}

.food5 img {
  height: 100%;
}

.food7 img {
  height: 100%;
}

.food8 img {
  height: 100%;
}

/* food section ends */

/* footer section starts */

.social-icons a {
  background-color: black;
  color: white;
}
.footer {
  background-color: black;
  text-align: center;
  color: white;
  padding: 1.5rem;
}
/* footer section end */

@media (max-width: 768px) .food-container {
  grid-template-columns: 1fr;
}
