@charset "UTF-8";
/* CSS Document */
body {
    font-family: "Macondo", cursive;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    background-color: #B89D7E;
    color: #3E3E3E;
}

.container {
    width: 80%;
    margin: 0 auto;
}

header {
    font-family: "Macondo", cursive;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    padding: 20px 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #3E3E3E;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #555;
}

nav ul li a:focus {
    color: white;
}

.hero {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.hero img {
    width: 40%;
    height: auto;
    border-radius: 10px;
    margin-right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-text {
    font-family: "Bungee", sans-serif;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 55%;
}

.hero-text h1 {
    margin: 0;
    margin-bottom: 20px;
}

.hero-text .button {
    padding: 5px 10px;
    font-size: 0.8em;
    background-color: #3E3E3E;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.hero-text .button:hover {
    background-color: #555;
    transform: scale(1.05);
}

.ingredients, .instructions, .comments {
    background-color: #D5BA9C;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    clear: both; /* Ensure sections start on a new line */
}

.ingredients h2, .instructions h2, .comments h2 {
    font-family: "Bungee", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

.ingredient-lists {
    display: flex;
    justify-content: space-between;
}

.ingredient-list {
    width: 45%;
}

.ingredient-list h3 {
    font-family: "Bungee", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: left;
}

.ingredient-list table {
    width: 100%;
    border-collapse: collapse;
}

.ingredient-list table, .ingredient-list th, .ingredient-list td {
    border: 1px solid #3E3E3E;
}

.ingredient-list th, .ingredient-list td {
    padding: 10px;
    text-align: center;
}

.instruction-step {
    margin-bottom: 20px;
}

.instruction-step h3 {
    font-family: "Bungee", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: left;
}

.comments form {
    display: flex;
    flex-direction: column;
}

.comments label {
    margin-bottom: 5px;
    font-weight: bold;
}

.comments input, .comments textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #3E3E3E;
    border-radius: 5px;
}

.comments button {
    padding: 10px 20px;
    font-size: 1em;
    background-color: #3E3E3E;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.comments button:hover {
    background-color: #555;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}
