:root {
    --barColor: hwb(81 15% 57%);
    --colorGrid: #9698d1;
    --colorBoll: #fff;
    --colorTwo: #fff;
    --alternateColor: #fff;
    --hoverColor: #000;
    --backColor: #fff;
    --posXdetect: 0deg;
    --prevPosDetect: 0deg;
    --timeAnticipCursor: 0;
}

html,
body {
    font-family: Helvetica, sans-serif;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    padding: 0;
    margin: 0;
    font-size: calc(0.5em + 1vmin);
    overflow: hidden;
    background: linear-gradient(0deg, var(--colorBoll) 0%, var(--colorTwo) 49%);
}

div {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: 0;
}

h5 {
    font-size: 1.4rem;
    color: var(--colorGrid)
}

.topBar {
    position: absolute;
    width: 100%;
    height: 1.5rem;
    top: 0rem;
    left: 0%;
    z-index: 1800;
    background-color: var(--colorGrid);
    --mask: linear-gradient(to top, #0000 10px, #000 0), radial-gradient(10px, #000 98%, #0000) bottom/18.50px 20px;
    -webkit-mask: var(--mask);
    mask: var(--mask);
}


/* .soloLogo {
    position: absolute;
    width: 8%;
    height: 50%;
    left: 0%;
    top: 15%;
    opacity: .5;
    background-image: url("../img/soloLogo.png");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 2000;
} */

.divLogo {
    position: absolute;
    width: 95%;
    height: 100%;
    background-image: url("../img/logoUku.png");
    background-size: 38%;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 5000;
}

.divLogo.move {
    opacity: 0;
    transform: scale(0);
    animation: changeLogo 1s;
    animation-timing-function: ease-in-out;
    animation-direction: normal;
    animation-fill-mode: forwards;
}

@keyframes changeLogo {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

.contCredit {
    position: absolute;
    height: 5rem;
    line-height: 2.2;
    padding-left: 1.5rem;
    padding-right: 2.5rem;
    left: 5%;
    bottom: -4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    background-color: var(--colorGrid);
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    border: 1px solid var(--colorBoll)
}

.contCredit.open {
    animation: slideUp 0.5s forwards;
}

.divTitle {
    text-align: left;
    margin-top: .2rem;
    font-size: 1.1rem;
    line-height: 1rem;
}

.divAuthor {
    text-align: left;
    font-size: .8rem;
}

.barraVertDx {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 6rem;
    min-width: 6rem;
    height: 100vh;
    min-height: 100vh;
    background-color: var(--colorGrid);
    --mask: linear-gradient(#000 0 0) right/calc(100% - 10px) 100% no-repeat, radial-gradient(circle farthest-side, #000 98%, #0000) left/20px 18.50px repeat-y;
    -webkit-mask: var(--mask);
    mask: var(--mask);
    z-index: 1600;
}

.bigContainer {
    position: absolute;
    width: calc(100% - 10rem);
    height: calc(100% - 1rem);
    max-height: 100%;
    left: 2.5rem;
    top: 1rem;
    overflow: hidden;
    /* border: 4px solid #17f326; */
}

.wrapperDetector {
    position: absolute;
    width: calc(100% - 11rem);
    display: none;
    flex-direction: row;
    top: 5rem;
}

.divPaletta {
    display: flex;
    flex-direction: column;
    min-width: 30%;
    max-width: 30%;
    height: 50vh;
    margin-left: 12%;
    background-image: url("../img/paletta_tuner.png");
    background-size: 64%;
    background-repeat: no-repeat;
    background-position: center center;
    /* border: 2px solid red; */
}

.divPaletta.active1 {
    background-image: url("../img/paletta_tuner_1.png");
}

.divPaletta.active2 {
    background-image: url("../img/paletta_tuner_2.png");
}

.divPaletta.active3 {
    background-image: url("../img/paletta_tuner_3.png");
}

.divPaletta.active4 {
    background-image: url("../img/paletta_tuner_4.png");
}

.divDetector {
    min-width: 50%;
    max-width: 50%;
    height: 50vh;
    margin-left: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 2px solid red; */
}

.icoMic {
    position: absolute;
    top: 10vh;
    width: 7vh;
    height: 7vh;
    background-image: url("../img/icoMic.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    /* border: 4px solid plum; */
    cursor: pointer;
    z-index: 400;
}

.icoMic.active {
    opacity: 1;
    animation: changeBack .6s alternate infinite;
}

@keyframes changeBack {
    0% {
        opacity: .5;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.pitchCent {
    position: absolute;
    width: 3rem;
    height: 3rem;
    top: 19vh;
    right: 15vh;
    line-height: 3rem;
    text-align: center;
    font-size: 1.6rem;
    color: white;
    border-radius: 50%;
    background-color: #000;
    /* border: 2px solid blue; */
}

.wrapperNotaGraph {
    position: absolute;
    width: 60vh;
    min-height: 22vh;
    margin-top: 1rem;
    border-bottom: 2px solid #000;
    overflow: hidden;
    z-index: 3;
}

.quadrante {
    position: absolute;
    width: 60vh;
    height: 60vh;
    transform-origin: center center 0;
    background-image: url("../img/quadrante.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 2;
}

.quadrante.active {
    animation: moveDetect 1s;
    animation-timing-function: ease-in-out;
    animation-direction: normal;
    animation-fill-mode: forwards;
}

@keyframes moveDetect {
    0% {
        transform: rotate(var(--prevPosDetect));
    }
    100% {
        transform: rotate(var(--posXdetect));
    }
}

.mirino {
    position: absolute;
    width: 60vh;
    height: 60vh;
    margin-top: 1rem;
    /* border: 1px solid red; */
    background-image: url("../img/mirino.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
}

.wrapperCanvas {
    margin-top: 0rem;
    z-index: 0;
    /* border: 4px solid yellow; */
    /* margin-top: 0; */
    /* background-color: var(--barColor); */
    /* border: 4px solid #f3b517; */
}

.offCanvas {
    position: absolute;
    min-width: 100%;
    min-height: 65vh;
    opacity: 0;
    /* border: 1px solid red; */
}

.offCanvas.active {
    opacity: 1;
    animation: appear 1.9s normal;
}

@keyframes appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.divCursore {
    position: absolute;
    min-width: 100%;
    height: 50vh;
    top: -8rem;
    left: 0rem;
    background-image: url("../img/cursore.png");
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 10;
    /* border: 1px solid yellow; */
    /* background-color: var(--colorBoll); */
}

.divCursore.score {
    background-image: url("../img/cursoreLinea.png");
    background-size: 30%;
}

.divCursore.starter {
    top: 1rem;
    animation: starter;
    animation-duration: .8s;
    animation-direction: normal;
}

@keyframes starter {
    0% {
        top: -8rem;
    }
    100% {
        top: 1rem;
    }
}

.wrapperControl {
    display: none;
    position: absolute;
    bottom: 12rem;
    left: 1rem;
    cursor: pointer;
    /* border: 1px solid rgb(191, 0, 255); */
}

.wrapperControl.active {
    display: block;
}

.sliderCanvas {
    z-index: -100;
    border-bottom: 14px solid var(--colorBoll);
    /* border: 1px solid white; */
}

.slider {
    margin-top: -.7rem;
}

.buttPlay {
    position: absolute;
    width: 16rem;
    height: 10rem;
    bottom: -4.5rem;
    margin-left: calc(50% - 8rem);
    background-image: url("../img/buttPlayOff.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 80%;
    z-index: 800;
    cursor: pointer;
    /* background-color: var(--barColor);
box-shadow: 0px -2px 8px var(--colorBoll); */
}

.buttPlay.starter {
    background-color: var(--colorBoll);
}

.buttPlay.active {
    background-image: url("../img/buttPlayOn.png");
}

.conteinerIco {
    width: 100%;
    /* height: 80%; */
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    /* border: 1px solid red; */
}

.icoStrumming {
    width: 6rem;
    height: 6rem;
    background-image: url("../img/icoStrumming.png");
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.icoChord {
    width: 6rem;
    height: 6rem;
    background-image: url("../img/icoAccompagnamento.png");
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.icoDiapason {
    width: 6rem;
    height: 6rem;
    margin-top: 1rem;
    background-image: url("../img/icoDiapason.png");
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.icoOptions {
    width: 6rem;
    height: 6rem;
    margin-top: 1rem;
    background-image: url("../img/icoOptions.png");
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.icoChord.active,
.icoDiapason.active,
.icoOptions.active {
    background-color: var(--alternateColor);
}

.icoChord:hover {
    background-color: var(--hoverColor);
}

.icoDiapason:hover {
    background-color: var(--hoverColor);
}

.icoOptions:hover {
    background-color: var(--hoverColor);
}

.icoBase,
.icoMetronomo {
    width: 5rem;
    height: 5rem;
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    opacity: .5
}

.icoBase {
    background-image: url("../img/icoBase.png");
}

.icoMetronomo {
    background-image: url("../img/icoMetronomo.png");
}

.icoBase.active,
.icoMetronomo.active {
    opacity: 1;
    background-size: 100%;
}

.icoTactus {
    display: none;
    width: 6rem;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    cursor: pointer;
}

.icoPattern {
    display: none;
    width: 6rem;
    height: 5rem;
    line-height: 4rem;
    text-align: center;
    cursor: pointer;
}

.wrapperContVelocit {
    margin-top: 1rem;
    /* border: 1px solid yellow; */
}

.contVelocit {
    width: 6rem;
    height: 6rem;
    display: flex;
    flex-direction: row;
    background: url("../img/css_sprites.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 49.7% 0px;
    background-color: var(--colorGrid);
    cursor: pointer;
}

.contVelocit.disabled {
    pointer-events: none;
    opacity: .4;
}

.icoMeno,
.icoPiu {
    width: 3rem;
    height: 4rem;
    cursor: pointer;
}

.icoAltop {
    width: 6rem;
    height: 6rem;
    margin-top: 1rem;
    background-image: url("../img/icoMix.png");
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

.icoAltop.disabled {
    pointer-events: none;
    opacity: .4;
}

.icoAltop.active {
    background-color: var(--alternateColor);
}

.contAudio {
    position: absolute;
    width: 12%;
    max-width: 10%;
    height: 5rem;
    bottom: -7rem;
    left: 70%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: .5rem;
    padding-right: 2rem;
    background-color: var(--colorGrid);
    border-top-left-radius: .6rem;
    border-top-right-radius: .6rem;
    z-index: 3000;
    border: 1px solid var(--colorBoll)
}

.contAudio.open {
    animation: slideUp 0.5s forwards;
}

@-webkit-keyframes slideUp {
    0% {
        bottom: -6rem;
    }
    100% {
        bottom: -.7rem;
    }
}

section {
    display: inline-block;
    margin-left: 1rem;
    border: 1px solid white;
}

label {
    color: var(--barColor)
}

.checkChord[type="checkbox"] {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

.checkLoop[type="checkbox"] {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

.checkLoop[type="checkbox"].disable {
    opacity: .5;
    pointer-events: none;
}

input[type="radio"] {
    border-radius: 50%;
    background-color: var(--alternateColor);
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}

input[type=number] {
    width: 3rem;
    height: 3rem;
    margin-top: .5rem;
    font-size: 1.8rem;
    opacity: 1;
    cursor: pointer;
}

input[type=number].disable {
    opacity: .5;
    pointer-events: none;
}

.contOptions {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    visibility: hidden;
    padding-top: 8rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    color: white;
    background-color: var(--colorGrid);
    z-index: 3000;
}

.contOptions.open {
    visibility: visible;
    opacity: .9;
}


/* .buttClose {
    position: fixed;
    left: 42%;
    bottom: 2rem;
    width: 8rem;
    height: 2rem;
    font-size: 1.2rem;
} */

.sectOption {
    display: inline-block;
    min-width: 25%;
    height: 25%;
    margin-top: 1rem;
    margin-left: 2rem;
    padding: .8rem;
    border-left: 1px dashed white;
}

.icoFile {
    position: absolute;
    width: 7rem;
    height: 7rem;
    left: 4rem;
    top: -2rem;
    cursor: pointer;
    background-color: var(--colorGrid);
    border-radius: 50%;
    background-image: url("../img/icoFile.png");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center 80%;
    z-index: 2000;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1800;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--colorGrid);
    cursor: pointer;
    z-index: 4000;
}

.areaType {
    position: absolute;
    line-height: 2rem;
    width: 100vw;
    top: 2rem;
    left: 0;
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    background-color: var(--colorBoll);
}

.wrapperType {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    color: white;
    background-color: var(--colorGrid);
}

.typeDidattico {
    height: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menuItem {
    margin-top: .5rem;
}

.menuItem:hover {
    color: var(--hoverColor);
}

.typeStrumming {
    width: 8rem;
    height: 10rem;
    text-align: center;
    line-height: 15rem;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center top;
    cursor: pointer;
}

.typeStrumming {
    background-image: url("../img/typeStrumming.png");
}

.typeStrumming.active {
    background-color: var(--barColor);
    border: 2px dashed var(--barColor);
}

.wrapperListFile {
    position: fixed;
    top: 8%;
    left: 25%;
    width: 50vw;
    height: 80vh;
    padding: 10px;
    font-size: calc(0.65em + 1vmin);
    text-align: center;
    color: var(--backColor);
    cursor: pointer;
}

.itemLi {
    width: 90%;
    line-height: 2rem;
    border-bottom: 1px dashed var(--barColor);
    list-style-type: none;
}

ul {
    height: 80%;
    text-align: left;
    overflow: auto;
    list-style-type: none;
    counter-reset: css-counters 0;
}

ul li:before {
    counter-increment: css-counters;
    content: counters(css-counters, ".") " - ";
    color: var(--alternateColor);
    font-weight: bold;
}

ul li.disabled {
    pointer-events: none;
    color: var(--alternateColor);
    font-weight: bold;
}

.buttClose {
    position: fixed;
    left: calc(50% - 5.5rem);
    bottom: 2rem;
    width: 8rem;
    height: 2rem;
    border-radius: .4rem;
    font-size: 1.2rem;
    color: #fff;
    background-color: var(--alternateColor);
}

.imgSimboli {
    width: 212px;
    height: 335px;
    display: none;
}

.imgPaletta {
    display: none;
}

a {
    color: var(--alternateColor);
    text-transform: uppercase;
}

.wrapperButtCorde {
    position: absolute;
    top: 42vh;
    width: 50%;
    text-align: center;
    color: var(--backColor);
}

.wrapperButtCorde div {
    display: inline;
    width: 20%;
    padding: 0.5em 0.8em;
    margin-left: 1rem;
    margin-right: 1rem;
    border-radius: .3rem;
}

.wrapperButtCorde.disabled {
    pointer-events: none;
    opacity: .4;
}

.buttCorda {
    height: 5rem;
    line-height: 7rem;
    color: white;
    background-color: #000;
    cursor: pointer;
}

.buttCorda.active {
    color: white;
    background-color: var(--alternateColor);
}