main {
            padding: 20px; /* Add some padding around the main content */
        }

.image-container {
                display: flex;
                justify-content: center;
                align-items: center;
                margin-top: 15px;
                margin-bottom: 15px;
            }

            .image-container img {
              margin-top: auto;
                width: 80%;
                height: auto; /* This will maintain the aspect ratio of the image */
            }

            body {
                background: linear-gradient(to right, #8B4513, #A0522D); /* Brown gradient background */
                color: White; /* Dark brown text color */
                font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; /* Gentle on the eyes font */
                padding: 0px; /* Padding around the body */
                margin: 0; /* No margin */
                font-weight: bold;
                display: flex;
                flex-direction: column; /* Stack the content vertically */
                min-height: 100vh; /* Minimum height of the viewport's height */
            }

            p {
  margin: 10px 20px; /* Add margins on top and bottom, and left and right */
}

.lesson {
  margin-top: 50px; /* Adjust the value as needed to move the line further down */
  font-weight: bold;
  font-size: 20px;
}


            h1, h2, h3 {
                text-align: center; /* Centered headers */
                padding: 10px; /* Padding for headers */
                color: white; /* Dark brown header text color */
            }

            ul, ol {
                padding: 10px 20px; /* Some padding on the sides and top/bottom */
                margin: 10px 20px; /* Add some margins on the sides and top/bottom */
                line-height: 1.6; /* Increase the space between lines */
            }

            img {
                display: block; /* Makes sure the image doesn't become inline */
                margin-left: auto; /* These two lines center the image */
                margin-right: auto;
                width: 80%; /* Adjust this to change the image size */
                border-radius: 10px; /* Rounded corners */
                margin-bottom: 15px;
            }

            footer {
                background-color: #8B4513; /* Dark brown footer background */
                width: 100%;
                margin-top: auto;
                height: 80px;
                align-items: center;
            }

            footer ul {
                list-style: none; /* Remove bullet points */
                padding: 0; /* Remove default padding */
            }

            footer ul li {
                display: inline; /* Display the list items on one line */
                margin: 0 10px; /* Add some margin on the sides */
            }

            footer a {
                color: White; /* Dark brown footer links color */
                text-decoration: none; /* Remove underline */
            }

            .footer-links {
                display: flex;
                justify-content: center; /* Centers the list items horizontally */
                gap: 20px; /* Sets space between the list items */
                list-style: none; /* Removes default list styles */
                margin: 0; /* Removes default margins */
                padding: 0;
            }

            .footer-links li {
                display: inline-block;
            }

            .footer-links a {
                color: White;
                text-decoration: none;
                font-size: 1.5vw;
                display: block;
                font-size: 16px;
                font-size: max(min-font-size, 1.5vw);
            }

            .footer-links a::before {
                font-family: 'Font Awesome 5 Free';
                font-weight: 900;
                content: attr(data-icon);
                font-size: 16px;
            }

            .footer-links a:hover {
                color: grey;
            }

            @media screen and (max-width: 768px) {
                .footer-nav {
                    flex-direction: column;
                    align-items: center;
                }

                .footer-links a {
                    font-size: 16px;
                }
            }

            footer .copyright {
                text-align: center;
                font-size: 14px;
                color: white;
                margin-top: 20px;
                font-family: 'Exo 2', sans-serif;
            }

            /* Add the following styles to center the search container */
            .search-container {
                margin-top: 20px;
                padding: 8px;
                text-align: center;
                width: 90%; /* Set the maximum width to 70% of the screen */
                margin: 0 auto; /* Center the search container horizontally */
                margin-bottom: 0; /* Remove the margin at the bottom */
            }

            /* Add styles for the search bar and icon */
            .search-container form {
                position: relative;
                padding: 8px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
                display: flex;
                width: 90%;
                border-radius: 5px;
                margin: 0 auto;
            }

            .search-container input {
                flex: 1;
                padding: 8px 10px; /* Adjust padding as needed */
                border: 1px solid #ccc;
                border-radius: 5px;
                font-size: 18px;
                font-family: 'Exo 2', sans-serif;
            }

            .search-container button {
                background-color: transparent;
                border: none;
                outline: none;
                padding: 8px;
                cursor: pointer;
                position: absolute;
                right: 5px;
            }

/* Additional CSS code for the search results */
#searchResults {
  top: 100%;
z-index: 1000;
  display: none;
  width: 77%;
  margin: 0 auto; /* Center the search results horizontally */
  padding: 10px;
  background-color: rgba(255, 255, 255, 1); /* Add some transparency to the background */
  border-radius: 5px;
  color: darkgreen; /* Set the font color to red */
  font-family: 'Exo 2', sans-serif; /* Apply the "Exo 2" font to the search results */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

#searchResults ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#searchResults li {
  margin-bottom: 5px;
}

