/* @import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap'); */

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Raleway', sans-serif;
    /* color: #525252; */
    color: #000;
    user-select: none;
}

.container-metro {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0;
    padding: 2vw;
    background-color: #ddf1fd;
    width: 100vw;

    /*** centralizar verticalmente ***/
    height: 100%;
}

.metronome {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: fit-content;
    width: 78.3vw;

    margin: 0;
    padding: 0;
    padding: 1vw;
    padding-bottom: 0.6vw;

    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border: 0.25vw solid #000;
    border-radius: 10px;
}

/* @media screen and (max-width:600px) { */
@media (orientation: portrait) {    
    .metronome {
        width: 88vw;
        /* max-height: 98vh; */
    }
}

/* @media screen and (min-width: 600px) and (max-width: 780px) { */
@media (orientation: landscape) {
    .metronome {
        width: 63vw;
        max-width: fit-content;
    }
}

.batida {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    /* color: #ff656c; */
    color: red;
    font-size: 3.5vw;
    text-align: center;
    font-weight: 700;

    width: 5.5vw;
    height: 5.5vw;

    margin: 0.4vw;
    background-color: white;
    border: 0.4vw solid red;

    border-radius: 50%;
    transition: all ease .2s;
}

.bpm-display {
    display: flex;
    align-items: center;
    /* justify-items: space-between; */
    justify-content: space-between;

    width: 100%;
    text-align: center;
}

.txt-bpm {
    width: 27vw;
    text-align: right;
    margin-right: 1vw;
    line-height: 0.8;
    height: fit-content;
    padding: 0;
    margin: 0;
    /* background-color: #ccc; */
}

.tempo {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    text-align: right;
    font-weight: 700;
    font-size: 7.8VW;

    text-decoration: none;
    color: rgb(0, 136, 255);
    /* text-shadow: rgb(176, 176, 176) 0.07em 0.07em 0.0.7em; */

    -webkit-text-stroke-width: 0.7px;
    -webkit-text-stroke-color: rgb(255, 255, 255);
    text-shadow: 0.5vw 0.5vw 0.8vw #666666;
}

.bpm {
    font-size: 4vw;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-left: 0.7vw;
    color: black;
}

h5 {
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
    margin: 0;
    padding: 0;
    /* font-size: 3.5vw; */
    font-size: 4vw;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    margin-left: 1vw;
}

/* .bpm-display .tempo { */
/* font-size: 4em; */
/* } */

.tempo-text {
    font-size: 3vw;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    padding: 0;
    margin-top: 0.7vw;
}

.tempo-settings {
    display: flex;
    justify-content: center;
}

.tempo-settings .adjust-tempo-btn {
    /* width: 30px; */
    /* height: 30px; */
    font-size: 6vw;
    /* border-radius: 50%; */

    color: rgb(0, 169, 0);
    cursor: pointer;

    text-align: center;
    cursor: pointer;
    transition: all ease .2s;
}

.tempo-settings .adjust-tempo-btn:hover {
    /* background: rgb(0, 169, 0); */
    /* color: #fff; */
    text-shadow: rgb(139, 139, 139) 0.07em 0.07em 0.1em;
}

.tempo-settings .decrease-tempo {
    /* line-height: 25px; */
    padding: 1vw;
}

.tempo-settings .increase-tempo {
    /* line-height: 32px; */
    padding: 1vw;
}

/* input[type=range] { */
/* -webkit-appearance: none; */
/* background-color: transparent; */
/* width: 100%; */
/* } */

/* 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: #fa545c;
    cursor: pointer;
    margin-top: -8px;
} */

/* input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fa545c;
    cursor: pointer;
    border: none;
} */

/* 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 {
    font-size: 5vw !important;
    margin: 0;
    margin-left: 5.5vw;
    padding-left: 0.7vw;
    padding-right: 0.7vw;

    color: rgb(0, 169, 0);
    border: 0.35vw solid rgb(0, 169, 0);
    border-radius: 0.7vw;
    transition: all ease .2s;
}

.start-stop:hover {
    cursor: pointer;
    box-shadow: rgb(118, 118, 118) 0.1em 0.1em 0.15em;
}

/* .measures, .measures > * {
    /* display: flex;
    align-items: center;
    align-content: center;
    flex-direction: row;
    justify-content: space-between;
    justify-content: space-evenly; 

    font-size: 2.5vw;
    font-weight: 500;

    padding: 0;
    margin: 0;
} */

.measure-count {
    font-weight: 600;
    font-size: 7VW;
    /* color: rgb(0, 136, 255); */
    color: red;
    margin-right: 1vw;

    margin-bottom: -0.5vw;

    /* text-shadow: rgb(176, 176, 176) 0.07em 0.07em 0.1em; */
    -webkit-text-stroke-width: 0.7px;
    -webkit-text-stroke-color: rgb(255, 255, 255);
    text-shadow: 0.5vw 0.5vw 0.8vw #5e5e5e;
}

.measures .stepper {
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: row;
    justify-content: space-between;
    justify-content: space-evenly;

    font-size: 5.4VW;
    padding: 0.5vw;
    text-align: center;
    cursor: pointer;
    transition: all ease .2s;
}

.measures {
    display: flex;
    align-items: flex-end;
    align-content: baseline;
    flex-direction: row;
    justify-content: center;

    width: 100%;

    margin: 0;
    padding: 0;
}

.measures .stepper:hover {
    /* background: #ff656c; */
    /* color: #fff; */

    text-shadow: rgb(139, 139, 139) 0.07em 0.07em 0.1em;
}

.beats {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    /* align-content: center; */

    /* margin-bottom: 1.2vw; */
    margin: 0;
    padding: 0;
    padding-bottom: 0.7vw;
    line-height: 1;

    /* height: 10vw; */
    height: fit-content;
    width: 35vw;

    /* background-color: aquamarine; */
}

/* .measures .add-beats { */
/* line-height: 20px; */
/* } */

.beats-per-measure-text {
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    text-align: center;
    font-weight: 600;
    /* font-size: 0.5em; */
    text-shadow: none;
    font-size: 3.5vw;
    margin-left: 1vw;
    margin-right: 1vw;
    text-transform: uppercase;
}

.stepper {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    /* align-items: baseline; */


    color: #fa545c;
    font-size: 3.7vw;
    padding: 0.7vw;
    margin-left: 2vw;
    margin-right: 2vw;
    /* background-color: aquamarine; */
}

input[type=range] {
    /* margin-left: 1vw; */
    /* margin-right: 1vw; */
    accent-color: rgb(0, 136, 255);
    background: rgb(0, 169, 0);
    width: 100%;
}

#batidas {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    height: 7vw;
    margin-left: 0.5vw;
    margin-right: 0.5vw;
    margin-bottom: 0.7vw;
    /* background-color: #ddd; */
}