body{
    background-color: black;
    color:whitesmoke;
}

.mainMenu {
    position: absolute;
    width: 100%;
    height: 100%;
    
    background: rgb(0, 0, 0);
    opacity: 0;
    text-align: center;

    display: flex;

    justify-content: center;
    align-items: center;

    z-index: 50;

    transition: opacity 0.8s ease-out;
}
.mainMenu ul {
    list-style: none;
}
.mainMenu li {
    border: 2px solid white;
    border-radius: 5px;

    margin-top: 20px;
    padding: 5px 20px;

    cursor: pointer;
    user-select: none;
}


.root {
    opacity: 0;
    transition: opacity 2s ease-in;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */

    /* min-height: 90vh; */
    /* z-index: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0; */
}

.opacity_on {
    opacity: 1;
}

.opacity_off {
    opacity: 0;
}

#instructions {
    /* margin-bottom: 25px; */

    position: absolute;
    width: 100%;
    /* left: 50%; */
    top: 50%;
    /* margin-left: -100px; */
    margin-top: -100px;
    text-align: center;
}

.click-counter-container{
    /* display: flex; */
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 93px;

    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -75px;
    margin-top: -46px;

    border: 1px solid white;
    font-size: 40px;

    overflow: hidden;
    user-select: none;
}

#click-count{
    /* position: relative;
    margin-bottom: 5px; */
    text-align: center;
    vertical-align: middle;
    line-height: 85px;
    /* line-height: 96px; */
}

#click-button {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: 70px;
    margin-left: -50px;



    width: 100px;
    height: 62px;
    border: 2px solid white;
    text-align: center;
    padding-top: 16px;
    user-select: none;

    border-radius: 8px;

    transition: transform 0.1s, border-color 0.1s, color 0.03s;
}
.click-button-shifted {
    position: absolute;
    transform: translate(100%, 100%);    
}


#click-button:hover {
    cursor: pointer;
}

#click-button:active{
    border-color: #b6b5b5;
    color: whitesmoke;
    box-shadow: 0 0.5em 0.5em -0.4em #4f4f4f;

    /* transform: translateY(-0.10em); */
    padding-top: 17px;
}

.coverup {
	position: absolute;
    width: 150px;
    height: 93px;
	background: #272727;

    z-index: 1;
    transition: transform 1.5s ease-in;
    transform: translateY(100%);
}

.coverup_display {
    transform: translateY(0%);
}

.countdown {
	position: absolute;
    border-top: 1px solid white;
    border-left: 1px solid white;
    border-radius: 3px;
    padding-left: 3px;
    padding-right: 1px;
    font-size: 14px;
    right: -1px;
    bottom: 0px;
    margin-bottom: 0px;
    /* align-self: flex-end; */
    /* text-align: end; */
    /* bottom: 5px; */

    z-index: 2;
    transition: transform 0.3s;
    transform: translateY(100%);
}
.countdown_display {
    transform: translateY(0%);
}

.speed_countdown {
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 85px;
    
    z-index: 3;
    transition: transform 1.5s ease-in;
    transform: translateY(100%);
}
.speed_countdown_display {
    transform: translateY(0%);
}

.lives {
    position: absolute;
    border: 1px solid white;
    border-radius: 3px;
    right: 0px;
    bottom: 0px;

    padding: 5px;
}

#debug {
    margin-bottom: 10px;
}