*{
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 font-size: 103%;
 font-family:  Consolas, 'Courier New', monospace;
 letter-spacing: -1px;
 line-height: 1em;
 text-shadow: .5px 0px 0px  rgb(0, 0, 0);
}
.mr{
 margin-left: 265px;
}

.home-link {
  position: relative;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--main-button-color);
  text-align: right; /* Add this */
}

.home-link a {
  display: inline-block; /* Change from inline-flex */
  align-items: center;
  gap: 10px;
  color: #333;
  text-decoration: none;
  font-size: 1.35em;
  font-weight: 600;
  padding: 8px 20px; 
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.home-link a:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  border-color: rgba(102, 126, 234, 0.2);
}

.home-link a:visited{
color: black;
}
.eInfo{
font-size: 18px;
}

.toggleChords{
position: absolute;
left: 0;
}
.switch {
 margin-top: 1em;
position: relative;
display: inline-block;
width: 34px;
/* Updated width */
height: 24px;
/* Updated height */
text-align: center;
}

.switch input {
opacity: 0;
width: 0;
height: 0;
}

.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--main-button-color);
transition: 0.4s;
}



input:checked+.slider {
/* background-color: #a4a4a4; */
}

input:focus+.slider {
box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
transform: translateX(18px);
/* Updated translation */
}

/* Rounded sliders */
.slider.round {
border-radius: 24px;
/* Updated border-radius */
}

.slider.round:before {
border-radius: 50%;
}

.eInfo{
 font-size: 1em;
 margin-top: -2em;
}
:root{
--main-button-color: rgb(211, 211, 211); 
}


.my-songs::-webkit-scrollbar {
display: none;
/* Chrome, Safari, and Opera */
}


li{
list-style: none;
}
a{
 cursor: pointer;
}
body{
background-color: rgb(240, 240, 240);
}
b{
 width: 1.5rem !important;
 margin-left: -1px;
}
.songs{
 padding: 2em;
 padding-top: 0;
}
.songs-container,
.eSong
{
width: 100%;
overflow: scroll;
white-space: nowrap;
max-height: 100%;
}
.no-scroll{
overflow: unset;
}
.transpose{
 background-color: var(--main-button-color);
 border: none;
 color: black;
 font-weight: bold;
 width: 100px;
 margin: .25em 1em 0 1em;
 font-size: 1.25em;
}
button{
 border-radius: 5px;
}
.t-buttons{
 width: 450px;
 text-align: center;
 margin-bottom: 1em;
 font-size: 22.5px;
 margin-top: 1em;
}
.t-buttons p{
 text-transform: uppercase;
 text-align: center;
}

button:hover{
 cursor: pointer ;
}
.related-songs{
 background-color: var(--main-button-color);
box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
     padding: .5em 1em;;
    width: 100%;
    font-size: 1em;
}
.related-songs a{
     text-decoration: none;
    color: black;
    line-height: 1.25em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.75);
    letter-spacing: -1.5px;
    margin-left: .75em;
}

.song{
 width: 100%;
 margin: auto;
 padding-top: 1em;
 text-align: center;
 font-size: 1.5em;
}
.eSong a,
.songs a{
 text-decoration: none;
 color: black;
 font-size: 1.25em;
 line-height: 1.5em;
 border-bottom: 1px solid black;
 letter-spacing: -1.5px;
}
.songs h3{
 font-size: 1.5em;
 margin-left: 2em;
 margin-bottom: .5em;
}

.song-container{
 position: relative;
 margin-top: .5em;
 background-color: rgb(255, 255, 255);
 overflow: auto;
 z-index: 1;
 margin: auto;
 max-width: 750px;
}
.song-title{
 width: 450px;
 text-align: center;
 font-size: 1.2em;
 padding: 0 .5em;
}
.hide{
 display: none;
}

.t-g{
 display: flex;
 width: 100%;
 justify-content: space-between;
}
.i-text{
 margin-left: 0;
}
.d{
 display: flex;
}
.d input{
 width: 100%;
 overflow: hidden;
}
.i-gama{
 height: 25px;
}
select{
 overflow: hidden;
}
select option{
 min-height: 50px;
}
.gama-options{
 text-align: center;
 width: 150px;
 max-height: 150px;
 overflow: hidden;
}
.add-song textarea{
 width: 100% !important;
 resize: none;
 padding: 1em;
 /*phone font-size: .6em; */
 /*tablet font-size: 1em; */
}
.i-button{
 background-color: var(--main-button-color);
 padding: .25em;
 width: 100%;
 margin: auto;
 border: none;
 margin-top: .5em;
}
.add-second-song-button,
.add-song-button{
 background-color: var(--main-button-color);
     text-align: center;
     border: none;
     padding: .25em .5em .15em .5em ;
}
.shareFavSongs{
 background-color: var(--main-button-color);
 margin: auto;
 text-align: center;
 border: none;
 padding: .25em .5em .15em .5em ;
 margin-bottom: .5em;
}
.add-second-song-button{
 margin-bottom: .5em;
 font-size: 1.05em;
}
.songs h4{
 font-size: 1.25em;
}
.song-text,
.song-text2{
    font-size: 1.1em;
    letter-spacing: 0;
    margin-left: 1em;
    /* line-height: 1em; */
}

