/* CSS to help disable momentum scrolling */
body {
    margin: 0;
    background-color: #000;/* Set default background color to black */
    font-size: 2rem;
    position: relative;
    color: #FFF;
    }

    h1,h2,h3,h4,h5 {color: #FFF;}

@media(max-width: 800px) {
    body {
        font-size: 1.6rem;
    }
}

body.timekeeper-page {min-height: 1500px;}

label,div {color: #FFF;}

body.timekeeper-page label,div {color: #000;}

div {margin-bottom: 10px;}

.counter {display: block; clear: both; height: 1px; margin-bottom: 0px; }    

.gradient-background::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgb(0,10,65);
    background: linear-gradient(180deg, rgba(0,10,65,1) 0%, rgba(0,0,0,1) 0%, rgba(3,4,8,1) 13%, rgba(40,47,96,1) 100%);
    z-index: -1; /* Ensures it stays behind all content */
}

.gradient-background::after {
    content: "";
    position: fixed;
    bottom: -100px; /* Position above the bottom */
    left: -100px; /* Move inside the viewport */
    width: 600px; /* Adjust based on image size */
    height: 600px; /* Ensures visibility */
    background: url('https://paulinkles.sirv.com/Websites/thisacousticguy/global/components/ag-logo.svg') no-repeat center;
    background-size: contain; /* Ensures the full image fits */
    transform: rotate(-15deg); /* Rotates the image */
    z-index: -1; /* Places it above the background gradient but behind content */
    opacity: 0.01; /* Set to 1 for full visibility */
    pointer-events: none; /* Ensures it doesn’t block clicks */
}

.grad-sides-btm {
    position: relative;
}

.grad-sides-btm::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to left, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 1) 100%), /* Left fade */
        linear-gradient(to right, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 1) 100%), /* Right fade */
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 1) 100%); /* Bottom fade */
    pointer-events: none; /* Ensures it's not interactive */
    z-index: 1;
}

.grad-sides-btm img {
    position: relative;
    z-index: 0;
}

.homepage-content {
    text-align: center;
    position: absolute;
    top: 30vh;
    width: 100%;
    z-index: 1;
}

