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

:root {
  --primary: #A8C686;
  --secondary: #FFF9F0;
  --accent1: #E2725B;
  --accent2: #444444;
}

body {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--accent2);
  background-color: var(--secondary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--primary);
  border-bottom: 1px solid #ccc;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
}

.logo-bottom {
  height: 50px;
  margin-right: 1rem;
}

nav {
  flex: 1;
}

.nav-links {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  flex: 1;
  text-align: center;
  border-left: 1px solid black;
}

.nav-links li:first-child {
  border-left: none;
}

.nav-links li a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--accent2);
  font-weight: 500;
  transition: .2s ease-in-out;
}

.nav-links li a:hover {
  background: var(--secondary);
  color: var(--accent1);
  border-radius: 20px;
}

button {
  border-radius: 999px;
  font-family: 'Quicksand', sans-serif;
}

.auth-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-outline {
  background: var(--accent1);
  border: transparent;
  color: white;
  padding: 0.4rem 1rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent1);
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  cursor: pointer;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--secondary);
  border-bottom: 1px solid #ccc;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent2);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.latest-recipes {
  padding: 2rem;
  background: var(--secondary);
  border-bottom: 1px solid #ccc;

}

.latest-recipes h2 {
  margin-top: 40px;
  margin-bottom: 1rem;
  color: var(--accent2);
}

.recipe-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 2rem;
  padding: 1rem;
}

.recipe-card {
  display: block;
  width: 300px;
  padding: 1rem;
  text-align: left;
  text-decoration: none; 
  color: inherit; 
  transition: transform 0.2s ease;
}

.recipe-card:hover {
  transform: scale(1.05); 
}

.recipe-card img {
  width: 100%;
  aspect-ratio: 1 / 1;  
  object-fit: cover;  
  margin-bottom: 0.5rem;
  display: block;
  border: 2px solid #ccc;
}

.culture {
  padding: 2rem;
  text-align: center;
  background-color: var(--secondary);
  margin-top: 40px;
  margin-bottom: 40px;
}

.culture h2 {
  color: var(--accent2);
  text-align: left;
  margin-bottom: 40px;
}

.culture-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.culture-buttons button {
  background: var(--accent1);
  color: white;
  border: none;
  padding: 0.6rem 2rem;
  border-radius: 20px;
  cursor: pointer;
}

.recipe-tag {
  margin: 2rem;
}

.recipe-tag tags {
  display: flex;
  margin: .5rem 0;
}

.recipe-tag tags p {
  padding: .4rem;
  border-right: 1px solid var(--accent2);
}

.recipe-tag tags p:last-child {
  border-right: none;
}

.recipe-ingredients {
  margin: 2rem;
}

.ingredients {
  margin: 0 1rem;
}

.video-tutorial {
  margin: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-tutorial h2 {
  align-self: flex-start;
}

.video-tutorial iframe {
  width: 40%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 5px;
}

.instructions {
  margin: 2rem;
}

.instructions ol {
  margin: 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.final-result {
  margin: 2rem;
}

.final-result img {
  display: block;
  margin: 0 auto;
  width: 30%;
  height: auto;
  border-radius: 8px;
}

footer {
  display: flex;
  text-align: center;
  align-items: center;
  padding: 1rem;
  background: var(--primary);
  color: white;
  text-align: left;
  border-top: 1px solid #ccc;
}
