/* Common styles for both pages */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

.header {
    background-color: #ffffff;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-width: 250px; /* Set the maximum width for the logo image */
    max-height: 200px; /* Set the maximum height for the logo image */
    /* Preserve the aspect ratio of the image */
    height: auto;
    width: auto;
}

.top-nav-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    background-color: #e0e0e0;
    margin-top: 10px;
}

.top-nav-bar a.active {
    background-color: #444444; /* Change the background color to a dark gray */
    color: #ffffff; /* Keep the text color white for contrast */
    font-weight: bold; /* Make the text bold */
}

.top-nav-bar a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.top-nav-bar a:hover {
    background-color: #d0d0d0;
}

.nav-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    background-color: #e0e0e0;
    margin-top: 10px;
}

.nav-bar a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.nav-bar a:hover {
    background-color: #d0d0d0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    /*text-align: center; /* Add this line to center the text */
}

.credits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center; /* Add this line to center the text */
}

/* Styles specific to the first page */
.home-section, .about-section, .command-section {
    margin-bottom: 30px;
}

.command-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Increase the minimum width from 250px to 300px */
    gap: 20px;
    justify-content: center;
}

.command {
    background-color: #ffffff;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Evenly space the sections */
}

.command-title {
	font-weight: bold;
}

.request-title {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.command-description {
    margin-bottom: 10px; /* Add margin to create spacing */
    padding: 8px;
    background-color: #f0f0f0;
    font-style: italic;
    color: #555;
}

.command-example {
    margin-bottom: 10px; /* Add margin to create spacing */
    padding: 8px;
    background-color: #e0e0e0;
    font-weight: bold;
    color: #333;
}

.command-prompt {
    font-weight: bold;
    color: #333;
}

.command-video {
    width: 100%;
    max-width: 560px;
}

.command-video iframe {
    width: 100%;
    height: 315px;
}

.command-video iframe {
    width: 100%;
    height: 315px;
}

/* Styles specific to the second page */
h1
{
font-size: 32px;
font-weight: 500;
margin-bottom: 20px;
text-align: center;
}

ul {
list-style-type: none;
padding: 0;
margin: 0;
}

li {
background-color: #fff;
padding: 15px;
margin-bottom: 10px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.episode-info {
display: flex;
align-items: center;
}

.episode-icon {
font-size: 24px;
margin-right: 10px;
}

.episode-details {
display: flex;
flex-direction: column;
}

.episode-title {
font-weight: bold;
font-size: 18px;
}

.episode-summary {
font-size: 14px;
color: #666;
margin-top: 5px;
}

.episode-prompter {
font-size: 14px;
color: #666;
margin-top: 5px;
}

#requestStatus, #prompter {
font-size: 14px;
font-weight: 300;
text-align: center;
margin-bottom: 10px;
}

#currentEpisode {
margin-bottom: 20px;
}

.request-section {
margin-bottom: 30px;
}

.request-section h2 {
text-align: center;
margin-bottom: 20px;
color: #555;
}

.request {
background-color: #ffffff;
padding: 15px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 5px;
margin-bottom: 10px;
}

.request-title {
font-weight: bold;
margin-bottom: 10px;
}

.request-description {
margin-bottom: auto;
}

.stream-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.schedule-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.schedule-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #ddd;
}

.schedule-table th {
    background-color: #f2f2f2;
}

footer {
  background-color: #333;
  padding: 20px;
  text-align: center;
}

.social-media {
  display: inline-flex;
  justify-content: center;
  gap: 20px;
}

.social-media a {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  transition: 0.3s;
}

.social-media a:hover {
  color: #ddd;
}

/* Dark mode styles */
body.dark-mode {
    background-color: #222;
    color: #f8f8f8;
}

body.dark-mode .header {
    background-color: #333;
}

body.dark-mode .top-nav-bar {
    background-color: #444;
}

body.dark-mode .top-nav-bar a.active {
    background-color: #666;
}

body.dark-mode .top-nav-bar a:hover {
    background-color: #555;
}

body.dark-mode .command {
    background-color: #333;
}

body.dark-mode .command-description {
    background-color: #444;
}

body.dark-mode .command-example {
    background-color: #555;
}

body.dark-mode li {
    background-color: #333;
}

body.dark-mode footer {
    background-color: #444;
}

/* Set the text color for episode title, summary, and prompter in dark mode */
body.dark-mode .episode-title,
body.dark-mode .episode-summary,
body.dark-mode .episode-prompter {
    color: #f8f8f8; /* Light color for better contrast in dark mode */
}

/* Dark mode switch styles */
.dark-mode-wrapper {
    display: flex;
    align-items: center;
	justify-content: center;
    gap: 10px;
    margin-top: 10px; /* Add margin to the top */
}

.dark-mode-label {
    font-size: 14px;
    color: #333;
}

.dark-mode-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.dark-mode-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-label:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-label {
    background-color: #888;
}

input:checked + .toggle-label:before {
    transform: translateX(26px);
}

/* Update label color in dark mode */
body.dark-mode .dark-mode-label {
    color: #f8f8f8;
}

/* Set the text color for navigation links in dark mode */
body.dark-mode .top-nav-bar a {
    color: #f8f8f8; /* Light color for better contrast in dark mode */
}

/* Set the text color for the active navigation link in dark mode */
body.dark-mode .top-nav-bar a.active {
    color: #f8f8f8; /* Light color for better contrast in dark mode */
}

/* Set the text color for navigation links on hover in dark mode */
body.dark-mode .top-nav-bar a:hover {
    color: #f8f8f8; /* Light color for better contrast in dark mode */
}

/* Set the text color for navigation links in the .nav-bar class in dark mode */
body.dark-mode  a {
    color: #f8f8f8; /* Light color for better contrast in dark mode */
}

/* Set the text color for navigation links in the .nav-bar class on hover in dark mode */
body.dark-mode a:hover {
    color: #f8f8f8; /* Light color for better contrast in dark mode */
}

/* Set the background color for the .nav-bar class in dark mode */
body.dark-mode .nav-bar {
    background-color: #444444; /* Dark background color for dark mode */
}

/* Set the text color for headings in dark mode */
body.dark-mode h1 {
    color: #f8f8f8; /* Light color for better contrast in dark mode */
}

/* Set the text color for labels and other text elements in dark mode */
body.dark-mode .command-title,
body.dark-mode .command-description,
body.dark-mode .command-example,
body.dark-mode .command-prompt,
body.dark-mode .request-title {
    color: #f8f8f8; /* Light color for better contrast in dark mode */
}

/* Set the text color for the dark mode label in dark mode */
body.dark-mode .dark-mode-label {
    color: #f8f8f8; /* Light color for better contrast in dark mode */
}

/* Add this block to the CSS file to style the table header in dark mode */
body.dark-mode .schedule-table th {
    background-color: #444; /* Dark background color for dark mode */
    color: #f8f8f8; /* Light color for better contrast in dark mode */
}