/* Import Roboto font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');


html, body {
    height: 100%; /* Make sure the parent has a defined height */
    margin: 0; /* Remove default margin */
}

body {
    display: flex; /* Enables flex context for child elements */
    flex-direction: column; /* Stack children vertically */
    min-height: 100vh; /* Minimum height of viewport */

    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}

.content-wrap {
    flex: 1; /* Allows this element to expand to fill available space */
}

footer {
    /* Styling for footer */
    background: #222;
    color: white;
    text-align: center;
    padding: 10px;
}






.search-container {
    margin-top: 10px;
}

#search-bar {
    padding: 8px;
    width: 60%;
    border: none;
    border-radius: 5px;
}

.no-bullets {
    list-style: none;  /* Remove bullet points */
    padding: 0;  /* Remove padding from the left side */
    margin: 0;  /* Remove default margin */
}

.no-bullets > li {
    margin-top: 10px;  /* Space between items */
    font-size: 18px;  /* Larger font size for level 1 list items */
    font-weight: bold;  /* Bold font for level 1 list items */
}

.no-bullets > li > ul >li {
    padding-left: 20px;  /* Indent nested lists */
    font-size: 16px;  /* Smaller font size for nested list items */
    font-weight: normal;  /* Normal font weight for nested list items */
}

/*
.category-list {
    padding: 20px;
    background: white;
    margin: 20px;
    border-radius: 8px;
}

.category-list h2 {
    color: #0056b3;
}

/* Styling for top-level list items */

/*
.category-list > ul > li {
    padding-left: 20px;
    margin-top: 10px;
}
*/

/* Styling for second-level list items */
/*
.category-list > ul > li > ul {
    padding-left: 40px;
} */

.category-list {
    padding: 20px;
    background: white;
    margin: 20px;
    border-radius: 8px;
}

.category-list h2 {
    color: #0056b3;
}

/* Styling for top-level list items */
.category-list > ul > li {
    display: flex;
    align-items: center; /* Centers the content vertically */
    padding-left: 20px;  /* Add padding to top-level categories */
    margin-top: 10px;  /* Adds space between categories */
}

/* Styling for thumbnail images */
.category-list img {
    width: 100px; /* Set a fixed width for the images */
    height: auto; /* Maintain aspect ratio */
    margin-right: 20px; /* Space between the image and the text */
}

/* Styling for category content */
.category-content {
    display: inline-block;
}

.category-content a, .category-content ul {
    display: block; /* Makes links and lists take full width of their container */
}

/* Styling for second-level list items */
.category-list > ul > li > ul {
    padding-left: 40px;  /* Increase padding for depth 2 categories */
}

/* Styling for second-level list items */
.category-content > ul > li > ul {
    padding-left: 40px;  /* Increase padding for depth 2 categories */
}


li a {
    color: #0056b3;
    text-decoration: none;
}

/* Apply base styles to all list items */
ul {
    list-style: none;  /* Remove bullet points */
    padding-left: 0;  /* Remove padding from the left side */
}



header {
/*    background: #0056b3;*/
    background: #007BFF;
    color: white;
    padding: 10px 20px;
    text-align: center;
    position: sticky;
    top: 0;
}

/*
header {
    background: #007BFF;
    color: white;
    padding: 20px;
    text-align: center;
}
*/

footer {
    text-align: center;
    padding: 10px;
    background: #AAA;
    color: white;
}

footer p {
    margin: 0;
}

h1 {
    margin: 0;
}

section {
    padding: 20px;
    margin: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

section h1 {
    background: #007BFF;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin: -20px -20px 20px -20px; /* Adjust margins to align with section padding */
    font-weight: 550;
}

section h2 {
    font-weight: 300; /* Use lighter weight for h2 elements */
}

.no-bullets {
    list-style-type: none;
    padding: 0; /* Remove padding if you want to align items to the left */
}


#media {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#media iframe {
    flex: 1;
}

#affiliate {
    margin-left: 20px;
}

.center-button {
    text-align: center;
    margin: 20px 0;
}

.affiliate-btn {
    display: inline-block;
    padding: 15px 25px; /* Increase button size */
    background: #FF9900;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px; /* Increase font size */
    margin: 10px 0; /* Add margin to create space around the button */
}

.affiliate-btn:hover {
    background: #cc7a00;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* New styles for the side-by-side layout */
.flex-container {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 20px; /* Optional: adjust as needed */
}

.video-wrapper {
    flex: 1;
    min-width: 300px; /* Ensure a minimum width */
}

.text-container {
    flex: 1;
    padding-left: 20px; /* Adjust this value as needed */
    min-width: 300px; /* Ensure a minimum width */
    margin-bottom: 20px; /* Add space between text and video */
}
/* Breadcrumb Styles */
.breadcrumb {
    display: flex;
    list-style: none;
    padding-left: 20px;
    margin: 20px;
    font-family: Roboto, sans-serif;
}
.breadcrumb li {
    margin: 0;
}
.breadcrumb li + li:before {
    content: '>';
    margin: 0 8px;
    color: #999;
}
.breadcrumb a {
    text-decoration: none;
    color: #007BFF;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* Media Queries for Mobile Optimization */
@media (max-width: 600px) {
    .breadcrumb {
        flex-wrap: wrap;
    }
    .breadcrumb li + li:before {
        content: '>';
        margin: 0 5px;
    }
    .breadcrumb a {
        font-size: 14px;
    }
}


/* Media Queries for Mobile Optimization */
@media only screen and (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 5px;
    }
    header {
        padding: 10px;
        text-align: center;
    }
    section {
        padding: 10px;
        margin: 10px;
        border-radius: 5px;
    }
    #media, .video-container {
        flex-direction: column;
    }
    #media iframe, .video-container iframe {
        width: 100%;
        margin-top: 10px;
    }
    #affiliate {
        margin-left: 10px;
    }
    .center-button {
        text-align: center;
        margin: 20px 0;
    }
    .affiliate-btn {
        padding: 12px 18px;
        font-size: 16px; /* Larger font size for better readability on mobile */
        margin-bottom: 10px; /* Spacing for tap targets */
    }
    /* Ensure text-container and video-wrapper stack vertically on small screens */
    .flex-container {
        flex-direction: column;
    }
    .text-container {
        padding-left: 0;
        margin-top: 10px;
    }
}

@media only screen and (max-width: 480px) {
    header h1 {
        font-size: 18px; /* Smaller font size for very small devices */
    }
    .affiliate-btn {
        padding: 15px 20px; /* Larger padding for easier tapping */
    }
}

