/* @import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');

* {
    padding: 0;
    margin: 0;
}

body {
    /* font-family: 'Raleway', sans-serif; */
    font-family: 'Roboto', sans-serif;
    color: #525252;
    /* Dont allow default selction */
    user-select: none;
    margin-top: 1rem;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    height: 30rem;
    width: 30rem;
    margin: 0 auto;
    border: 1px solid #0275d8;
    padding: 15px;
    border-radius: 50%;
}
.metronome {
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 250px;
    justify-content: space-between;
}

.bpm-display{
    width: 100%;
    text-align: center;
    color: #0275d8;
    font-weight: bold;
}
.bpm-display .tempo {
    font-size: 4em;
}
.tempo-text{
    font-size: .8em;
    text-transform: uppercase;
    text-align: center;
}
.tempo-settings{
    display: flex;
    justify-content: space-between;
}
.tempo-settings .adjust-tempo-btn{
    width: 30px;
    height: 30px;
    font-size: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    text-align: center;
    cursor: pointer;
}
.tempo-settings .adjust-tempo-btn:hover {
    background: #0275d8;
    color: #fff;
}
.tempo-settings .decrease-tempo {
    line-height: 28px;
}
.tempo-settings .increase-tempo {
    line-height: 30px;
}

input[type=range] {
    -webkit-appearance: none;
    background: transparent;
    width: 70%;
}
/* input[type=range]::-webkit-slider-thumb{
    -webkit-appearance: none;
} */
input[type=range]:focus{
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0275d8;
    cursor: pointer;
    margin-top: -8px;
}
input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0275d8;
    cursor: pointer;
    border: none;
}

input[type=range]::-webkit-slider-thumb:hover {
    background: #4d95d3;
}
input[type=range]::-moz-range-thumb:hover {
    background: #4d95d3;
}


input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 1px;
    background: #ddd;
}
input[type=range]::-moz-range-track {
    width: 100%;
    height: 1px;
    background: #ddd;
}

.start-stop {
    width: 50px;
    height: 50px;
    font-size: 0.7em;
    text-align: center;
    background: #0275d8;
    border-radius: 50%;
    color: #fff;
    line-height: 50px;
    margin: 0 auto;
    cursor: pointer;
}
.start-stop:hover{
    background: #4d95d3;
}
.measures {
    display: flex;
    justify-content: center;
}
.measures .stepper {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ddd;
    text-align: center;
    margin: 0 5px;
    cursor: pointer;
}
.measures .stepper:hover{
    background: #0275d8;
    color: #fff;
}
.measures .add-beats{
    line-height: 21px;
}

.beats-per-measure-text {
    text-align: center;
    font-size: 0.5em;
    text-transform: uppercase;
}