body{
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

h1 {
    color: white;
}

.piano{
    width: 80vw;
    height: 80vh;
    background-color: #e7ffd8;
}

.separatore{
    width: 20px;
    height: 80vh;
    background-color: rgb(0, 0, 0);
    position: fixed;
}

.notes{
    width: calc(80vw / 4 - 28px );
    height: 100px;
    position: fixed;
    background-color: #62ff007e;
    border: #62ff00 solid 2px;
}

.failNotes{
    width: calc(80vw / 4 - 24px );
    position: fixed;
    background-color: red;
    animation-name: failNote;
    animation-duration: 500ms;
    animation-timing-function: alternate;
    animation-iteration-count: infinite;
}

@keyframes failNote {
    from {
        background-color: red;
    }
    to {
        background-color: rgba(0, 0, 0, 0);
    }
}

.pressLine {
    width: 80vw;
    height: 20px;
    background-color: #62ff007e;
    position: fixed;
}

.scoreboard{
    color: white;
}

.endscreen {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: bold;
    font-family: arial;
    background-color: rgba(0, 0, 0, 0.600);
    color: rgb(255, 255, 255);
    
    height: 100vh;
    width: 100vw;
    margin: 0px;
    padding: 0px;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.commands {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: bold;
    font-family: arial;
    background-color: black;
    color: rgb(255, 255, 255);
    
    height: 100vh;
    width: 100vw;
    margin: 0px;
    padding: 0px;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.commandsAnimation {
    animation-name: comandi;
    animation-duration: 500ms;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}

@keyframes comandi {
    from {
        background-color: black;
        color: rgb(255, 255, 255);
    }
    to {
        background-color: rgba(0, 0, 0, 0);
        color: rgba(255, 255, 255, 0);
    }
}

cols {
    color: #00ff00;
}

sel {
    color: red;
    font-size: bold;
    font-size: 200%;
    background-color: rgb(88, 88, 88);
    padding: 2px;
    border-radius: 5px;
}

.selAnimation {
    animation-name: text;
    animation-duration: 500ms;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}

@keyframes text {
    from {
        background-color: rgb(88, 88, 88);
        color: red;
    }
    to {
        background-color: rgba(0, 0, 0, 0);
        color: rgba(255, 255, 255, 0);
    }
}

.start {
    width: 150px;
    height: 50px;
    border: none;
    border-radius: 15px;
    background-color: #00ff0062;
    color: white;
}

.start:active {
    background-color: #00ff00;
}

.end {
    width: 100px;
    height: 50px;
    border: none;
    border-radius: 15px;
    background-color: transparent;
    border: white 3px solid;
    color: white;
}
