*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.title{
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

body{
    height: 100%;
   background-color: antiquewhite;
   overflow: hidden; 
}

.container{
    background-color: #fff;
    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: 20px;
    overflow: hidden;
}

.score{
    text-align: right;
    color: black;
    font-weight: 500;
    line-height: 25px;
}

.coin{
    height: 250px;
    width: 250px;
    position: relative;
    margin: 50px auto;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    animation: spin-tails 1s forwards;

}

.head, .tail{
    position: absolute;
    width: 100%;
    height: 100%;
}

.flip-coin img{
    width: 1000px;
    position: absolute;
    bottom: -20%;
    left: 45%;
}

@keyframes spin-tails{
    0%{
        transform: rotateY(0) 
        
    }
    100%{
        transform: rotateY(700deg);
    }
    
}