.eSong{
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 5;
background-color: rgb(255, 255, 255);
width: 90%;
height: 70%;
overflow: hidden;
font-size: 1em;
max-width: 600px;
box-shadow: 0 0 10px 3px rgba(143, 143, 143, 0.5); /* Use rgba for transparent shadow */
}

.eSong{
 overflow-y: scroll; /* Enable vertical scrolling */
 scrollbar-width: none; /* Firefox */
 -ms-overflow-style: none; /* Internet Explorer/Edge */
}

.eSong::-webkit-scrollbar {
 display: none; /* WebKit browsers (Chrome, Safari) */
}

.hide{
display: none;
}
.ts{
 display: initial;
 font-size: 100% ;
}
.toateCantecele{
 font-size: 1.25em;
}
.related-songs h3{
 font-size: 1.25em;
 margin-bottom: .25em;
}
@media screen and (max-width: 768px) {
  .related-songs{
  font-size: .85em;
 }
 .home-link a {
  gap: 10px;
  color: #333;
  font-size: 1em;
  font-weight: 600;
  padding: 8px 20px; 
}
 .add-song {
     padding-top: 1em;
 }
 .t-buttons p{
     /* font size tablet transpose text  */
 font-size: .9em;
 }
 .song{
     display: none;
 }
 .eSong a,
 .songs a{
     /* font size tablet  song list */
     font-size: 1.25em;
 }
 .songs h3{
     font-size: 1.5em;
     margin: 1em 0 1em 0;
     text-align: center;
 }
.song-container{
 padding: 0;
 font-size: 1.25em;
}
.close,
.close2{
 top: -10%;
 font-size: 1.1em;
}
 .song-title {
  width:80vw;
  max-width: 375px;
text-align: center;
  font-size: .8em;
 }
.song-text,
.song-text2{
 /* font-size lyrics tablet */
 font-size: .85em;
 margin-left: 2em;
 letter-spacing: -1.25px;
 line-height: 1em;
}
.mr{
 margin-left: 245px;
}
.eInfo{
 font-size: 1em;
 margin-top: -35px;
}
}
@media screen and (max-width: 476px) {
 .toggleChords svg{
  width: 18px;
  height: 18px;
 }
 .switch {
 margin-top: 0;
width: 30px;
height: 22px;
}
 .home-link{
  font-size: 1em;
 }
  .related-songs{
  font-size: .75em;
 }
 .mr{
  margin-left: 55vw;
 }
 .eInfo{
  font-size: 1em;
  margin-top: -25px;
 }
 .add-song{
     font-size: .9em;
     padding: 1em;
 }
 .t-g{
     flex-direction: column;
 }
 .i-gama{
     margin-top: .5em;
     margin-bottom: -.5em;
 }
 .add-song textarea {
     width: 100%;
 font-size: .6735em;
     font-family: 'Courier New', Courier, monospace;
 }
 .songs{
     padding: 1em;
     padding-top: 0.5em;
 }
 .search-container{
  margin-top: -1.75em;
 }
 .eSong a,
 .songs a{
             /* font size phone song list */
     font-size: 1.15em;
     letter-spacing: -2px;
 }
 .songs h3{
     text-align: center;
     margin-top: .5em;
 }
 .close,
 .close2{
     top: -15%;
     font-size: 1em;
 }
 .song-title{
     margin: auto;
     text-align: center;
 }

 .song-text,
 .song-text2{
     /* font size lirics  */
     font-size: .6em;
     letter-spacing: -1.75px;
     margin-left: 1em;
     line-height: .9em;
  word-spacing: .25px;

 }
.s .ts{
  /* font size lirics  */ 
  font-size: 1em;
  letter-spacing: -0.8px ;
  margin-left: .75em;
 }
.s .ts b{
  letter-spacing: -0.8px ;
  word-spacing: 0; 
 }
.m .ts{
  /* font size lirics  */
  font-size: 0.975em ;
  letter-spacing: -1px ;
  margin-left: .5em;
 }
.m .ts b{
  letter-spacing: -1px ;
  word-spacing: 0; 
 }
 .l .ts{
  /* font size lirics sp-songs */
  font-size: 0.95em;
  margin-left: .25em;
 }
.l .ts b{
 letter-spacing: -1px ;
  letter-spacing: -1px;
 }

 .transpose{
     /* buttons +- */
     width: 80px;
     font-size: .9em;
 }
 .t-buttons{
     width: 92.5vw;
     text-align: center;
     margin: auto;
     margin-bottom: 1em;
 }
 .t-buttons p{
     text-transform: uppercase;
     text-align: center;
        /* font size phone transpose text  */
        font-size: .8em;
 }   
}