/* style.css */

.container {
    max-width: 960px; /* Adjust this value based on your preference */
    margin: auto;
    padding: 20 20px; /* Add some padding on the sides */
    padding-bottom: 10pt;
}

body {
    background-color: #f0f0f2;
    color: #333;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-bottom: 10pt;
    padding-top: 60px; /* Adjust this value based on the actual height of your header */
}

header {
    background-color: #4CAF50;
    color: #113e68;
    padding: 20px;
    text-align: center;
    z-index: 1000; /* Ensures the header stays above other content */
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Adds a subtle shadow for depth */
}

h1 {
    color: #113e68;
    max-width: 940px; /* Adjust max-width as needed */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

p {
    margin: 20px 0;
    padding: 0 20px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: #113e68; /* Background color for the nav bar */
    overflow: hidden;
    background-color: #113e68; /* Adjust the color to fit your design */
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    position: fixed; /* Keeps the header at the top of the page */
    top: 0; /* Aligns the header at the top */
    left: 0; /* Aligns the header to the left */
//    z-index: 1000; /* Ensures the header stays above other content */
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Adds a subtle shadow for depth */
    display: flex; /* Enables flexbox layout */
    flex-wrap: nowrap; /* Prevents items from wrapping to the next line */
    align-items: center; /* Aligns items vertically */
    list-style-type: none; /* Removes bullet points */
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline; /* Display links inline */
}

nav ul li a {
//    display: inline-block; /* Needed for padding and margins to work on links */
//    padding: 10px 20px;
//    text-decoration: none;
//    /* color: white; /* Text color */
//    color: #50b1c8;
//    background-color: #113e68; /* Button color */
//    border: none; /* Remove borders */
//    cursor: pointer; /* Mouse cursor as pointer */
//    transition: background-color 0.1s; /* Smooth transition for hover effect */
    text-decoration: none;
	width: 2.8cm;
	height: 0.6cm;
    padding: 10px 15px;
    font-size: 24px;
    font: bold;
    color: #50b1c8;
    //background-color: #113e68;
    background-color: transparent; /* Primary color */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, box-shadow 0.3s;
	display: inline-block;
}

nav ul li a:hover {
    background-color: #0d2a4d; /* Darker shade on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
//    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
//    transform: translateY(-2px); /* Slight lift effect on hover */
//    background-color: #50b1c8; /* Darker shade on hover */
//    color: #113e68;
//    transform: translateY(-2px); /* Slight lift effect on hover */
}

nav ul li a:focus {
    background-color: #0d2a4d; /* Darker shade for hover/focus state */
    box-shadow: 0 0 0 3px rgba(17, 62, 104, 0.5); /* Focus outline */
}

.prev-link a, .next-link a {
    text-decoration: none;
	width: 2.8cm;
	height: 0.6cm;
    padding: 10px 15px;
    font-size: 24px;
    font: bold;
    color: #50b1c8;
    //background-color: #113e68;
    background-color: transparent; /* Primary color */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, box-shadow 0.3s;
	display: inline-block;
}

.prev-link:hover {
    background-color: #0d2a4d; /* Darker shade on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
//    background-color: #0d2a4d; /* Darker shade on hover */
//    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
//    transform: translateY(-2px); /* Slight lift effect on hover */
//    background-color: #50b1c8; /* Darker shade on hover */
//    color: #113e68;
//    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
//    transform: translateY(-2px); /* Slight lift effect on hover */
}

.next-link:hover {
    background-color: #0d2a4d; /* Darker shade on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
//    background-color: #0d2a4d; /* Darker shade on hover */
//    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
//    transform: translateY(-2px); /* Slight lift effect on hover */
//    background-color: #50b1c8; /* Darker shade on hover */
//    color: #113e68;
//    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
//    transform: translateY(-2px); /* Slight lift effect on hover */
}

.prev-link:focus {
    background-color: #0d2a4d; /* Darker shade for hover/focus state */
    box-shadow: 0 0 0 3px rgba(17, 62, 104, 0.5); /* Focus outline */
//    background-color: #0d2a4d; /* Darker shade for hover/focus state */
//    box-shadow: 0 0 0 3px rgba(17, 62, 104, 0.5); /* Focus outline */
}

.next-link:focus {
    background-color: #0d2a4d; /* Darker shade for hover/focus state */
    box-shadow: 0 0 0 3px rgba(17, 62, 104, 0.5); /* Focus outline */
//    background-color: #0d2a4d; /* Darker shade for hover/focus state */
//    box-shadow: 0 0 0 3px rgba(17, 62, 104, 0.5); /* Focus outline */
}

#theme-toggle {
	width: 4cm;
	height: 1.15cm;
    padding: 10px 15px;
    font-size: 24px;
    color: #50b1c8;
    background-color: #113e68;
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}

