
@import url('https://fonts.googleapis.com/css2?family=Gaegu&display=swap');

/* STYLE SECTIONING TAGS */
body {
  font-family: 'Gaegu', cursive;
  background-color: #f5f1e6;
  margin: 0;
  padding: 0;
  color: #3b3a36;
}



.banner {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  text-align: center; 
}

.banner img {
  width: 95%;
  display: block;
  object-fit: cover;
  padding-left: 2.3em;
  padding-top: 2.3em;
  padding-bottom: 2.3em
 
}


back-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 15px;
  background: #c8d5b9;
  color: #3e2223;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.back-btn:hover {
  background: #a4b494;
}

/*FOOTER*/   
footer {
  text-align: center;
  padding: 15px;
  background-color:#e6e0d4;
  border-top: 4px solid #dcd7c9;
  border-bottom: 4px solid #dcd7c9;
  font-size: 0.9em;
  color: #3e2223;
  font-weight: bold;
}




.caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rbga(60,70,60,0.6);
  color: #fffdf8;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1.2em;
  font-style: italic;
}




/*HEADER*/  
header {
  background: #e6e0d4;
  padding: 15px 40px;
  border-bottom: 4px solid #c9c5b9;
  
}

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


.tagline {
  text-align: center;
  font-style: italic;
  color: #7a8f73;
  margin-top: 8px;
}

.bottom-text {
  text-align: center;
  color: #7a8f73;
  margin-top: 8px;
  padding-bottom: 2em;
  padding-left: 10em;
  padding-right: 10em;
}

.sub-bottom-text {
  text-align: left;
  color: #3e2223;
  font-size: 1em;
  margin-top: 0.5em;
  padding-right: 20em;
  padding-left: 4em;
}

.bottom-section-logo {
  height: 250px;
  width: auto;
  padding-left: 45em;
  margin-top: -9em;
  padding-bottom: 2em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 75px;
  margin: 0;
  padding-right: 5em;
}

nav ul li a {
  text-decoration: none;
  color: #3e2223;
  font-weight: bold;
  font-size: 1.9em;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #7a8f73;
}


.button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* always 2 side by side */
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  margin-top: -1em;
  padding-bottom: 5em;
}

.bottom-section {
  padding: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fffdf8;
  border: 4px solid #dcd7c9;
  border-radius: 12px;
  color: #3e2223;
  font-weight: bold;
  font-size: 1.3em;
  margin-bottom: 2em;
  margin-left: 1.8em;
  margin-right: 1.8em;
}

.recipe-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fffdf8;
  border: 4px solid #dcd7c9;
  border-radius: 12px;
  text-decoration: none;
  color: #7a8f73;
  font-weight: bold;
  font-size: 1.3em;
  padding: 20px;
  transition: transform 0.2s ease, background 0.3s ease;
}

.recipe-btn img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;

}

.recipe-btn:hover {
  background: #dcd7c9;
  color: #fff;
  transform: scale (1.05);
}

/*LOGO*/   
.logo {
  height: 85px;
  width: auto;
  padding-left: 3.5em;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/*BANNER*/   
.banner-container {
  position: relative;
  text-align: center;
  color: #fff;
  padding-top: 2em;
  overflow: hidden;
}

.banner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.page-title {
  text-align: center;
  color: #3e2223;
  margin-top: 40px;
  font-size: 2.5em;
}

.subtitle {
  text-align: center;
  color: #3e2223;
  margin-top: -20px;
  font-size: 1.2em;
  padding-left: 10em;
  padding-right: 10em;
  padding-bottom: 0.5em;
  
}

.recipe-title {
  text-align: left;
  color: #3e2223;
  margin-top: 40px;
  font-size: 2.5em;
  padding-top: 1em;
  padding-left: 3em;
}

.recipe-subtitle {
  text-align: left;
  color: #3e2223;
  margin-top: -20px;
  font-size: 1.2em;
  padding-left: 6.5em;
  padding-bottom: 0.5em;
  padding-right: 10em;
}

.ingredient-title {
  text-align: left;
  color: #7a8f73;
  margin-top: 40px;
  font-size: 1.5em;
  padding-left: 5em;
  text-decoration: underline;
}

.ingredient-list {
  text-align: left;
  color: #3e2223;
  font-size: 1.2em;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.ingredient-list li {
  padding-left: 5em;
  margin-bottom: 0.4em;
  font-weight: bold;
}

.ingredient-list li::before {
  content: "•";
  color: #7a8f73;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  padding-left: 1em;
  
}

.recipe-bottom-section {
  padding: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fffdf8;
  border: 4px solid #dcd7c9;
  border-radius: 12px;
  color: #3e2223;
  font-weight: bold;
  font-size: 1.3em;
  margin-bottom: 5em;
  margin-top: 3em;
  margin-left: 1.8em;
  margin-right: 1.8em;
}

.recipe-bottom-text {
  text-align: left;
  color: #7a8f73;
  margin-top: 8px;
  padding-bottom: 2em;
  padding-right: 35em;

}

.recipe-list {
  text-align: left;
  color: #3e2223;
  font-size: 1em;
  list-style-type: none;
  margin-top: -2em;
  padding-right: 2em;
  line-height: 1.5em;
}

.recipe-image {
  width: 40em;
  height: 30em;
  position:absolute;
  right: 8em;
  margin-top: -32em;
  overflow: hidden;
  border: 4px solid #dcd7c9;
  border-radius: 12px;
}

.recipe-image img {
  width: 110%;
  height: 150%;

}


.description-section {
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fffdf8;
    border: 4px solid #dcd7c9;
    border-radius: 12px;
    color: #3e2223;
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 5em;
    margin-top: 3em;
    margin-left: 1.8em;
    margin-right: 1.8em;
}
.description-title {
  text-align: left;
  color: #3e2223;
  font-size: 2em;
  padding-right:24em;
}

.description-subtitle {
  text-align: left;
  color: #3e2223;
  margin-top: -20px;
  font-size: 1.1em;
  padding-bottom: 0.5em;
  padding-right: 25em;
  padding-left:3em;
}

.bakesale {
  width: 25%;
  height: 35%;
  object-fit: cover;
  border-radius: 10px;
  border: 4px solid #dcd7c9;
  position: absolute;
  right: 8em;
  top: 14.5em; 
}

.instagram-post {
  width: 23%;
  height: 33%;
  object-fit: cover;
  border-radius: 10px;
  border: 4px solid #dcd7c9;
  position: absolute;
  right: 8em;
  top: 46.4em; 
}
