#menu {
    display: none;
    
    margin-top: 10px;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    z-index: 3;

    background-image: url('../images/inventary_base.png');
    background-size: 100% 100%;
    height: 100px;
    bottom: -100px;
}
#menu[style*='display: block'] {
    display: flex !important;
}

#badges {
    height: 200px;
    flex: none;
    width: 150px;
    justify-content: right;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    position: relative;
}
#badges > div {
    height: 69px;
    width: 100%;
    position: relative;
    margin: 10px;
}
#badges img {
    position: absolute;
    top: 0;
    right: 0;
    height: 69px;
    transition: 1s all;
}
#badges img.empty {
    opacity: .7;
}
#badges img.full {
    opacity: 0;
    transform: scale(1.3);
    pointer-events: none;
}

#badges .taken img.empty {
    opacity: 0;
}
#badges .taken img.full {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}


.heartbeatBig {
    animation-name: heartbeatBig;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.animation-duration4 {
    animation-duration: 2s !important;
}
.animation-duration3 {
    animation-duration: 1.5s !important;
}
.animation-duration2 {
    animation-duration: 1s !important;
}
.animation-duration1 {
    animation-duration: 0.5s !important;
}
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes heartbeatBig {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}
