:root {
    font-size: 52px;
    /* font-size: calc(2.2rem + 0.25vw); */
}

/* Dark mode background */
body {
    background-color: black; /* Black background for the entire page */
    color: white; /* White text for the entire page */
    /* font-size: 36px; Adjust the font size as needed */
    padding-top: 120px; /* Height of the navbar plus a little extra space */
    margin: 0; /* Reset default margin */
}

.navbar {
    display: flex;
    justify-content: left;
    align-items: center;
    background-color: #333;
    position: fixed;
    font-size: 36px;
    top: 0;
    width: 100%;
    z-index: 1020;
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #313131;
    /* padding: 0 20px; */
  }

    .nav-button {
        display: inline-block;
        background-color: #555; /* Slightly lighter than navbar background for contrast */
        color: white; /* White text color */
        text-align: center;
        padding: 10px 15px; /* Padding around text */
        text-decoration: none; /* Remove underline from links */
        transition: background-color 0.3s; /* Smooth transition for hover effect */
        margin: 0 5px; /* Spacing between buttons */
    }

.nav-button:hover {
    background-color: #666; /* Button background color on hover */
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 60px; /* Adjust based on the navbar's height */
    left: 0;
    width: 100%;
    background-color: #444;
    padding: 5px 0;
    z-index: 1010;
    font-size: 30px;
  }
  
  .collapsible-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 40px; /* Adjust the height as needed */
  }

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .filter-bar {
        flex-direction: column; /* Stack filter elements vertically */
        padding: 10px; /* Increase padding for smaller screens */
        top: 80px; /* Adjust top position if necessary */
    }

    #book-select, .filter-btn {
        width: 50%; /* Adjust width of dropdown and buttons to fit smaller screens */
        margin: 5px auto; /* Add margin for spacing and center align */
        font-size: 16px; /* Adjust font size for better readability on small screens */
    }
}


/* Style adjustments for the select dropdown to match nav-button styles */
#reset-button {
    background-color: #555; /* Match nav-button background color */
    color: white; /* Text color to match nav-button */
    border: none; /* Remove default border */
    padding: 10px 15px; /* Padding to match nav-button, adjust as needed */
    font-size: 36px; /* Adjust font size to match the nav-bar or as desired */
    cursor: pointer; /* Cursor pointer to indicate clickable items */
}

#book-select {
    background-color: blue; /* Match nav-button background color */
    color: white; /* Text color to match nav-button */
    border: none; /* Remove default border */
    padding: 10px 15px; /* Padding to match nav-button, adjust as needed */
    font-size: 24px; /* Adjust font size to match the nav-bar or as desired */
    cursor: pointer; /* Cursor pointer to indicate clickable items */
    flex-grow: 1; /* Allow the select dropdown to grow as needed, optionally remove if not desired */
    max-width: 600px;  Optionally limit the width of the select dropdown 
}

#filter-button {
    visibility: hidden; /* Makes the button invisible but keeps its space in layout */
    position: absolute; /* Optionally position it out of the normal document flow */
    width: 1px; /* Minimize its size */
    height: 1px; /* Minimize its size */
    margin: -1px; /* Negate any potential margin to avoid space */
    padding: 0; /* Remove padding */
    border: none; /* Remove border */
    clip: rect(0, 0, 0, 0); /* Clip the button's content */
    overflow: hidden; /* Ensure nothing overflows */
}


/* Style for audio player */
.audio-player {
    transform: scale(1.2); /* Adjust the scale to make the player smaller */
    transform-origin: left center; /* Adjust the origin of scaling if needed */
}

/* Styles for different recording types */
.question {
    color: #539ddb; /* turquoise */
}

.transcript {
    color: #9bcdb5; /* magenta */
}   

.passage {
    color: #5359db /* magenta */
}

.answer {
    color: #DB539D; /* magenta */
}

.book {
    color: white; /* magenta */
    display: none;
}

#galleryContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
  
  #galleryContainer img {
    width: 100%;
    height: auto;
  }
/* Dark mode background */
/*body {*/
/*    background-color: black;  Black background for the entire page */
/*    color: white; /* White text for the entire page */*/
/*    font-size: 24px; /* Adjust the font size as needed */*/
/*}*/

#control-panel {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333; /* Dark background for the control panel */
    color: white;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

#control-panel label {
    margin-right: 20px; /* Space out the labels */
}

/* Style checkboxes */
.toggle-visibility {
    margin-right: 5px;
}

.play-button {
    /* font-size: 48px; Adjust the font size as needed */
    padding: 10px 20px; /* Adjust padding to increase size */
    background-color: #539ddb; /* Adjust the background color as needed */
    color: white; /* Text color */
    border: none; /* Remove default border */
    border-radius: 5px; /* Optional: if you want rounded corners */
    cursor: pointer; /* Change cursor to pointer on hover */
    margin: 5px; /* Optional: if you want space between buttons */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition for hover effect */
}

.play-button:hover {
    background-color: #4169e1; /* Darken button color on hover */
    transform: scale(1.05); /* Slightly increase button size on hover */
}