html {
    min-height: 100%
    }
body {
    min-height: 100%;
    background: #fff;
   	text-align:center;
	margin:0;
	padding:0;
	
    }
p {
    margin: 1em 0;
    text-align: center
    }
#top{
    width: 300px;
    margin: 4px auto;
    color: #fff;
    height: 50px;
    display: flex;
    align-items: center;
    margin-top: 40px;
	}
#top a{color:#00FF00;;text-decoration:none;}
.ball{
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}
.ball .panel-text{
    height: 207px;
    width: 300px;
}
.message{
    font: 29px/125% Tahoma;
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(91 86 255);
    color: #fff;
}
.message:hover{
cursor:pointer;
}

a#elem2, a#elem {
    padding: 20px;
    border: solid 1px #8a8a8a;
    width: 300px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    width: 108px;
    display: inline-block;
}
a#elem2{
    background: #EB3F78;
    color: #fff;
    font-size: 23px;
}

a#elem{
    content: "\2714";
    background: #40DB90;
    color: #fff;
}
.timer, .counter{
    font-size: 20px;
    background: #7B9AF5;
    
    height: 100%;
    line-height: 50px;
}
.timer{
    width: 40%;
} 
.counter{
    width: 60%;
}
a#elem2:hover, a#elem:hover{
    opacity: 0.8;
}


/* Modal window */
dialog{
    border-radius: 20px;
    background: rgb(91 86 255);
    width: 300px;
    font-size: 30px;
    color: #fff;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.9);
}
div#result{
    font-size: 44px;
    border: solid #fff;
    padding: 5px;
    width: 64px;
    margin: 0 auto;
    text-align: center;
}
button#close{
    background: #278d21;
    border: solid 1px #88bdff;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    width: 33%;
    text-align: center;
    margin-top: 33px;
    font-size: 25px;
    box-shadow: #000 5px 11px 23px -9px;
    cursor: pointer;
}
button#close:hover{
    transition: 1000ms;
    background: #13610f;
};