﻿.goldmine-container {
    position: absolute;
    display: block;
    width: 100%;
    margin: 5vw auto;
}

.goldmine-gif {
    display: block;
    width: 50%;
    height: auto;
    margin: 0 auto;
}

.nugget-wrapper {
    position: absolute;
    width: 21.5%;
    left: 50%;
    top: 29.5%;
    transform: translateX(-50%);
}

.nugget {
    width: 100%;
    height: auto;
}

@keyframes tremble {
    0% { transform: translate(0); }
    25% { transform: translate(-2px, 2px); }
    50% { transform: translate(2px, -2px); }
    75% { transform: translate(-2px, 2px); }
    100% { transform: translate(0); }
}

.info {
    position: absolute;
    transform: translateX(-50%);
    font-family: "Jersey 10", cursive;
    font-size: 1.7vw;
    color: #ffee93;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    z-index: 10;
}

#money-text {
    bottom: 28.5%;
    left: 50%;
}

#money-amount {
    bottom: 23.5%;
    left: 50%;
}

.shake {
    animation: tremble 0.3s ease;
}

#spin{
    background-image: url("../assets/GoldMine/button/goldMineButton0.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 10%;
    height: 20.5%;
    ;
}

#spin:hover {
    background-image: url('../assets/GoldMine/button/goldMineButton2.png');
}

#spin:active {
    background-image: url('../assets/GoldMine/button/goldMineButton1.png');
}

.blocked {
    position: absolute;
    top: 47%;
    left: 50%;
    width: 41%;
    height: auto;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 50;
    pointer-events: none;
}