.main-container {
    max-width: 750px;
    max-height: 600px;
    display: flex;
    justify-content: center;
    margin: 1rem auto;
    position: relative;
    align-items: center;
}

#canvas {
    object-fit: contain;
    width: 100%;
    background-image: url("/imgs/trains-counting/mine_bg.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px solid grey;
    cursor: default;
}

.image-container img {
    display: none;
}

.button-55 {
    position: absolute;
    align-self: center;
    background-color: #fff;
    background-image: none;
    background-position: 0 90%;
    background-repeat: repeat no-repeat;
    background-size: 4px 3px;
    border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
    border-style: solid;
    border-width: 2px;
    box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
    box-sizing: border-box;
    color: #41403e;
    cursor: pointer;
    display: inline-block;
    font-family: Neucha, sans-serif;
    font-size: 2rem;
    font-weight: bolder;
    line-height: 23px;
    outline: none;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 235ms ease-in-out;
    border-bottom-left-radius: 15px 255px;
    border-bottom-right-radius: 225px 15px;
    border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.mute_bt {
    background-color: #271454bd;
    display: none;
    padding: 1rem;
    top: 0;
    left: 0%;
}

.button-55:hover {
    box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
    transform: translate3d(0, 2px, 0);
}

.button-55:focus {
    box-shadow: rgba(0, 0, 0, .3) 2px 8px 4px -6px;
}

.loader {
    display: inline-grid;
    position: absolute;
    width: 150px;
    aspect-ratio: 1;
    clip-path: polygon(100% 50%, 85.36% 85.36%, 50% 100%, 14.64% 85.36%, 0% 50%, 14.64% 14.64%, 50% 0%, 85.36% 14.64%);
    background: #574951;
    animation: l1 6s infinite linear;
}

.loader:before,
.loader:after {
    content: "";
    grid-area: 1/1;
    background: #83988E;
    clip-path: inherit;
    margin: 10%;
    animation: inherit;
    animation-duration: 12s;
}

.loader:after {
    background: #BCDEA5;
    margin: 20%;
    animation-duration: 18s;
}

@keyframes l1 {
    to {
        rotate: 1turn
    }
}

.loading_text {
    font-weight: bolder;
    position: absolute;
}

@media screen and (max-width: 768px) {
    .button-55 {
        font-size: 1rem;
        padding: 0.5rem
    }

    .play_bt {
        font-size: 1.25rem;
        padding: 1.5rem;
    }
}