
/* Created by swarup kumar*/

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: black;
    user-select: none;
    -webkit-user-select: none;
    font-family: 'Tomorrow', sans-serif;
}

#container {
    position: absolute;
    width: 100%;
    height: 100%;
}

#canvas {
    position: absolute;
    top: 0;
}

#rules {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    text-align: center;
    font-size: 2em;
    z-index: 3;
}

.inforules {
    font-size: 0.5em;
}

#play_pause {
    position: absolute;
    top: 10px;
    right: 30px;
    color: white;
    font-size: 1em;
    z-index: 2;
}

#checkbowaudio {
    position: absolute;
    top: 5px;
    left: 20px;
    color: white;
    font-size: 1.5em;
    z-index: 3;
}

#timegame {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    color: white;
    font-size: 1.5em;
    text-align: center;
    transition: 0.2s
}

#info {
    position: absolute;
    bottom: 5px;
    left: 20px;
    color: white;
    font-size: 1.5em;
    transition: 0.1s;
}

#Fps {
    position: absolute;
    right: 5px;
    bottom: 5px;
    color: white;
    display: flex;
    flex-direction: inline;
    align-items: center;
    font-size: 0.6em;
}

#nbrfps {
    background-color: rgba(100, 100, 100, 0.2);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 5px;
    font-size: 1.5em;
}

#endgame {
    position: absolute;
    width: 100%;
    height: 100%;
    color: white;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    text-align: center;
    font-size: 2em;
}

#bestscore,
#score {
    font-size: 0.7em;
    margin: 5px
}
