@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap');

* {
    font-family: 'Fira Mono', monospace;
    user-select: none;
    -moz-user-select: none;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #111;
}

.app-height {
    height: 100vh;
}

.navbar {
    height: 60px;
    border-bottom: 1px solid #333333;
    border-top: 1px solid #333333;
    background-color: black;
}

.properties {
    color: white;
    padding: 20px;
}

#eqs {
    width: 100%;
}

/* SLIDERS */
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    /* background: #828282; */
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    border-radius: 5px;
    display: block;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    background: white; /* fallback color so it's always visible */
    border: none;
    margin-top: -6px;
}

.pitch_slider::-webkit-slider-thumb {
    background: #17005A;
}

.vol_slider::-webkit-slider-thumb {
    background: #D90015;
}

.zoom_slider::-webkit-slider-thumb {
    background: #FC8800;
}

.slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.slider::-webkit-slider-runnable-track {
    height: 4px;
    background: #828282;
    border-radius: 5px;
}

.slider::-moz-range-track {
    height: 4px;
    background: #828282;
    border-radius: 5px;
}

.pitch_slider::-webkit-slider-thumb,
.pitch_slider::-moz-range-thumb {
    background: #17005A;
}

.vol_slider::-webkit-slider-thumb,
.vol_slider::-moz-range-thumb {
    background: #D90015;
}

.zoom_slider::-webkit-slider-thumb,
.zoom_slider::-moz-range-thumb {
    background: #FC8800;
}


/* WAVEFORM */
#waveform {
    width: 100%;
    height: 100%;
}

.waveform {
    height: 100%;
    background-color: #0a0a0a;
}

#waveform_div {
    height: 54%;
    position: relative;
}

/* SEQUENCER AND BEATPADS */
.sequencer {
    border-top: 1px solid #333333;
    height: 30%;
}

.beat_pad {
    width: 100%;
    height: 100%;
}

.bp_table {
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.bp_row {
    height: 25%;
    margin: 0;
    padding: 0;
}

.bp_row > td {
    width: 25%;
    height: 100%;
    margin: 0;
    padding: 2px;
    font-size: 5vh;
    vertical-align: top;
}

.bp_pad {
    width: 100%;
    height: 100%;
    background-color: black;
    color: white;
    border-radius: 3px;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SIDEBAR */
.properties {
    border-left: 1px solid #333333;
}

/* POPUP */
#popup {
    transition: opacity 0.5s ease;
}

#popup_background {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 99;
}

#popup_body {
    filter: drop-shadow(0px 0px 44px rgba(255, 255, 255, 0.1));
    width: 50%;
    height: 50%;
    background-color: #1d1d1d;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    border: 1px solid #333333;
}

#popup_contents {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #9f9f9f;
}

/* OTHER */
.button_1 {
    background-color: #3d3d3d;
    width: 100%;
    height: 15%;
}

.play_button {
    color: #349357;
}

.logo {
    height: 100%;
    width: auto;
}

.property_category {
    font-weight: bold;
    font-size: 200%;
}

#credits {
    color: gray;
    font-size: 70%;
}

#waveform ::part(cursor) {
    width: 4px;
}

#waveform ::part(region-content) {
    color: white;
}

