﻿  #main {
            font-family: Arial, sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: #f0f0f0;
            margin: 0;
            padding: 2px;
        
         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;
    } 


        #controls {
            margin: 20px 0;
            background-color: #333;
            padding: 10px;
            max-width: 600px;
            width: auto;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-wrap: wrap;
            box-sizing: border-box;
            


        }

        button {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 8px;
            margin: 5px;
            cursor: pointer;
            border-radius: 5px;
            font-size: 14px;
            position: relative;
            transition: background-color 0.3s;
            min-width: 40px;
        }

        button:hover {
            background-color: #45a049;
        }

        /* Tooltip styles */
        button .tooltip {
            visibility: hidden;
            width: 100px;
            background-color: #333;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -50px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 12px;
        }

        button:hover .tooltip {
            visibility: visible;
            opacity: 1;
        }

        #currentSong {
            font-size: 16px;
            margin-top: 0px;
            align-items: center;
            color: black;
            background-color: white;
            padding: 0px;
            width: 100%;
            max-width: 600px;
            text-align: center;
            z-index:10;
         }  
         
          /*   background: url('images/bg_blue.png') no-repeat center center fixed;
      background-size: cover;
      
       z-index:5;
  background-color:white;
  opacity:0.9;
  color:black;
    
      
*/

      
        
        
        
        #songGrid {
            display: grid;
            grid-template-columns: repeat(7, 2fr);
            gap: 10px;
            max-width: 1100px;
            margin: 10px 0;
            width: 100%;
        }

        
        .song-item {
            text-align: center;
            border: 1px solid #ddd;
            padding: 5px;
            color:black;
            background-color: white;
            cursor: pointer;
        }

        .song-item img {
            width: 100px;
            height: 100px;
            object-fit: cover;
        }

        .song-item:hover {
            background-color: silver;
            
        }

        
       
        /* Responsive Design 1000 */
        @media (max-width: 1000px) {

         #controls {
                flex-direction: column;
                padding: 5px;
                max-width: 600px;
                width: auto;
            }

            button {
                width: auto;
                margin: 5px 0;
                font-size: 12px;
                padding: 8px;
                min-width: 0;
            }

            #songGrid {
                grid-template-columns: repeat(5, 1fr);
            }

            .song-item img {
                width: 80px;
                height: 80px;
            }

            #currentSong {
                font-size: 11px;
                padding: 1px;
                
            }
        }
    
        
        
        
        
/* Responsive Design 600 */        
        @media (max-width: 600px) {
            #controls {
                flex-direction: column;
                padding: 5px;
                max-width: 300px;
                width: auto;
            }

            button {
                width: auto;
                margin: 5px 0;
                font-size: 12px;
                padding: 8px;
                min-width: 0;
            }

            #songGrid {
                grid-template-columns: repeat(2, 1fr);
            }

            .song-item img {
                width: 80px;
                height: 80px;
            }

            #currentSong {
                font-size: 11px;
                padding: 5px;
                
            }
        }



/* Responsive Design 400*/
        @media (max-width: 400px) {
            #controls {
                max-width: 200px;
            }

            #songGrid {
            grid-template-columns: repeat(2, 1fr);

              /*  grid-template-columns: 2fr; */
            }

            .song-item img {
                width: 80px;
                height: 80px;
            }
        }