#theme-toggle:hover {
    background-color: #0d2a4d; /* Darker shade on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
//    transform: translateY(-2px); /* Slight lift effect on hover */
//    background-color: #0d2a4d; /* Darker shade on hover */
//    background-color: #50b1c8; /* Darker shade on hover */
//    color: #113e68;
//    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
}

#theme-toggle:focus {
    background-color: #0d2a4d; /* Darker shade for hover/focus state */
    box-shadow: 0 0 0 3px rgba(17, 62, 104, 0.5); /* Focus outline */
}

#toggleSidebar {
	width: 4cm;
	height: 1.15cm;
    padding: 10px 15px;
    font-size: 24px;
    color: #50b1c8;
    background-color: #113e68;
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, box-shadow 0.3s;
}

#toggleSidebar:hover {
    background-color: #0d2a4d; /* Darker shade on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
//    transform: translateY(-2px); /* Slight lift effect on hover */
//    background-color: #0d2a4d; /* Darker shade on hover */
//    background-color: #50b1c8; /* Darker shade on hover */
//    color: #113e68;
//    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
}

#toggleSidebar:focus {
    background-color: #0d2a4d; /* Darker shade for hover/focus state */
    box-shadow: 0 0 0 3px rgba(17, 62, 104, 0.5); /* Focus outline */
}

button {
    background-color: transparent; /* Primary color */
    color: #000000; /* Text color */
/*    color: var(--link-color-dark); /* Text color */
/*    padding: 10px 20px; /* Padding around text */
    border: none; /* No border */
    width: 24.2cm;
	height: 0.8cm;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Cursor changes to pointer to indicate it's clickable */
    transition: background-color 0.3s, transform 0.2s; /* Smooth background color change and slight transform on hover */
	display: inline-block;
}

button:hover {
/*    background-color: #0d2a4d; /* Lighter shade on hover */
//    transform: translateY(-2px); /* Slight lift effect on hover */
    background-color: #0d2a4d; /* Darker shade on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
//    color: #113e68;
}

button:focus {
    background-color: #0d2a4d; /* Darker shade for hover/focus state */
    box-shadow: 0 0 0 3px rgba(17, 62, 104, 0.5); /* Focus outline */
/*    box-shadow: 0 0 0 2px #113e68; /* Custom focus style to match your theme */
}


:root {
    /* Light theme colors */
    --title-color-light: #113e68; /* New variable for title color in dark theme */
    --background-color-light: #cdcdcd;
    --text-color-light: #000000;
    --nav-background-light: #113e68;
    --nav-text-light: #113e68;
    --link-color-light: #113e68; /* Assuming you want to keep the original color for light mode */

    
    /* Dark theme colors */
    --title-color-dark: #50b1c8; /* New variable for title color in dark theme */
    --background-color-dark: #363537;
    --text-color-dark: #FAFAFA;
    --nav-background-dark: #1a1a1a;
    --nav-text-dark: #50b1c8;
    --link-color-dark: #50b1c8;
}

body.dark-theme h1, body.dark-theme h2, body.dark-theme h3, body.dark-theme h4, body.dark-theme h5, body.dark-theme h6 {
    color: var(--title-color-dark);
}

body.dark-theme a {
    color: var(--link-color-dark);
}

body.dark-theme {
    background-color: var(--background-color-dark);
    color: var(--text-color-dark);
}

nav.dark-theme ul {
    background-color: var(--nav-background-dark);
}

nav ul li a.dark-theme {
    color: var(--nav-text-dark);
    background-color: var(--nav-background-dark);
}

body.light-theme h1, body.light-theme h2, body.light-theme h3, body.light-theme h4, body.light-theme h5, body.light-theme h6 {
    color: var(--title-color-light);
}

body.light-theme {
    background-color: var(--background-color-light);
    color: var(--text-color-light);
}


nav.light-theme ul {
    background-color: var(--nav-background-light);
}

nav ul li a.light-theme {
    background-color: var(--nav-background-light); 
    color: var(--nav-text-light);
}


<script>
    const toggleButton = document.getElementById('theme-toggle');
    toggleButton.addEventListener('click', () => {
        document.body.classList.toggle('dark-theme');
        document.body.classList.toggle('light-theme');
        
        const theme = document.body.classList.contains('dark-theme') ? 'dark' : 'light';
        localStorage.setItem('theme', theme); // Save the current theme preference
    });

    // Load the saved theme preference
    const savedTheme = localStorage.getItem('theme') || 'light'; // Default to light theme
    document.body.classList.add(savedTheme + '-theme');
</script>

