:root {
    --note-6-1--: transform: translate(162px, 11px);
}

@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

.audiowide-regular {
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  .dm-sans-normal {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
  }
 
body, html {
    margin: 0;
    padding: 0;
}  

body {
    padding-top: 50px; /* 70px */
    padding-bottom: 140px;
    position: relative;
    /* font-family: "Audiowide", sans-serif; */
    font-family: "DM+Sans", sans-serif;
}

.bg_hm {
    background-image: url('/imgs/home-bg.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body.bg_hm .jumbotron-image {
    background-color: rgba(3, 48, 89, 0.77);
}

/* Overlay that covers the image */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85); /* White color with 50% opacity */
    z-index: 1; /* Make sure it's below the content */
}

/* Content (text) */
.content {
    position: relative;
    z-index: 2; /* Higher z-index to place it above the overlay */
    /* padding: 20px; */
    /* color: #000; */ /* Ensure the text is visible */
}

.main-page h2 {
    color: #f57628;
    font-size: 24px;
}

.mb_50 {
    margin-bottom: 50px;
}

.mb_25 {
    margin-bottom: 25px;
}

/* ================== Navbar ================== */

.navbar-default {
    background-color: #fff;
    background-image: none;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.open>a {
    background-image: none;
    /* background-image: -webkit-linear-gradient(top, #fff 0, #f8f8f8 100%);
    background-image: -o-linear-gradient(top, #fff 0, #f8f8f8 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
    background-image: linear-gradient(to bottom, #fff 0, #f8f8f8 100%); */
    box-shadow: none;
    background-color: #fff;
    /* color: #186391; */
    color: #186391;
    text-decoration: underline;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    background-color:#fff;
}
.navbar-nav {
    width: 100%;
    text-align: center;
    > li {
      float: none;
      display: inline-block;
    }
  }

.navbar-brand img {
    width:65px;
}

.navbar-default .navbar-brand {
    font-size: 16px;
    color: #eb2323;
}

.jumbotron {
    /* padding-top: 50px; */
    padding-top: 10px;
    padding-bottom: 30px;
    padding-left: 80px;
    background: #fff;
    color: #333;
}

.jumbotron-image {
    /* background-image: url(/imgs/jumbotron-main-1.jpg); */
    background-color:#000;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    height: 178px;
}

.jumbotron.bg_tools {
    background:cadetblue;
}

h2#chord-name {
    text-align: center;
}

p {
    font-size: 20px;
}

#quick-links h3 {
    text-align: center;
}

.guitar-chord {
    text-align: center;
    
}
.thumbnail {
    border: none;
    box-shadow: none;
    position: relative;
}

.thumbnail a img {
    width: 400px;
}

.thumbnail .blk-box {
    width: 400px;
    height: 267px;
    position: absolute;
    background: #000;
    opacity: 40%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

h3.centered {
    color: #fff;
    text-transform: uppercase;
    font-size: 4rem;
    position: absolute;
    /* top: 50%; */
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.dot {
    position: absolute;
    width: 20px;
    height: 20px;
    /* left: 215px;
    top: 16px; */
    border-radius: 50%;
    background: red;
}

.note-6-1 {
    transform: translate(7px, 6px);
}

canvas {
    border: 1px solid #000;
}
.fret-num-container {
    position: absolute;
}

.fret-num {
    position: absolute;
}
.fret-num-1 {
    transform: translate(144px, 10px);
}

/* ====== Margin/Padding ====== */
.mB_5 {
    margin-bottom: 5px;
}

/* ================== Footer ================== */
footer {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    /* height: 60px; */
    background-color: #f5f5f5;
    z-index: 2;
}

footer .container .text-muted {
    margin: 5px 0;
}

footer p {
    font-size: 12px;
}

.text-muted {
    color: #777;
}

/******************** Backing Tracks ********************/
#backingtracks {
    margin-top: 50px;
}
#backingtracks iframe {
    display: block;
    width: 100%;
    height: 215px;
    /* height: 100%; */
    border-radius: 15px;
}
.genre {
    color: #337ab7;
}

/******************** ******** ********************/
/********************  CHORDS  ********************/
/******************** ******** ********************/

.bg_chd {
    background-image: url('/imgs/chords-bg.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.form-control {
    height: 40px;
    font-size: 18px;
    border: 3px solid #186391;
    color: #186391;
    border-radius: 16px;
}

#chord-name {
    /* color: #186391; */
    color: #f57628;
    font-size: 42px;
}