section {margin-bottom: 2%; padding: 10px;}
section:nth-of-type(even) {background: rgba(255, 255, 255, 0.3);}
p {padding: 5px;position: relative; z-index: 10; line-height: 3rem;}
p.umf {background-color: #532000;}
p.adam {background-color: #320038}
p.joint {background-color: #0e3500}
p span i {width: 50px; display: inline-block;}
p span {position: relative;}
p span em {
    background-color: rgba(0, 0, 255, 0.6);
    color: yellow;
    border: none;
    border-radius: 5px;
    padding: 0 5px;
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    top: -20px;
    left: -10px;
    z-index: -1;
    line-height: normal;
}

.song {width: 100%; box-sizing: border-box; position: relative; padding-top: 45vh;}
.song.modify-intro-0vh {padding-top: 0vh;}
.song.modify-intro-10vh {padding-top: 10vh;}
.song.modify-intro-20vh {padding-top: 20vh;}
.song.modify-intro-30vh {padding-top: 30vh;}
.song.modify-intro-40vh {padding-top: 40vh;}
.song.modify-intro-50vh {padding-top: 50vh;}
.song.modify-intro-60vh {padding-top: 60vh;}
.song.modify-intro-70vh {padding-top: 70vh;}
.song.modify-intro-80vh {padding-top: 80vh;}
.song.modify-intro-90vh {padding-top: 90vh;}

.song img {width: 100%; max-width: 800px; height: auto; padding:0 2%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
@media(max-width: 800px) {
    .song img {width: 100%;}
}

.songmarkercontainer {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
}

.songmarker {
    width: 100%;
    height: 10px;
    border-top: 1px solid #FFF;
}
.songmarker:nth-child(10n) {
    border-top: 1px solid #ff0000;
    position: relative;
}
.songmarker:nth-child(10n)::after {
  content: attr(data-number);
  position: absolute;
  top: 0; /* or tweak as needed */
  left: 5px;
  font-size: 10px;
  color: #ff5e57;
}

@media(max-width: 680px) {
    p {font-size: 1rem;}
}

.flashbar {
    background-color: black;
    opacity: 0.8;
    width: 100%;
    height: 1%;
    margin: 0;
    position: fixed;
    left: 0;
    z-index: 999;
}

.bpmsetter {position: relative;z-index: 99999;}
.flashbar-top {top: 0; left: 0; width: 5px; height: 100%;}
.flashbar-bottom {top: 0; right: 0; width: 5px; height: 100%; left: initial;}
.flashbar.transparent {opacity: 0;}
.flashbar-page {width:100%;height: 100vh; position: absolute; top: 0; left: 0; z-index: 9999; opacity: 0.1; background-color: #000;}
.time-flash .homepage-content {z-index: 9999;}

@media(max-width: 680px) {
    p span em { font-size: 1.2rem;background-color: rgba(0, 0, 255, 0.3); }
}

.songlists div a {font-weight: bold;}
.songlists div a span {color: #fff; font-weight: normal;}

span.left-type {position: absolute;left: 0; padding-left: 5px;}
span.special-note {color: yellow;}

.song-info {position: relative; z-index: 99999;}
.song-info p {background: none;}

#capo-sig {
background: none;
}
    
#updateBPM, #bpmInput {
    position: relative;
    z-index: 99999;
}

.fix-b-r {
    position: fixed;
    bottom: 100px; 
    right: -90px;
    z-index: 999999999;
    transform: rotate(270deg);
    opacity: 0.7;
}

.fix-b-r .btn {
    padding: 8px!important;
}

.top-left-btns {
    position: fixed;
    top: 50px; 
    left: -40px;
    z-index: 999999999;
    transform: rotate(-90deg);
    opacity: 0.7;
}

.top-left-btns .btn {
    padding: 8px!important;
    border-color: #000;
    color: #fff;
}

#sortButtons {
    position: fixed;
    top: 10px;
    left: 10px;
}

#songtitle {
    color: #000; font-weight: bold;
    text-transform: capitalize;
}

#artist {
    color: #dc3545;
    text-transform: capitalize;
}

.btn-dark #artist, .btn-dark #songtitle { color: #FFF;}

.songpagetitle {
    text-transform: capitalize;
}

.stickbottom {
    position: fixed;
    bottom: 0;
    width: 100%;
}

#tabs ul li {
    display: inline-block;
}

.pg-up, .pg-dwn {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 0;
    opacity: 0.7;
    width: 100%;
    height: 48%;
    background: none;
}
.pg-up:hover, .pg-dwn:hover {
    cursor: pointer;
}

.pg-dwn {
    top: initial;
    bottom: 0;
}

.pg-up img, .pg-dwn img {
    width: 50px;
    position: absolute;
    bottom: 3px;
    left: 0;
    left: 50%;
    transform: translate(-50%, 0);}

.pg-up img {
    transform: rotate(180deg);
    bottom: initial;
    top: 3px;
}

@keyframes wobbleWithLongPause {
    0% {
        transform: rotate(0deg);
        background-color: #28a745; /* Original color (Bootstrap primary green) */
    }
    10% {
        transform: rotate(5deg);
        background-color: #67ce00; /* yellow */
    }
    20% {
        transform: rotate(-5deg);
        background-color: #67ce00; /* yellow */
    }
    30% {
        transform: rotate(3deg);
        background-color: #67ce00; /* yellow */
    }
    40% {
        transform: rotate(0deg);
        background-color: #28a745; /* Back to green */
    }
    100% {
        transform: rotate(0deg); /* Pause in steady state */
        background-color: #28a745; /* Stay green */
    }
}

#updateBPM {
    animation: wobbleWithLongPause 2s infinite; /* 1s wobble + 1.5s pause */
    animation-timing-function: ease-in-out;
    transition: background-color 0.2s ease-in-out; /* Smooth color transition */
    border-color: #fff;
    color: #fff;
    font-size: 2rem;
}

.chord-img {
    border-radius: 15px; /* Adjust for desired roundness */
    box-shadow: 5px 5px 15px #090909; /* X offset, Y offset, blur radius, shadow color */
    border: 2px solid #ffc107;
}

.special-notes {
    background-color: #F00!important;
    color: #FFF;
    padding: 10px;
    margin: 0 20px 20px;
    border-radius: 15px;
    line-height: 1rem;
    font-size: 1rem;
}

