*
{
    font-family: 'Genshin-Impact';
    color: white;
    transition: all 0.3s ease-in-out;
    text-align: center;
    font-weight: lighter;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}
*::-webkit-scrollbar
{
    display: none;
}
:focus
{
    outline: none;
}
html
{
    width: 100%;
    margin: 0px;
    height: 100%;
}
@keyframes screena{
    0%{
        transform: scale(0.9);
        opacity: 60%;
    }
    100%{
        transform: scale(1);
        opacity: 100%;
    }
}
body
{
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,#5D392F,#D9A648,#C17036);
    overflow: hidden;
    background-size: cover;
    background-repeat: none;
    margin: 0px;
}
#over
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: fixed;
    top: 50%;
    height: 100%;
    width: 100%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 4;
    opacity: 50%;
    background-color: black;
}
#overm
{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: fixed;
    top: 50%;
    height: 100%;
    width: 100%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
    opacity: 50%;
    background-color: black;
}
.load
{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.spazio
{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: fixed;
    top: 50%;
    height: 100%;
    width: 100%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.menu
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 80%;
    height: auto;
    border-radius: 40px;
    background-color: #312A26;
    z-index: 5;
    padding: 10px;
    overflow-y: scroll;
    animation: screena 0.4s ease;
}
#hj
{
    animation: screena 0.4s ease;
}
.riga
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    width: 90%;
    margin: 10px;   
    height: auto;
}
h3
{
    margin: 20px;
    width: auto;
}
button
{
    background-color: #312A26;
    border-radius: 20px;
    padding: 8px;
    border: solid #5D392F 5px;
}
button:active
{
    transform: scale(0.9);
}
#ciona
{
    margin: 10px;
    background-color: white;
    border:  solid #C17036 5px;
    border-radius: 20000000px;
}
img:not(#cubea):active
{
    transform: scale(0.9);
}
h1
{
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
input[type="range"]
{
    appearance: none;
    background-color: #D9A648;
    height: 15px;
    border-radius: 2000px;
    width: 50%;
}
input[type="range"]::-webkit-slider-thumb
{
    appearance: none;
    background-color: #C17036;
    height: calc(20px);
    width: calc(20px);
    border-radius: 2000px;
}
.count
{
    position: fixed;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top:50%;
    left: 50%;
    position: fixed;
    z-index: 3;
    transform: translate(-50%,-50%);
}
.game
{
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 2;
    position: fixed;
    top: 50%;
    height: 100%;
    width: 100%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.nd:active
{
    transform: scale(0.8);
}
.area
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 98%;   
    height: 80%;
}
#cube
{
    border-radius: 20000px;
    transition: all var(--velocita) ease-in-out;
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 5px;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}
#cubea:active
{
    transform: scale(0.8);
}