
.gameover {
    width: 650px;
    height: 450px;
    /* background-color: #5e3837; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    border: 5px solid #141414;
    background-image: url('https://media.discordapp.net/attachments/810370868655292426/811278377540386866/zoom.png');
    
}

.gameover .header {
    background-color: #91553b;
    padding: 10px;
    display: flex;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: inset 0 -4px 0 #141414;
}

.gameover .header h1 {
    color: white;
    margin-left: auto;
    margin-right: auto;
}

.gameover .header #close {
    color: rgb(244, 235, 228);
    cursor: pointer;
    width: 20px;
    height: 20px;
    padding: 5px;
    border-radius: 5px;
    background-color: #5e3837;
    border: 4px solid #141414;
    text-align: center;
    /* align-items: center; */

    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    top: -17px;
    right: -17px;
    z-index: 1;
}

.gameover .header #close:hover {
    color: #ccc;
}

.gameover .stats {

    display: flex;

    height: 75%;
    align-items: center;
    width: 90%;
    margin: auto;
}

.gameover .stats .stat {
    display: flex;
    flex-direction: column;
    min-width: 100px;
    margin-left: auto;
    margin-right: auto;
}

.gameover .stats .stat img {
    margin-bottom: 20px;
    height: 60px;
    width: 60px;
    margin-left: auto;
    margin-right: auto;
}

.gameover .stats .stat .stat-type {
    margin-right: auto;
    color: #f3c39f;
    text-transform: uppercase;
    font-weight: bold;
}

.gameover .stats .stat .stat-content {
    color: #f3c39f;
    font-weight: bold;
}

/* .gameover .stats .stat:nth-child(2) {
    margin-top: 60px;
    margin-bottom: auto;
} */