/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

.header-foot {
    width: 0 auto;
    border-radius: 8px;
    text-align: left;
    padding: 4px 0px 0px 8px;
    line-height: 2.5;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #ec9215;
    margin-bottom: 12px;
    border-radius: 8px;
}

section-step {
    margin: 8px;
    background-color: #496c49;
}

section-step, .vocabulary-section, .conversation-section, .practice-section, .new-words-section, .after-read-section, .exercise-section, .grammar-presentation-section {
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Ensure that sections have some space between them */
.vocabulary-section, .conversation-section, .practice-section, .new-words-section {
    margin-bottom: 40px;
}

/* Flexbox layout for images in the vocabulary section */
.images {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

h1, h2, h3, h4, h5 {
    color: #006400;
}

h1, h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.header-subtext {
    font-size: 28px;
    color: rgb(41, 42, 39);
}

h3 {
    text-align: left;
    font-size: 1.5rem;
    margin-top: 10px;
    background-color: #6fa46f;
    width: 40%;
}


h4, h5 {
    font-size: 1.2rem;
    color: #d52b1e; /* Red color */
}

h4 {
    margin-bottom: 15px;
}

h5 {
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
}

.table1 {
    width: auto;
    box-sizing: border-box;
}


.table2, .table3 {
    width: auto;
}

/* Style buttons consistently */
button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #218838;
}

ul {
    padding-left: 20px;
}

ol {
    padding-left: 20px;
}

.feedback {
    margin-top: 20px;
    color: red;
}


.vocabulary-section, .practice-section, .after-read-section, .grammar-presentation-section, .exercise-section {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Image Container */



/* .images {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.oven {
    display: flex;
    flex-direction: column;
} */

.images .oven {
    text-align: center;
    margin-bottom: 20px;
}

.images img {
    border: 1px solid #ccc;
    padding: 5px;
    width: 120px;
    height: auto;
}

input[type="text"] {
    padding: 8px;
    margin-left: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-width: 100%;
}
/* classroom image 1-3 */
.image-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
}

.exercise-image {
    width: 100%;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.image-labels .label {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 0.9rem;
}

form {
    margin-top: 20px;
}

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

body {
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f0f0f0;
}

.exercise-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.exercise-form {
    width: auto;

}

#item_banana, #item_stove, #item_orange, #item_egg, #item_pineapple, #item_counter, #item_apple, #item_muffin {
    max-width: fit-content;
}

#q1, #q2, #q3, #q4, #q5, #q6, #q7, #q8 {
    max-width: fit-content;
}

.exercise3images {
    width: 900px;
    display: flex;
    justify-content: space-evenly;
    align-items: baseline;
    margin: 0 auto;
    padding-bottom: .5em;
}

#item1, #item2, #item3, #item4,#item5, #item6, #item7, #input1, #input2, #input3 {
    max-width: fit-content;
}



h2, h3 {
    color: #333;
}

p {
    margin-bottom: 15px;
}

ol {
    margin: 20px 0;
    padding-left: 20px;
}

li {
    margin-bottom: 15px;
}

input[type="text"] {
    width: 50px;
    padding: 5px;
    margin-right: 10px;
    font-size: 16px;
}

button {
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

/* exercise 8 and image */
.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    color: green;
    text-align: center;
    margin-bottom: 20px;
}

.exercise {
    
    margin-bottom: 30px;
}

h3 {
    color: darkred;
    margin-bottom: 10px;
}

.task {
   
    margin-bottom: 20px;
}

.checkbox-list {
    list-style: none;
    padding-left: 20px;
}

.checkbox-list li {
    margin-bottom: 10px;
}

.input-blank {
    width: 100px;
    padding: 5px;
    margin: 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.image-section {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.placeholder-image {
    max-width: 400px;
    border: 2px solid #ccc;
    border-radius: 8px;
}

button {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #006400;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #004d00;
}

/* Feedback message */
.feedback {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

/* Comprehension section */
ul, ol {
    margin-left: 20px;
}


/* Table for Grammar Presentation */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 8px;
    text-align: left;
}

button {
    padding: 10px 15px;
    background-color: #006400;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #004d00;
}

.feedback {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

/* Discover the Grammar List */
ul {
    list-style-type: none;
}

/* grammar to writing section */
.grammartowriting {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.grammar {
    border-radius: 3px;
    width: auto;
    padding: 15px;
}

/* exericse 9 and 10 */

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    background-color: #f4f4f4;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h2 {
    margin-bottom: 15px;
    color: #333;
}

p, li {
    margin-bottom: 10px;
}

ol {
    margin: 20px 0;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #218838;
}

/* unit 2 review */
.unit2-review {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
}

h2, h3 {
    color: #333;
}

p {
    margin-bottom: 15px;
}

form {
    margin-bottom: 20px;
}

input[type="text"] {
    padding: 5px;
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

.shopping-list {
    max-width: fit-content;
    padding: 12px;
}

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

.shopping-list ul li {
    background-color: #efefef;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 3px;
    font-weight: bold;
}


/* media queries */
/* Media query for responsive layout */
@media (max-width: 768px) {
    .images {
        flex-direction: column;
        align-items: center;
    }

    .images .oven {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    body {
        margin: 10px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2, h3 {
        font-size: 1.2rem;
    }

    .images img {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100px;
    }

    button {
        width: 100%;
    }

    input[type="text"] {
        width: 90%;
    }
}