:root {
    --main-color: #bce2e8;
    --sub-color: #a0d8ef;
}

#app {
    margin: 0 auto;
    width: min-content;
}

form {
    width: min-content;

    margin: 5px 0;
}

#form {
    text-align: center;

    border: 1px solid var(--main-color);
    border-radius: 10px;
}

#form .input-menu {
    background-color: var(--main-color);

    display: flex;

    margin: 5px;
    padding: 5px;

    border-radius: 5px;
}

#form .tag {
    width: 200px;
}

#form .input {
    display: flex;
}

button {
    width: 75px;
    
    background-color: var(--main-color);

    margin: 5px;
    padding: 5px 20px;

    border: 1px solid #000000;
    border-radius: 5px;
}

button:hover {
    background-color: var(--sub-color);
}

#error-box {
    display: none; /*override to show*/
    color: red;

    margin: 5px 0;

    border: 1px solid red;
    border-radius: 10px;
}

#result {
    display: none; /*override to show*/

    margin: 20px 0;
}

#result #result-text {
    width: 100%;
    text-align: center;

    margin: 5px 0;

    border: 3px double var(--main-color);
}

#result #result-data {
    display: flex;
    width: 100%;
    text-align: center;

    border: 1px solid var(--main-color);
    border-radius: 10px;
}

#result .sound-box {
    margin: 5px;

    border-radius: 5px;
}

#result #pitch-meter {
    width: 100%;

    margin: 5px 0;
}

#result #pitch-bar {
    display: flex;
    width: 100%;
}

#result #pitch-bar #below-cent-bar {
    /*width: [below_cent]%;*/

    background-color: var(--main-color);

    border-right: 5px solid orange;
}

#result #pitch-bar #above-cent-bar {
    /*width: [above_cent]%;*/
    text-align: right;

    background-color: var(--main-color);
}

#result #pitch-data {
    display: flex;
}

#result #pitch-data #below-cent {
    text-align: left;
    width: 70px;
}

#result #pitch-data #sound {
    width: 100%;
}

#result #pitch-data #above-cent {
    text-align: right;
    width: 70px;
}

#result .stage {
    height: 30px;
}

#result .play-button {
    height: 30px;
}