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

/* Light Theme */
:root {
    --bg-color: #000000;
    --text-color: #fff;
    --header-color: #0F172A
}

/* Dark Theme */
body.dark-theme {
    --bg-color: #F8FAFC;
    --text-color: #000000;
    --header-color: #FFFFFF
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: var(--bg-color);
    color: var(--text-color);
}

.container {
    width: 78%;
    padding: 8px;
    margin: 0 auto;
}

.podcast-container {
    display: flex;
    justify-content: center;
    /* grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); */
    /* Display three items in a row */
    /* gap: 20px; */

    /* display: flex; */
    flex-wrap: wrap;
    /* grid-template-columns: repeat(4, 1fr); */
    gap: 20px;
    /* Adds space between episodes */
    max-width: 1400px;
    padding-bottom: 20px;
    /* Adjust the maximum width of the container */
    margin: 0 auto;
}

/* For mobile devices */
@media (max-width: 768px) {
    .podcast-container {
        justify-content: center;
    }

    .episode {
        width: calc(100% - 40px);
        /* Adjust the width and subtract the padding */
    }
}

/* For tablets and smaller desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    .episode {
        width: calc(50% - 20px);
        /* Display 2 items in a row */
    }
}

/* For larger desktops */
@media (min-width: 1025px) {
    .episode {
        width: calc(25% - 15px);
        /* Display 4 items in a row */
    }
}

nav {
    text-align: center;
}

nav h1 {
    font-size: 1.8rem;
}

.main {
    padding: 20px 0;
}

.blog-posts {
    margin-top: 20px;
}

.post {
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
}

.post h2 {
    font-size: 1.5rem;
}

.read-more {
    display: inline-block;
    padding: 8px 15px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.read-more:hover {
    background-color: #555;
}

/* Existing styles */

header {
    background-color: var(--header-color);
    color: #fff;
    padding: 20px 0;
}

.menu-icons {
    display: flex;
    justify-content: flex-start;
    /* Align icons to the left */
}

.menu-icons img {
    width: 30px;
    /* Adjust icon size as needed */
    height: 30px;
    margin-right: 10px;
    /* Add space between icons */
}

.menu-icons svg {
    color: var(--text-color);
}

/* Existing styles */

.header-content {
    display: flex;
    align-items: center;
}

#theme-toggle {
    margin-left: auto;
    /* Pushes the button to the right */
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

#theme-toggle svg {
    fill: #ffffff;
    /* Adjust icon color */
}

.rounded-theme-btn {
    border-radius: 50%;
    /* Makes the button rounded */
    width: 80px;
    height: 80px;
    transition: background-color 0.3s ease;
}

.rounded-theme-btn:hover {
    background-color: #eee;
    /* Change color on hover */
}

.header-text {
    color: var(--text-color);
    margin-top: 10px;
}

.header-icons {
    padding-top: 20px;
    padding-left: 10px;
}

.logo {
    width: 40px;
    /* Adjust logo size as needed */
    height: 40px;
    margin-right: 10px;
    /* Add space between logo and title */
}

.page-title {
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 10px;
}

.menu-icons {
    display: flex;
    justify-content: flex-start;
}

.menu-icons img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.episode h2 {
    font-size: 1.5rem;
}

.meta {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 10px;
}


.listen-now {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    width: 40px;
    /* Adjust the button size */
    height: 40px;
    /* Adjust the button size */
    border-radius: 50%;
    /* Makes the button round */
    background-color: #18d26e;
    /* Button background color */
    color: #fff;
    /* Button text/icon color */
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.listen-now svg {
    width: 80%;
    /* Adjust the icon size */
    height: auto;
    fill: currentColor;
    /* Use the button's text/icon color */
}

.listen-now:hover {
    background-color: #14a859;
    /* Change color on hover */
}

.podcast-episodes {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.duration {
    font-size: 0.9em;
    color: #dad8d8;
    margin-bottom: 5px;
    font-style: normal;
}

.episode {
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-image: url('images/bg.png');
    /* Replace with your image path */
    background-size: cover;
    background-position: center;
    color: #fff;
    user-select: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* background-color: #f9f9f9; */
    /* padding: 20px; */
    /* margin-bottom: 20px; */
    /* Remove margin-bottom to avoid extra space at the end */
    text-align: left;
}

.episode:hover {
    transform: translateY(-5px);
    /* Move the element slightly up */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* Apply a shadow effect */
}

.episode h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    /* Adds space between title and other content */
}


.header-subtitle {
    align-items: center;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
    user-select: none;
}

.header-subtitle p {
    font-size: medium;
    color: var(--text-color);
    font-family: 'Courier New', Courier, monospace;
}


.social-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    width: 40px;
    /* Adjust the button size */
    height: 40px;
    /* Adjust the button size */
    border-radius: 50%;
    /* Makes the button round */
    background-color: #00000000;
    /* Button background color */
    color: #fff;
    /* Button text/icon color */
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-button svg {
    width: 80%;
    /* Adjust the icon size */
    height: auto;
    fill: currentColor;
    /* Use the button's text/icon color */
}

.social-button:hover {
    background-color: #3F4555;
    /* Change color on hover */
}

footer {
    background-color: #0F172A;
    font-family: Arial, Helvetica, sans-serif;
    color: #cfcdcd;
    text-align: center;
    padding: 20px 0;
}