* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    height: 100%;
    background: linear-gradient(to right bottom, #11151C, #162135) fixed;
}
 .container {
    border-style: ridge;
    background: #7D4E57;
    width: 400px;
    padding: 50px;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    box-shadow: 15px 30px 35px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    -webkit-perspective: 300px;
    perspective: 300px;
 }
.stats {
    border-style:ridge;
    border-radius: 12px;
    border-color: #945556;
    background-color: #d669537c;
    text-align: center;
    color: #ffffff;
    font-weight: 500;
    line-height: 25px;
}

.coin {
    height: 150px;
    width: 150px;
    position: relative;
    margin: 50px auto;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.tails {
    transform: rotateX(180deg);
}
.buttons {
    display: flex;
    justify-content: space-between;
}
.coin img{
    width: 145px;
}

.heads, .tails {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

button {
    width: 120px;
    padding: 10px 0;
    border: 2.5px solid #ffffff;
    border-radius: 5px;
    cursor: pointer;
}
#flip-button {
    background: #D66853;
    color: #f9fbfc;

}
#flip-button:disabled {
    background: #D66853;
    color: #e7edf3;
    border-color: #f9fbfc;
}
#reset-button {
    border-color: #D66853;
    color: #D66853;
}

@keyframes spin-tails {
    0%{
        transform: rotateX(0);
    }
    100%{
        transform: rotateX(1980deg);
    }
}
@keyframes spin-heads {
    0%{
        transform: rotateX(0);
    }
    100%{
        transform: rotateX(2160deg);
    }
}