.special-notes span {
    line-height: 1rem;
    font-size: 1.5rem;
    display: block;
}


a.neonbtn {
    position: relative;
    display: inline-block;
    padding: 25px;
    color: #03e9f4;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: 4px;
    overflow: hidden;
    filter: hue-rotate(0deg);
    animation: hueAnimation 5s linear infinite;
    /* Adding smooth transition for scaling */
    transform: scale(1); /* Default scale */
    transition: transform 0.3s ease; /* Adding transition for transform */
}

a.neonbtntwo {
    filter: hue-rotate(360deg);
    animation: hueAnimationRev 5s linear infinite;
}

/* Animation to continuously rotate the hue */
@keyframes hueAnimation {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}
/* Animation to continuously rotate the hue */
@keyframes hueAnimationRev {
    0% {
        filter: hue-rotate(360deg);
    }
    100% {
        filter: hue-rotate(0deg);
    }
}

a.neonbtn:hover {
    transform: scale(0.9); /* Shrinks the button by 10% on hover */
}

a.neonbtn span {
    position: absolute;
    display: block;
}

a.neonbtn span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #03e9f4);
    animation: neonimate1 1s linear infinite;
}

@keyframes neonimate1 {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

a.neonbtn span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #03e9f4);
    animation: neonimate2 1s linear infinite;
    animation-delay: 0.25s;
}

@keyframes neonimate2 {
    0% {
        top: -100%;
    }
    50%, 100% {
        top: 100%;
    }
}

a.neonbtn span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #03e9f4);
    animation: neonimate3 1s linear infinite;
    animation-delay: 0.50s;
}

@keyframes neonimate3 {
    0% {
        right: -100%;
    }
    50%, 100% {
        right: 100%;
    }
}

a.neonbtn span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #03e9f4);
    animation: neonimate4 1s linear infinite;
    animation-delay: 0.75s;
}

@keyframes neonimate4 {
    0% {
        bottom: -100%;
    }
    50%, 100% {
        bottom: 100%;
    }
}

.social-links a {
    display: inline-block;
    animation: subtleCrazy 3s infinite ease-in-out alternate;
    transition: transform 0.2s ease-out;
    opacity: 0.8;
}

/* Make each link start at a different time */
.social-links a:nth-child(1) { animation-delay: 0s; }
.social-links a:nth-child(2) { animation-delay: 0.5s; }
.social-links a:nth-child(3) { animation-delay: 1s; }
.social-links a:nth-child(4) { animation-delay: 1.5s; }

.social-links a:hover {
    transform: scale(1.1) translateY(-5px) rotate(5deg);
    animation:none;
    opacity: 1;
}
    
@keyframes subtleCrazy {
    0% { transform: scale(1) rotate(0deg) translateY(0px); }
    25% { transform: scale(1.05) rotate(2deg) translateY(-1px); }
    50% { transform: scale(0.98) rotate(-2deg) translateY(1px); }
    75% { transform: scale(1.02) rotate(1deg) translateY(-1px); }
    100% { transform: scale(1) rotate(0deg) translateY(0px); }
}


/* Alphabet Nav Start */

@media(max-width: 699px) {
#alphabetNav {
    position: fixed;
    right: 10px;
    top: 10px;
    height: 90vh; 
    overflow-y: auto; 
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
}
#alphabetNav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#alphabetNav li {
    text-align: center;
    margin: 5px 0;
}
#alphabetNav a {
    display: block;
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 5px;
    transition: 0.2s;
}
#alphabetNav a:hover {
    background: white;
    color: black;
    border-radius: 3px;
}
}
@media(min-width: 700px) {

        #alphabetNav {
        position: fixed;
        right: 10px;
        top: 10px;          
        bottom: 10px;       
        width: 50px;   
        background: rgba(0, 0, 0, 0.7);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        }

        #alphabetNav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        }

        #alphabetNav li {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        }

        #alphabetNav a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        color: white;
        font-weight: bold;
        text-decoration: none;
        font-size: 1.2rem;
        transition: 0.2s;
        line-height: 1;
        padding: 4px 0;
        }

        #alphabetNav a:hover,
        #alphabetNav a:active {
        background: white;
        color: black;
        border-radius: 4px;
        }
}

/* Alphabet Nav End */
