* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: white;
  font-family: "Times New Roman", Times, serif;
}

/* Navigation start */
nav {
  width: 100%;
  height: auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  /* font-size: 1.1rem; */
  margin-right: 1rem;
}
.top-nav a:hover {
  color: blueviolet;
}

#logo {
  width: 100px;
  height: auto;
  margin-bottom: 1.5rem;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding-right: 0.5rem;
  /* padding: 0.5rem; */
  border-bottom: 2px solid rgb(12, 11, 11);
  border-top: 2px solid black;
  /* margin-bottom: 1rem; */
  flex-wrap: wrap;
}

.nav-menu a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  /* font-size: 1.1rem; */
}

.nav-menu a:hover {
  background-color: blueviolet;
}

/* Navigation end */

/* Grid start */

.recipes-grid {
  width: 90%;
  height: auto;
  max-width: 1200px;
  padding: 1rem;
  display: grid;
  margin: 2rem auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.menu-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item {
  position: relative;
  max-width: 500px;
  max-height: 300px;
  box-shadow: 0px 0px 2px 2px #888888;
}

.menu-item p {
  position: absolute;
  bottom: 0;
  left: 0;
  font-weight: bold;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  text-align: center;
  padding: 1.2rem 0;
  font-size: 1.2rem;
}

/* Grid End */

/* Recipe of the month page */
li {
  margin-left: 3rem;
}

.layout-intro {
  width: 80%;
  height: auto;
  margin: 2rem auto;
}

.recipe-month {
  display: flex;
  justify-content: center;
  align-content: center;
  margin-left: 2rem;
}

.introduction-text {
  width: 50%;
  height: auto;
}

.introduction-text h1 {
  font-size: 3rem;
}

.introduction-text p {
  font-size: 1.3rem;
  font-style: italic;
  padding: 2rem 0;
}

.intro-image {
  width: 50%;
}

.intro-image img {
  width: 80%;
  height: auto;
}

.info-form {
  width: 90%;
  height: auto;
  margin: 0 2rem;
  padding: 2rem 5rem;
  font-size: 1.3rem;
  line-height: 3rem;
}

.guest-list-form {
  background-color: aquamarine;
  border: 2px solid wheat;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 0.4rem;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
}

#submit {
  font-size: 1.2rem;
  color: black;
  font-weight: bold;
  padding: 0.2rem;
}

#submit:hover {
  background-color: blueviolet;
}

#paragraph-image {
  width: 50%;
  height: auto;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-content: center;
}

@media (max-width: 1200px) {
  .recipe-month {
    flex-direction: column-reverse;
  }
  .layout-intro {
    width: 100%;
    margin-left: 4rem;
  }
}

/* Recipe of the month end */

/* Footer start */
footer {
  background-color: black;
  color: white;
  font-size: 1rem;
  font-weight: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

footer p {
  text-align: center;
  padding: 1rem 0;
}

/* .footer-menu {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 1rem 0;
}

.footer-menu a {
  text-decoration: none;
  color: white;
} */

.footer_links {
  display: flex;
  justify-content: space-between;
  width: 50%;
  /* padding: 1rem 0.3rem; */
}
.footer_links span {
  margin-right: 0.5rem;
}
.footer_link {
  color: white;
  text-decoration: none;
}
.social-icons a {
  color: white;
  font-size: 1.2rem;
}
.social-icons {
  text-align: center;
  margin-top: 0.5rem;
  word-spacing: 1rem;
}

/* Footer end */

/* Media start */

/* Mobile version */
@media (max-width: 650px) {
  .footer_links {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .recipes-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet version */
@media (min-width: 481px) and (max-width: 1024px) {
  .recipes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Media end */
