@font-face {
    font-family: 'MyFont';
    src: url('font.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }
  
  #paneContainer {
    position: relative;
    width: 100%;
    height: calc(100vh - 40px);
    background-color: #272727;
    overflow: hidden;
    background-size: 20px 20px;
  }
  
  #taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #171717;
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  }
  
  #menu {
    position: relative;
    display: inline-block;
  }
  
  #addPaneButton {
    cursor: pointer;
    border: none;
    height: 40px;
    box-shadow: 4px 0 2.5px 0px rgba(0, 0, 0, 0.5);
    z-index: 11;
  }
  
  #submenu {
    display: none;
    position: absolute;
    top: -170px;
    left: 10px;
    background-color: rgb(31, 31, 31);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 0.5em;
    min-width: 200px; /* Minimum width */
    max-width: 300px; /* Maximum width */
    max-height: 200px; /* Maximum height */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Disable horizontal scrolling */
  }
  
  #submenu button {
    padding: 10px;
    width: 100%;
    border: none;
    background: none;
    background-color: #393939;
    text-align: left;
    cursor: pointer;
    color: white;
  }
  
  #submenu button:hover {
    background-color: #363636;
  }
  
  /* Scrollbar styles */
  #submenu::-webkit-scrollbar {
    width: 8px;
  }
  
  #submenu::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 4px;
  }
  
  #submenu::-webkit-scrollbar-track {
    background: #2c2c2c;
  }


  .taskbar-button {
    background: none;
    border: none;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    background-color: #262626;
    height: 40px;
    z-index: auto;
  }
  
  .taskbar-button.active {
    background-color: #171717;
    box-shadow: 0px 0 3px 1.5px rgba(0, 0, 0, 0.5), 0px 0 3px 1.5px rgba(0, 0, 0, 0.5);
    z-index: 10;
  }
  
  .taskbar-button:hover {
    background-color: #2c2e2e;
    box-shadow: 0px 0 3px 1.5px rgba(0, 0, 0, 0.5), 0px 0 3px 1.5px rgba(0, 0, 0, 0.5);
    z-index: 10;
  }
  
  .material-symbols-outlined {
    font-variation-settings:
      'FILL' 0,
      'wght' 300,
      'GRAD' 0,
      'opsz' 20;
  }
  
  #taskbarButtonsContainer {
    display: flex;
    overflow-x: auto;
    flex-grow: 1;
    scrollbar-width: none; /* For Firefox */
  }
  
  #taskbarButtonsContainer::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
  }
  
  #taskbarButtons {
    display: flex;
    align-items: center;
  }
  