:root {
    --border-color: rgb(100, 100, 100);
}

/* Navbar */
.navbar-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}



/* Instrument cards */

.instrument-row {
    border-bottom: 5px solid var(--border-color);
    flex-wrap: nowrap !important;
    width: fit-content;
    min-width: 100%;
}

.instrument-card {
    margin: -2px;
    margin-left: 13px;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    border: 3px solid var(--border-color);
    width: 16rem !important;
}

.instrument-data {
    margin: 1rem;
    margin-right: 0;
    margin-left: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 75%;
}

.instrument-data p {
    margin: 0;
}

.instrument-form {
    display: flex;
    flex-direction: row;
    margin-bottom: 0.5rem;
}


.instrument-notes {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    align-items: flex-end;
    justify-content: flex-end;
    width: 25%;
}

.note {
    margin: 0;
    padding: 0.25rem;
}

/* Note grid */

/* getting it to not line wrap debugged with copilot */
.grid .row {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 0;
}

.beat {
    flex: 0 0 2rem !important;
    width: 2rem !important;
    height: 2rem;
    border: 3px solid var(--border-color);
}

.beat.first {
    border-left: 5px solid darkgray;
}

.beat:hover {
    background-color: lightblue;
}

.beat.active {
    background-color: cyan;
}

.beat.playing {
    border-left: 5px solid yellow;
}

.beat.active.playing {
    background-color: greenyellow;
}

/* Beat ruler */
.ruler-container {
    display: flex;
    gap: -2px;
    width: fit-content;
    height: 2rem;
    flex-wrap: nowrap !important;
    flex-direction: row;
    overflow-x: visible;
}

.ruler-spacer {
    width: 16rem;
}

.ruler-beat {
    width: 2rem;
    height: 2rem;
}

.ruler-beat.beat-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: gray;
}