.slide-container {
    width: 100%; /* Adjust as needed */
/*    max-width: 600px; /* Adjust as needed */
    margin: auto; /* Centers the container */
    padding: 20px; /* Adds some padding around the iframe */
}

.slide-container iframe {
    width: 100%; /* Makes the iframe responsive to the container's width */
    height: 400px; /* Adjust height as needed */
/*    border: none; /* Optional: removes the border */
}

.pdf-container {
    width: 100%; /* Adjust as needed */
/*    max-width: 1000px; /* Adjust as needed */
    margin: auto; /* Centers the container */
/*    padding: 20px; /* Adds some padding around the iframe */
}

.pdf-container iframe {
    width: 100%; /* Makes the iframe responsive to the container's width */
    height: 970px; /* Adjust height as needed */
/*    border: none; /* Optional: removes the border */
}

/* /* Style for code blocks in dark theme */
/* .codehilite pre {
/*     background: transparent;     /* Keep the background from overriding the terminal style */
/*     border: none;                /* Remove borders */
/*     color: inherit;              /* Inherit the text color */
/*     padding: 2px;
/* }
/* 
/* pre {
/*     background-color: #2d2d2d; /* Darker background */
/*     color: #ccc; /* Light gray text for readability */
/*     font-family: 'Courier New', Courier, monospace; /* Monospaced font for code */
/*     padding: 0px; /* Padding inside the code block */
/*     border-radius: 6px; /* Rounded corners */
/*     border: 1px solid #555; /* Darker border for depth */
/*     overflow-x: auto; /* Scroll horizontally if needed */
/*     max-width: 80%; /* Adapt width to the content */
/*     margin: 20px auto; /* Center the block and add vertical space */
/*     box-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Darker shadow for more depth */
/* }
*/

pre {
    background-color: #2d2d2d; /* Darker background */
    color: #ccc; /* Light gray text for readability */
    font-family: 'Courier New', Courier, monospace; /* Monospaced font for code */
    padding: 10px; /* Add consistent padding to the whole block */
    border-radius: 6px; /* Rounded corners */
    border: 1px solid #555; /* Darker border for depth */
    overflow-x: auto; /* Scroll horizontally if needed */
    max-width: 80%; /* Adapt width to the content */
    margin: 20px auto; /* Center the block and add vertical space */
    box-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Darker shadow for more depth */
    white-space: pre-wrap; /* Ensure that long lines wrap instead of overflowing */
    word-wrap: break-word; /* Break words when needed */
}

.codehilite pre {
    background: transparent;
    border: none;
    color: inherit;
    padding: 10px; /* Consistent padding inside the code block */
}

/* /* Style for inline code in dark theme */
code {
    background-color: #3bb290; /* BTU Gray background for inline code */
    font-family: 'Courier New', Courier, monospace; /* Monospaced font for code */
    color: #000000; /* black text */
    border-radius: 2px; /* Slightly rounded corners for inline code */
    padding: 0px 2px; /* Padding around inline code */
    font-family: monospace; /* Monospaced font */
}

/* Additional styles for Pygments in dark theme */
.codehilite code {
    background: transparent;     /* Keep the background from overriding the terminal style */
    border-radius: 5px;          /* Rounded corners */
    color: inherit;              /* Inherit the text color */
    font-family: 'Courier New', Courier, monospace;  /* Monospace font */
	padding: 0px 8px;
}


/* Initial state of the sidebar: hidden */
.sidebar {
    overflow-x: hidden;
    height: 100%;
    width: 450px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #113e68;
    transition: 0.5s;
    padding-top: 100px;
}

#sidebarBtn {
    font-size: 30px;
    cursor: pointer;
    background-color: #50b1c8;
    color: #50b1c8;
    border: none;
    display: none; /* Initially hidden */
}

/* Show the sidebar button when the screen size is less than 600px */
@media screen and (max-width: 600px) {
    #sidebarBtn {
        display: block;
    }
}

/* Show sidebar for larger screens without the need for a button */
@media screen and (min-width: 600px) {
    .sidebar {
        width: 450px; /* Adjust as needed */
    }
}

/* Sidebar links */
.sidebar a {
    padding: 10px 10px;
    text-decoration: none;
    font-size: 25px;
    color: #50b1c8;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #50b1c8;
    background-color: #0d2a4d; /* Darker shade on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Simple shadow for depth */
}

/* Show the sidebar button when the screen size is less than 600px */
@media screen and (max-width: 600px) {
    #sidebarBtn {
        display: block;
    }
}


/*/* Show sidebar for larger screens without the need for a button */
@media screen and (min-width: 1300px) {
    .sidebar {
        width: 450px; /* Adjust as needed */
    }
}*/

#container {
    transition: margin-left .5s; /* Smooth transition for the main content */
    padding: 16px;
}

