﻿ #main {
            font-family: Arial, sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
    /*    background: url('images/bg_blue.png') no-repeat center center fixed;
      background-size: cover;
   */
}
   /*     body {
            font-family: Arial, sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
            background: url('images/bg_blue.png') no-repeat center center fixed;
      		background-size: cover;

      */ 
      
      
        body {
      font-family: Arial, sans-serif;
      
      background: url('images/bg_blue.png') no-repeat center center fixed;
      background-size: cover;      
      
      margin: 0;
      text-align: center;
      color:white;
     
    } 


        }
        #videoPlayer {
     position: fixed;
          max-width: 200px;
            width: 20%;
            height: auto; 
            background-color: black;
            
             width:200px;
              height:100px;
         
            
        }
        
        
        
        #controls {
            margin-top: 10px;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 5px;
            text-align:center;
        	padding: 5px;
        	
   		   			
  /*
	width:400px; 
   			z-index:5;
   			
   			  margin: auto;
  width: 50%;
  border-radius: 10px;
  			border: 1px solid black;
   			height: 80px;
  
   */ 			
   			
   			
  /*
  padding: 1px;
  background:white; 
  color:black;
  height: 100px;
  width:500px; 
  z-index:5;
  background-color:white;
  padding:5px;
  opacity:0.9;
  
background:white; 
   			opacity:0.9;   

  */
            
        }
        button {
            padding: 8px;
            margin: 0;
            cursor: pointer;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 14px;
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            position: relative; /* For tooltip positioning */
        }
        button:hover {
            background-color: #0056b3;
        }
        /* Tooltip styling */
        button[title]:hover::after {
            content: attr(title);
            position: absolute;
            top: -40px; /* Position above the button */
            left: 50%;
            transform: translateX(-50%);
            background-color: #333;
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 12px;
            white-space: nowrap;
            z-index: 10;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        button[title]:hover::before {
            content: '';
            position: absolute;
            top: -10px; /* Triangle pointing down to button */
            left: 50%;
            transform: translateX(-50%);
            border: 5px solid transparent;
            border-top-color: #333; /* Triangle color matches tooltip */
            z-index: 10;
        }
        #volumeControl {
            margin: 0 10px;
            display: flex;
            align-items: center;
        }
        #volumeControl input {
            width: 100px;
        }
        #nowPlaying {
            margin-top: 10px;
            font-weight: bold;
        }
        
        
        

        
        
        
        
        
        #thumbnailGallery {
           
           
            display: grid;
            grid-template-columns: repeat(7, 2fr);
            gap: 10px;
          max-width: 800px;  
            margin: 10px 0;
            width: 760px;
		/* height:210px;  */
		margin-left: auto;
  margin-right: auto;


/* margin-top: 20px;
            display: flex;
            grid-template-columns: repeat(auto-fill, minmax(100px, 7fr));
            gap: 10px;
            height:100px;
              width: 50%;
            
                margin-left: auto;
  margin-right: auto;
*/

            
            
        }
        .thumbnail {
            cursor: pointer;
            border: 2px solid #ccc;
            border-radius: 5px;
            overflow: hidden;
            height:150px;
            background-color:white;
        }
        .thumbnail img {
            width: 100px;
            height: 100px;
            display: block;
        }
        .thumbnail:hover {
            border-color: #007bff;
        }
        .thumbnail-title {
            text-align: center;
            padding-top:10px;
           
            font-size: 14px;
            background-color: #f8f8f8;
            color:black;
        }
        
