.transparent-bg {
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.game-over-card {
    background-color: #bbf7d0;
    padding: 5px 0 30px 0;
    border-radius: 70px;
    position: fixed;
    top: 30%;
    width: 96%;
    left: 2%;
    right: 2%;
}

.close-button {
    height: 42px;
    width: 42px;
    background-color: #FFF;
    border-radius: 30px;
    font-weight: 50;
    font-size: 40px;
    position: absolute;
    right: -5px;
    top: -5px;
}

.close-button:hover {
    cursor: pointer;
    top: -8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


@media screen and (min-width: 366px) {
    .game-over-card {
        width: 80%;
        left: 10%;
        right: 10%;
    }
}

@media screen and (min-width: 576px) {
    .game-over-card {
        width: 60%;
        left: 20%;
        right: 20%;
    }
}

@media screen and (min-width: 768px) {
    .game-over-card {
        width: 50%;
        left: 25%;
        right: 25%;
    }
}

@media screen and (min-width: 992px) {
    .game-over-card {
        width: 30%;
        left: 35%;
        right: 35%;
    }
}

@media screen and (min-width: 1600px) {
    .game-over-card {
        width: 24%;
        left: 38%;
        right: 38%;
    }
}
