body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Noto Sans";
}

#wrapper {
    margin: 1%;
}

header {
    height: 24px;
}

.title {
    text-align: center;
}

h1 {
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    letter-spacing: .2rem;
}

#wrapperJust {
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    margin: 20px auto;
}

#wrapperEqual {
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    margin: 20px auto;
}

.equal {
    background-color: rgb(0, 250, 0);
}

.selected {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    border: 1px solid black;
    border-radius: 30%;
    color: white;
}

#wrapperControl {
    overflow: auto;
    font-size: 0.7rem;
    margin: 1% auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: .1em .1em .5em gray;
    padding: 1%;
}

#control {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-content: space-between;
}

.btn-col {
    margin: 0 auto;
    font-size: 0.8rem;
    width: 96%;
    height: 100%;
    border-radius: 5px;
}

.btn-col button, select {
    color: black;
}

.controlBtn {
    width: 100%;
    height: 100%;
    border: 1px solid black;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: .1em .1em .5em gray;
    cursor: pointer;
}

.indiControlBtn {
    width: 65%;
    height: 40%;
    margin: auto 0;
    border: 1px solid black;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: .1em .1em .5em gray;
    cursor: pointer;
}

.playing {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 30%;
    color: black;
}

.playingIndi {
    background: rgba(255, 255, 255, 0.6);
}

.controlIcon {
    font-size: 20px;
    color: rgb(50, 50, 50);
}

#wrapperMainVolume {
    margin-top: 1%;
}

select {
    font-size: 0.7rem;
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
}

.wrapperTone {
    font-size: 0.63rem;
    display: inline;
    text-align: center;
    padding: 5px;
    border: 1px solid black;
    border-radius: 30%;
}

.octaveJust:hover, .octaveEqual:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    border-radius: 30%;
    cursor: pointer;
}

input {
    background: none;
    border: none;
    outline: none;
    width: 50px;
    cursor: pointer;
}

input[type="number"] {
    appearance: textfield;
}

input[type="number"]:hover,
input[type="number"]:focus {
    appearance: auto;
} 

.upper {
    font-size: 1.3em;
    margin: auto 0;
}

.lower {
    height: 15px;
    visibility: hidden;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-content: space-between;
}

.toneBtn {
    display: inline;
}

.indiBtnLeft {
    margin-right: 2px;
}

.indiBtnRight {
    margin-left: 2px;
}

.cent {
    display: none;
    font-size: 0.8em;
}

.showCent {
    display: block;
}

.name {
    height: 21px;
}

.slider {
    width: 100%;
    float: right;
}

#mainVolume {
    width: 100%;
    margin: 0 auto;
}

.wrapperSelected {
    height: 75px;
    background-color: rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 3fr;
    font-size: 1rem;
    margin: 1% auto;
    border: 1px solid black;
    border-radius: 5px;
    box-shadow: .1em .1em .5em gray;
    padding: 0 5px;
}

.selectionContent {
    display: inline;
    margin: auto 0;
}

img {
    width: 70px;
    margin: auto 0;
    display: block;

}

/* -------------------- MEDIA QUERY -------------------- */

@media(max-width: 600px) {

    .frequency {
        font-size: 0.8rem;
    }

    .indiBtnLeft, .indiBtnRight {
        font-size: 10px;
        margin: 0;
    }

    .indiControlBtn {
        margin: auto;
    }
}

/* -------------------- MODAL -------------------- */

.modalIcon {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.9);
    margin: 54px auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

p {
    margin-bottom: 50px;
}

sup {
    font-size: 0.6em;
}

/* -------------------- WEBKIT / MOZ -------------------- */

input[type="range"] {
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 5px;
    border-radius: 5px;
    background: rgb(222, 222, 222);
}

input[type="range"]::-moz-range-track {
    height: 5px;
    border: none;
    border-radius: 5px;
    background: rgb(222, 222, 222);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    width: 15px;
    height: 15px;
    background: rgb(60, 60, 60);
    border-radius: 50%;
    margin-top: -5px;
}

input[type="range"]::-moz-range-thumb {
    border: none;
    width: 15px;
    height: 15px;
    background: rgb(60, 60, 60);
    border-radius: 50%;
}
