@media only screen and (min-width: 2000px) {
    .container-grid {
        height: auto;
    }

    #gameboard {
        height: auto;
        grid-template-rows: repeat(4, minmax(30px, 1fr));
    }
}



@media only screen and (max-width: 1536px) {
    #timer {
        font-size: 38px;
    }

    .content {
        max-width: 440px;
    }

    .end-t {
        max-width: 600px;
    }

    img {
        width: 90%;
        margin: 0 auto;
        display: block;
    }

    .coin1,
    .coin2 {
        max-height: 148px;
    }

    .label-gold-svg {
        max-width: 56px;
        top: -50px;
    }

    .label-diameter-svg {
        max-width: 123px;
        left: 50px;
    }

    .arrows-left,
    .arrows-right {
        width: 30px;
    }

    .arrows-right {
        right: 40px;
    }

    .arrows-left {
        left: 40px;
    }

    .lens-wrap-coin2::before {
        transform-origin: center;
        top: -40px;
        background-position: center;
        background-size: cover;
        right: -25px;
    }

    .lens-wrap-coin1::after {
        transform-origin: center;
        bottom: -40px;
        background-position: center;
        background-size: cover;
        left: -25px;
    }
}

@media only screen and (max-width: 1366px) {
    .content {
        max-width: 340px;
    }

    img {
        width: 80%;
        margin: 0 auto;
        display: block;
    }

    .timer-svg {
        max-width: 80px;
    }

    .timeleft-svg {
        max-width: 100px;
    }

    .end-t {
        max-width: 420px;
    }

    .arrows-left,
    .arrows-right {
        width: 30px;
    }

    .arrows-right {
        right: 30px;
    }

    .arrows-left {
        left: 30px;
    }

    .coin1,
    .coin2 {
        max-height: 118px;
    }

    .label-gold-svg {
        max-width: 46px;
        top: -40px;
    }

    .lens-wrap-coin2 {
        right: 0px;
    }

    .label-diameter-svg {
        max-width: 73px;
        z-index: 0;
        bottom: -30px;
        left: 55px;
    }

    .prices-svg {
        padding: 0;
    }

    .coin-container {
        padding: 50px 0;
    }

    .bonus-svg,
    .booklet {
        padding: 0;
    }

    .button-svg {
        width: 100%;
    }

    .lens-wrap-coin2::before {
        transform-origin: center;
        top: -20px;
        background-position: center;
        background-size: cover;
        right: -25px;
    }

    .lens-wrap-coin1::after {
        transform-origin: center;
        bottom: -20px;
        background-position: center;
        background-size: cover;
        left: -25px;
    }



}

@media only screen and (max-width: 820px) {
    .container-grid {
        height: auto;
    }

    #gameboard {
        height: auto;
        grid-template-rows: repeat(4, minmax(30px, 1fr));
    }

    #winner section {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .button-container {
        padding: 0 40px;
    }
}

@media only screen and (max-width: 400px) {
    #timer {
        font-size: 28px;
    }

    img {
        width: 90%;
    }

    .end-t {
        padding: 10px;
    }

    .arrows-right {
        right: 0px;
    }

    .arrows-left {
        left: 0px;
    }

    .button-container {
        padding: 0 20px;
    }
}

@media only screen and (min-height: 1700px) {
    .container-grid {
        height: auto;
    }

    #gameboard {
        height: auto;
        grid-template-rows: repeat(4, minmax(30px, 1fr));
    }

    .content {
        max-width: initial;
    }
}