html,
body {
 // overflow-x: hidden; /* Prevent scroll on narrow devices */
 // height: auto;
 // min-height: 100%;
}

html {
        scroll-behavior: auto !important;
      }
      
body {
  padding-top: 56px;
  background: #f1f1f1;
  //background: #000; 
  
  margin-bottom: 60px; /* Margin bottom by footer height */
  
   // overflow-x: hidden;
    //overflow-y: hidden;

}


.two-columns {
   // position: relative;
   // width: 100%;
    column-count: 2 !important;
    column-rule: 1px solid rgb(75, 70, 74) !important;
    column-gap: 80px !important;
    column-fill: auto;
  //font-size: 10em;
}

.bg-light{
    backdrop-filter: blur(2px);
    --bs-bg-opacity: 0.5;
}

.bg-playlist{
  // background: #333;
    color: #ccc;

}

.bg-playlist .list-group-item{
    background: none;
}

.bg-playlist .list-group-item a{
    color: #abafb7;
}

.bg-playlist .list-group-item:hover{
    background: #aaa;
    
}

.bg-playlist .list-group-item:hover a{
    color: #000;
}
@media (max-width: 991.98px) {


  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    z-index: 1040;
    
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
    
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}

.bg-purple {
  background-color: #6f42c1;
}


.fs0{ font-size: 0.7em !important;  }
.fs1{ font-size: 0.85em !important; }
.fs2{ font-size: 1.0em !important;  }
.fs3{ font-size: 1.1em !important; }
.fs4{ font-size: 1.3em !important; }
.fs5{ font-size: 1.5em !important; }
.fs6{ font-size: 1.7em !important; }
.fs7{ font-size: 1.9em !important; }
.fs8{ font-size: 2.1em !important; }
.fs9{ font-size: 2.2em !important; }
.fs10{ font-size: 2.3em !important; }
.fs11{ font-size: 2.4em !important; }


.toolbar-button{
    font-size: 0.65em;
}

#song-toolbar.vertical {
    position: fixed;
    top: 90px;
    right: 20px;
    background: #fff;
    border-radius: 50px;  
    opacity: .85;
    width: 75px;
    text-align: center;

    height: 50vh; 
    padding-top: 20px;
    font-size: 2rem;
    overflow: none;
}

#song-toolbar.horizontal{

    position: fixed;
    bottom: 10px;
    left: 5%;
    background: #fff;
    border-radius: 50px;  
    opacity: .85;
  //  width: 75px;
    text-align: center;
    height: 60px;
    line-height: 60px;
    width: 90vw; 
 //   padding-top: 20px;
    font-size: 2rem;
    overflow: none;
    margin:0 auto 0;
    
}


#song-content{
    font-size: 1.0em;
    color: #333;
   // border: 1px solid #aaa;
}

.song-line {
    position: relative;
    line-height: 1.2em;
   // margin-bottom: 10px;
}



.chord {
   /*
    position: absolute;
    top: -0.8em;
    */
    font-size: inherit;
    font-weight: bold;
    background: #f7f7f7; 
    border-radius: 5px;
    padding: 0px 3px;
    //line-height: 1.25em;
    color: #3ebbeb;

}


.song-line.chords.chords-off{
    display: none;
}

.no-chords{
  //  line-height: 1.0em;
}

.chords-off{
 //display: none;
}

/*
.chords-off > .chord {
    display: none;
    line-height:0.1em;
}
*/



.offcanvas-header{
   background-color: #303c54;
}

.offcanvas-body{
    background-color: #3c4b64;
}

.offcanvas-body::-webkit-scrollbar {
  width: 20px;
}

.offcanvas-body::-webkit-scrollbar-track {
//  background-color: #e4e4e4;
  border-radius: 100px;
}

.offcanvas-body::-webkit-scrollbar-thumb {
  border-radius: 100px;
  border: 8px solid transparent;
  background-clip: content-box;
 // background-color: #8070d4;
 //background-color: #777;
 background-color: #333;
}


.song-line.chords-with-text{
    //line-height: 1.5em;
}

.song-line.chords-with-text > .chord{
    position: relative;
    top: 0;
}



.footer {
 /* position: absolute;
  bottom: 0;*/
  text-align: center;
  //width: 350px;
  height: 120px; /* Set the fixed height of the footer here */
  line-height: 60px; /* Vertically center the text there */
  //background-color: transparent !important;
 // opacity: .3;
  //border-radius: 30px;
  margin: 0 auto;
}

.fixed-bottom{
    z-index: 1;
}



@media (max-width: 1200px) {

  .container{
      max-width: 100% !important;
  }
  
}


body.dark-mode {
  background-color: #292929;
  color: #ccc;
}

/* Override internal elements */
body.dark-mode .two-columns {
  column-rule: 1px solid #444 !important;
}

body.dark-mode .bg-light {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode .chord {
  background: #2a2a2a;
  color: #40c4ff;
}

body.dark-mode .offcanvas-header {
  background-color: #1c1f2b;
}

body.dark-mode .offcanvas-body {
  background-color: #252b3a;
}

body.dark-mode .offcanvas-body::-webkit-scrollbar-thumb {
  background-color: #555;
}

body.dark-mode .list-group-item a {
  color: #aaa;
}

body.dark-mode .list-group-item:hover {
  background: #444;
}

body.dark-mode .list-group-item:hover a {
  color: #fff;
}

body.dark-mode #song-content{
    font-size: 1.0em;
    color: #bbb;
}

body.dark-mode .navbar-light .navbar-brand {
    color: rgba(255, 255, 255, .9);
}



body.dark-mode #song-toolbar.vertical {
    position: fixed;
    top: 90px;
    right: 20px;
    background: #121212;
    border-radius: 50px;  
    opacity: .85;
    width: 75px;
    text-align: center;

    height: 50vh; 
    padding-top: 20px;
    font-size: 2rem;
    overflow: none;
}

body.dark-mode #song-toolbar.horizontal{

    position: fixed;
    bottom: 10px;
    left: 5%;
    background: #222;
    border-radius: 50px;  
    opacity: .85;
  //  width: 75px;
    text-align: center;
    height: 60px;
    line-height: 60px;
    width: 90vw; 
 //   padding-top: 20px;
    font-size: 2rem;
    overflow: none;
    margin:0 auto 0;
   /* border: 2px solid #666;*/
    
}

body.dark-mode .toolbar-button{
    color: #ccc;
}