#chord-name sup {
    font-style: italic;
    text-decoration: underline;
}

.guitar-chord h3 {
    font-size: 33px;
}

.chord-content {
    margin-top: 100px;
}

.chord-content h2 {
    margin-bottom: 17px;
    font-size: 27px;
    color: #f57628;
}

.chord-content p {
    margin-bottom: 48px;
}

.chord-fingering {
    color: #166295;
}

/******************** ****************** ********************/
/******************** CHORD PROGRESSIONS ********************/
/******************** ****************** ********************/
/* imgs/chords/c/c-maj-1.jpg */

.chord-container {
    display: inline-block;
    text-align: center;
    margin-right: 20px;
}

.numeral {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

#chordProgressionDisplay {
    display: flex;
    justify-content: center;  /* Aligns the chords in the center */
    gap: 20px;  /* Adds space between chords */
    padding: 10px;
}

.chord {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    background-color: #f0f0f0;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.chord:hover {
    transform: scale(1.1);  /* Slightly enlarges the chord on hover */
    background-color: #d4d4d4;
}



/******************** ********* ********************/
/******************** METRONOME ********************/
/******************** ********* ********************/

.jumbotron-metronome {
    height: 100px;
    background: #fff;
    color: #000;
    padding-top: 0;
}

#beats-per-measure {
    text-align: center;
    height: 45px;
    font-size: 25px;
    border: 3px solid #c7cacc;
    width: 554px;
    margin: 0 auto;
}

#beat-display {
    background: #233551;
    color: #39f5f4;
    padding: 10px;
    font-size: 3em;
    border-radius: 4px;
    width: 554px;
    margin: 0 auto;
}

#tempo {
    font-size: 20px;
    text-align: center;
    width: 90%;
    margin-left: 22px;
    border-radius: 4px;
    border: 3px solid #c7cacc;
}

#tempo-slider {
    width: 80%;
    margin: 0 auto;
    box-shadow: none;
}

#tempo-display {
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

#start-stop {
    margin-top: 25px;
    width: 555px;
    height: 100px;
    border-radius: 4px;
    font-size: 30px;
    color: #fff;
}

.btn-start:focus, .btn-start:hover {
    background: #28e11d;
}

.btn-stop:focus, .btn-stop:hover {
    background: #ee3a32;
}
.btn-start {
    background: #28e11d;
}

.btn-stop {
    background: #ee3a32;
}

#decrease-tempo {
    height: 40px;
    width: 55px;
    background: #ee3a32;
    color: #fff;
    border: 3px solid #ee3a32;
    border-radius: 4px;
    box-shadow: none;
}

#increase-tempo {
    height: 40px;
    width: 55px;
    background: #28e11d;
    color: #fff;
    border: 3px solid #28e11d;
    border-radius: 4px;
    box-shadow: none;
}




/* ********************************************************************** */
/* ********************** @Media Queries ********************************* */
/* ********************************************************************** */

@media (min-width: 1200px) {
    .main-page {
        width: 768px;
    }
}

@media (min-width: 992px) {
    .navbar-nav {
        width: 70%;
        text-align: center;
        > li {
          float: none;
          display: inline-block;
          font-size: 14px;
        }
      }
}

@media (min-width:768px){
    .navbar-nav {
        width: 70%;
        text-align: center;
        > li {
          float: none;
          display: inline-block;
          /* font-size: 12px; */
        }
      }
    #start-stop {
        width: 555px;
    }
}

@media (max-width:767px){

    #start-stop {
        width: 300px;
    }
    #beats-per-measure {
        width: 82%;
        margin: 0 auto;
    }
    #tempo-slider {
        width: 82%;
        margin: 0 auto;
    }
}
@media (max-width:991px){

    .navbar-nav {
        width: 70%;
        text-align: center;
        > li {
          float: none;
          display: inline-block;
          font-size: 12px;
        }
      }
}
@media (max-width:600px){
    .jumbotron h1 {
        font-size: 28px;
    }
    .jumbotron p {
        font-size: 16px;
    }

    .jumbotron .row {
        margin-right: 0;
        margin-left: 0;
    }

    .jumbotron-image {
        height: 151px;
    }

    #beats-per-measure {
        width: 82%;
        margin: 0 auto;
    }
    #tempo-slider {
        width: 82%;
        margin: 0 auto;
    }
    #beat-display {
        width: 308px;
        margin: 0 auto;
        border-radius: 25px;
    }
}