@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body{
    background: #0c0c0c;
    margin-top: 50px;
    font-family: 'Press Start 2P', cursive;
}
.topbar{
    background: #272d9c;
    justify-content: center;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 1000;
    position: fixed;
    align-items: center;
    display:flex;
}

.topbar-button{
    color: white;
    background: none;
    text-align: center;
    font-size: large;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive;
}

.topbar-button:hover{
    background: #1d2275;
    -webkit-text-stroke-color: white;
    -webkit-text-stroke-width: 0.7px;
}

.game{
    margin-top: 60px;
    width: 100%;
    height: 100%;
    text-align: center;
}
.action-button{
    font-size: 20px;
    width: fit-content;
    text-align: center;
    color: white;
    border: none;
    background: #464646;
    -webkit-text-stroke-color: black;
    -webkit-text-stroke-width: 0.1px;
    border-radius: 5px;
    font-family: 'Press Start 2P', cursive;
}
#Mine{
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    margin: auto;
}
#Mine:hover{
    background: #3d3d3d;
}
#Mine:active{
    background: #2b2b2b;
}
.button-icon {
    width: 150px;
    height: 150px;
    image-rendering: pixelated;
}
.action-button.usable{
    background: #048000;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.action-button.usable:hover{
    background: #036600;
    transition: none;
}
.action-button.usable:active{
    background: #034e00;
    color: rgb(211, 211, 211);
    transition: none;
}
.text-mine{
    color: white;
}
.pop-up{
    height: fit-content;
    display: flex;
    position: fixed;
    text-align: center;
    align-items: center;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    justify-content: center;
    transition: all 1s ease-in-out;
    font-family: 'Press Start 2P', cursive;
}
.pop-up.open{
    opacity: 1;
    z-index: 1000;
}
.pop-up-text{
    background: white;
    color: #0c0c0c;
    width: fit-content + 10px;
    padding: 0 5px;
    left: 0;
    right: 0;
    border-radius: 7px;
}