#searchResults a {
  font-weight: bold;
  text-decoration: none;
  color: darkgreen; /* Set the font color of the links to red */
  font-family: 'Exo 2', sans-serif; /* Apply the "Exo 2" font to the list items */
}

#searchResults a:hover {
  text-decoration: underline;
}

#searchResults p {
  color: green; /* Set the font color of "No results found" to red */
}


figure {
    position: relative;
}


figure img {
    width: 100%;
    height: auto;
}





.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
}

.gallery figure {
    flex: 1 0 calc(12.5% - 2%); /* 8 items per row */
    max-width: calc(12.5% - 2%);
    margin: 1%;
    padding: 0; /* Reduce padding to 5px */
    box-sizing: border-box;
    background: none; /* Add a red to dark red gradient background */
    border-radius: 10px;
    box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.0);
    position: relative; /* Make corners rounded */
}



.gallery figure::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: none; /* Semi-transparent light red to red gradient */
    border-radius: 10px; /* Make corners rounded */
    z-index: -1; /* Place the pseudo-element behind the content */
}

.gallery figure img {
    width: 100%;
    height: auto;
    border-radius: 10px;
     /* Make image corners rounded */
}

/* Adjust to 4 items per row for screens smaller than 600px */
@media screen and (max-width: 600px) {
    .gallery figure {
        flex: 1 0 calc(25% - 2%);
        max-width: calc(25% - 2%);
    }
}

/* Styles for the image and the caption */
.gallery img {
    width: 100%;
    height: auto;
}

.gallery figcaption {
    text-align: center;
    font-family: 'Exo 2', sans-serif; /* Set font family to Exo 2 */
    color: white; /* Change the font color to white */
    width: 100%; /* Make the caption width same as image width */
    word-wrap: break-word;
    margin-top: 10px;
     /* Wrap the long titles to next line */
}

.title {
  margin-top: 10px;
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-size: 18px;
}

/* Remove the buttons */
.play-button {
  display: none;
}

.pagination {
    text-align: center;
}

.pagination a {
    display: inline-block;
    margin: 0 30px;
    padding: 12px 25px;
    color: white;
    font-size: 28px;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    transition: background-color 0.3s ease;
    background: linear-gradient(to right, #8B4513, #A0522D); /* Add a red to dark red gradient background */
    border-radius: 10px;
    margin: 20px auto;
      box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0.3);
}

.pagination a:hover {
    background-color: brown;
    color: black;
}


.home {
    text-align: center;
}

.home a {
    display: inline-block;
    margin: 0 30px;
    padding: 12px 25px;
    color: white;
    font-size: 28px;
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    transition: background-color 0.3s ease;
    background: linear-gradient(to right, #8B4513, #A0522D); /* Add a red to dark red gradient background */
    border-radius: 10px;
    margin: 20px auto;
      box-shadow: 0px 0px 0px 0px rgba(255, 255, 255, 0.3);
}

.home a:hover {
    background-color: brown;
    color: black;
}


.audio-container {
  margin-top: 15px;
  text-align: center;
}
