/* CONTAINING EVERYTHING ABOUT THE SIDEBAR*/

  .sidebar-container {
    font-family: 'Overpass Variable', sans-serif;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.8fr 1fr 0.2fr;
    background-color: #1818186e;
    color: white;
    height: 100%; /* Ensure the sidebar fills its parent container */
    /* Enable vertical scrolling */
  }
  
/* Scrollbar customization */
.sidebar-container {
  overflow-y: scroll; 
  scrollbar-width: none; 
}

.sidebar-container::-webkit-scrollbar {
  display: none; 
}


  .sidebar-heading {
    position: relative; /* Position relative to create a stacking context */
  }
  
  .sidebar-heading::before {
    content: ""; /* Add content */
    position: absolute; /* Position absolute to position the line */
    left: -3vh; /* Position the line at the start of the element */
    width: 150%; /* Make the line span the width of the parent */
    height: 0.1px;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%); /* Adjust vertical position to center the line */
  }
  .sidebar-heading-text {
    display: block;
    margin: 0;
    padding: 0;
    padding-left: 3vh;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5vh;
  }
  
  .app-logo-title {
    display: flex;
    align-items: center;
    padding: 2vh;
  }
  
  .app-logo-title img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  
  /* USEFUL LINKS FOR EXPLORING, SUCH AS GAME HUB AND LIBRARY*/
  
  .sidebar-links {
    padding: 20px;
    padding-top: 10px;
  }
  
  .useful-links {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1em;
    max-height: 30vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .useful-links li {
    display: flex;
    /* align-items: center; */
    padding: 3vh;
    width: 100%; /* Take full width */
    box-sizing: border-box; /* Include padding in width calculation */
  }
  
  .useful-links li:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    height: 20px;
    cursor: pointer;
  }
  
  
.sidebar-downloading-game {
    width: 17vw;
}
/* SIDEBAR GAMES CONTAINER, WILL HAVE ALL GAMES THAT WERE RECENTLY PLAYED.*/


.useful-links a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    width: 100%; /* Take full width */
    box-sizing: border-box; /* Include padding in width calculation */
  }

.useful-links svg {
    margin-right: 10px;
}

.useful-links p {
    margin: 0;
    align-content: center;
}

.sidebar-unique-game:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  cursor: pointer;
}

#link-settings, #link-library, #link-gamehub {
  height: 100%;
  border-radius: 5px;
  display: inline-flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

#link-settings:hover, #link-library:hover, #link-gamehub:hover {
    background-color: rgba(255, 255, 255, 0.05);
}