*{
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*THIS STUFF IS FOR THE GAMES LOGIC ITSELF */

#game{
    width: 400px;
    height: 500px;
    border: 1px solid black;
    margin: auto;
    position: relative;
    overflow: hidden;
}
#block, #hole {
    width: 50px;
    position: relative;
    animation: block 2s infinite linear;
}
#block{
    height: 500px;
    background-color: black;
    left: 400px;
}
#hole{
    height: 150px;
    background-color: white;
    left: 400px;
    top: -500px;
}
@keyframes block{
    0%{left: 400px}
    100%{left: -50px}
}
#character {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 100px;
}

/*STARTING UI */
#ui h1 {
    color: black;
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 30px;
}

#ui{
    font-size: 20px;
    width: 400px;
    border: 1px solid black;
    margin: 10px auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#ui button {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: white;
    border-radius: 5px;
}

#intro{
    width: 400px;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#control{
    margin-top:10px;
}

/*SKIN SECTIONS */
#skinSelector{
    text-align:center;
    margin:10px;
}

#skinSelector label{
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}



/*THIS SECTION IS FOR THE SCORING , MAIN MENU, PATCH NOTES */

#ui2 {
    font-size: 15px;
    width: 400px;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#ui2-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#Scores h2, #update {
    text-align: center;
    width: 100%;
}
/* MENU BUTTON*/
#mainMenu{
    position:relative;
    padding: 1% 2%;
    font-size: 18px;
    cursor: pointer;
    background-color: white;
    border-radius: 5px;
}
/* SCOREBOARDING*/

/*PATCH NOTES */
#update{
    position:relative;
}

#credits{
    display:flex;
    justify-content: center;
    font-size:10px;
    font-weight:lighter;
}

/*USERNAME, LEADERBOARD*/
#top-left-buttons {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
}

#top-left-buttons button {
    margin-right: 10px;
    padding: 5px 10px;
    font-size: 16px;
    background-color: lightgray;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#userNameDisplay {
    font-size: 16px;
    color: rgb(0, 0, 0);
    font-weight: bold;
}