#sort-options input[type="text"] {
    font-size: 20px; /* Matches the font size of the dropdown */
    padding: 15px 30px; /* Padding to match the dropdown */
    width: 100%; /* Full width on mobile to match other elements */
    margin: 10px 0; /* Consistent margin with other elements */
    box-sizing: border-box; /* Include padding and border in width calculation */
    background-color: white; /* Background color like the dropdown */
    color: black; /* Text color */
    border: 2px solid #ccc; /* Border style to match the dropdown */
    border-radius: 5px; /* Rounded corners like the dropdown */
    outline: none; /* Remove default focus outline */
}

#sort-options input[type="text"]:hover,
#sort-options input[type="text"]:focus {
    border-color: #888; /* Darker border on hover/focus to match dropdown behavior */
}


      #sort-options {
        text-align: center; /* Center align the sort options */
    }

    #sort-options button, #sort-options select {
        font-size: 20px; /* Larger font size for better visibility */
        padding: 15px 30px; /* Thicker padding for a bigger feel */
        width: 100%; /* Full width on mobile */
        margin: 10px 0; /* Space around elements */
        box-sizing: border-box; /* Includes padding and border in the element's width */
    }

    #sort-options button {
        background-color: #4CAF50; /* Green background for the button */
        color: white; /* White text color */
        border: none; /* No border for a cleaner look */
        border-radius: 5px; /* Rounded corners */
        cursor: pointer; /* Pointer cursor on hover */
    }

    #sort-options select {
        background-color: white; /* White background for the dropdown */
        color: black; /* Black text color */
        border: 2px solid #ccc; /* Grey border */
        border-radius: 5px; /* Rounded corners */
    }

    /* Style focus and hover states for better user experience */
    #sort-options button:hover, #sort-options select:hover,
    #sort-options button:focus, #sort-options select:focus {
        border-color: #888; /* Darker border on hover/focus */
        outline: none; /* Remove default focus outline */
    }

    /* Media query for devices with width greater than 768px (typically tablets and desktops) */
    @media (min-width: 768px) {
        #sort-options button, #sort-options select {
            width: 30%; /* 30% width on non-mobile devices */
            margin: 10px auto; /* Centering the button and select in the middle */
        }
    }
	
	
	
#footer {position:fixed; left:0px; bottom:-4px; width:100%; z-Index:6}

#header {position:fixed; left:0px; top:0px; width:100%; z-Index:6}

#notallowed {position:relative; left:0px; top:0px; width:100%;  height:100%;  z-Index:10}

#whitecontainer {position:relative; width:339px; float:left; }

#artcontainer {position:relative; width:250px;  background-color:white; }

.imagewidth{<br>Margin:20px; width:100%; }

p {
    text-align: left; margin:10px; font-size:12px; padding:0px 0px 0px 0px; align:left;
}




  .spacer {
    background-image: url('button_spacer.png');
    background-repeat: repeat-x;
    width: 1%;
  }

.object-container {
    position: relative;
    width: 100%;

    height: 6500px;
}

.right-object {
    position: absolute;
    top: 0;
    right: 0;
    width: 500px; /* Adjust as needed */
    height: 3000px; /* Adjust as needed */
    z-index: 1;
    overflow: hidden; /* Moved from inline style to CSS */
}

.main-object {
    width: 100%;
    height: 6500px;
}


.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    padding: 0;
    margin: 0;
}

.nav-spacer {
    flex-grow: 1;
    background: url('button_spacer.png') repeat-x center center;
    height: 38px;
    margin: 0;
}

.nav-button {
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-button a img {
    width: 100%;
    height: 38px;
}
/* Existing styles for .navbar, .nav-spacer, .nav-button, and .nav-button a img remain unchanged */

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: black;
    width: 100%; /* Set width to 100% of parent */
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
    padding: 0;
    margin: 0;
    list-style: none;
}

.dropdown-menu li {
    display: block;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    color: white;
    padding: 10px 0;
    text-decoration: none;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-menu a:hover {
    background-color: gray;
}

.nav-button:hover .dropdown-menu {
    display: block;
}



.image-glow {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.image-glow img {
  transition: box-shadow 0.3s ease-in-out;
}

.image-glow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 20px 5px rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  outline: 3px solid transparent;
}

.image-glow:hover::after {
  opacity: 1;
  outline-color: white;
  outline-width: 5px;
}



text {
    line-height: 12px;
    font-size: 9px;
    text-align: center;
    background: #000;
    color: #fff;
	
}



table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  margin-bottom:0;
  padding: 0;
  border:0;
}

table td, table th {
  padding: 0;
  margin: 0;
  border:0;
}

video {
   padding: 0;
   margin: 0;
   top: 0px;
   left: 0px;
   outline: 0px;
}


.header-image {
  width: 100%;
  max-width: 100%;
  margin: 0;
    margin-bottom:0;
}



.ex1 {
  background-color: gray;
  display: inline-block;
  padding: 0px;
  text-decoration: none;
  
}


/* Default styles for desktop */
.ex1 img {
  height: 44px;
}


.ex1:hover {
  background-color: #A9A9A9;
}





body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

#video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    padding: 10px;
    padding-bottom: 50px; /* Adds 50px of space inside the bottom of the container */
}




.video {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally */
    height: 100%; /* Ensures the video container fills the grid area */
}

.video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.0s;
}

.video-blurb a.blurb-link {
    color: white; /* Sets the text color to white */
    font-weight: bold; /* Makes the text bold */
    text-decoration: none; /* Removes underline */
    transition: color 0.0s ease; /* Smooth transition for hover effects */
}

.video-blurb a.blurb-link:hover {
    color: #cccccc; /* Lighter color on hover; adjust as needed */
}


.video-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    color: white;
    transition: visibility 0.0s ease-in-out, background 0.0s ease-in-out;
    font-size: 0; /* Initial font size is 0 to prevent flickering */
}

.video-title {
    font-size: 25px; /* Adjust the font size to make it larger */
    color: white; /* Ensures the text color is white */
    font-weight: bold; /* Makes the text bold */
    visibility: visible;
    transition: visibility 0.0s ease-in-out, font-size 0.0s ease-in-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1.8); /* Black drop shadow */
}

.video-date {
    font-size: 20px; /* Adjust the font size to make it larger */
    color: white; /* Ensures the text color is white */
    font-style: italic; /* Makes the text italicized */
    visibility: visible;
    transition: visibility 0.0s ease-in-out, font-size 0.0s ease-in-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1.8); /* Black drop shadow */
}


.video:hover .video-title, .video:hover .video-date {
    visibility: hidden;
    font-size: 0; /* Reduces font size to 0 on hover */
}


.video-blurb {
    visibility: hidden;
    text-align: center;
    margin: 20px;
    transition: visibility 0.0s ease-in-out, font-size 0.0s ease-in-out;
}

.video:hover .video-blurb {
    visibility: visible;
    font-size: 14px; /* Sets a font size when visible */
}

.video:hover img {
    filter: brightness(50%);
}



.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: auto; /* Allows scrolling on smaller screens */
}

.modal iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%; /* Responsive width */
    height: 50%; /* Responsive height */
    transform: translate(-50%, -50%);
    border: none; /* Removes default iframe border */
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
