@import url(https://fonts.googleapis.com/css?family=Montserrat);
* {
    margin: 0;
    padding: 0;
}
body {
    background-color: #e5cc94;
    font-family: Montserrat, sans-serif;
    /* font-size: 50px; */
    text-align: center;
}
.wrapper {
    background-color: #fff;
    width: 520px;
    height: 350px;
    margin: 20px auto;
    position: relative;
    border-radius: 10px;
    box-shadow: 6px 6px #ECF0F1;
}
.cal {
    background-color: #ECF0F1;
    width: 345px;
    /* height: 75px; */
    padding: 10px;
    position: absolute;
    top: 30px;
    left: 50%;
    margin-left: -175px;
    font-size: 40px;
    color: #808080;
    border-radius: 5px;
}
.cal .cell {
    margin: 0 5px;
}
.player {
    position: absolute;
    width: 425px;
    top: 130px;
    left: 50%;
    margin-left: -210px;
}
.btn {
    background: #cb4e4e;
    color: #fff;
    box-shadow: 0 6px #ab3c3c;
    border: none;
    font-size: 100px;
    font-weight: 900;
    width: 150px;
    margin: 15px 30px;
    padding: 5px 15px;
    border-radius: 3px;
    display: inline-block;
    outline: none;
    position: relative;
}
.btn:after {
    content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.btn:hover {
    box-shadow: 0 8px #ab3c3c;
    top: -2px;
}
.btn:active {
    box-shadow: 0 0 #ab3c3c;
    top: 6px;
}
.control {
    display: none;
    position: relative;
    padding : 5px 0;
    background: #2ca5d4;
    width: 520px;
    color: white;
    margin: 30px auto;
    border-radius: 5px;
    box-shadow: 0 6px #2980b9;
}
.control .ctrl-button {
    font-size: 35px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}
.control:hover {
    top: -2px;
    box-shadow: 0 8px #2980b9;
}
.ctrl:active {
    box-shadow: 0 0 #2980b9;
    top: 6px;
}
.bar {
    display: none;
    position: relative;
    width: 520px;
    height: 50px;
    margin: 30px auto;
    background-color: #6BB9F0;
    border-radius: 5px;
}
.progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 520px;
    height: 50px;
    background-color: #2980b9;
    border-radius: 5px;
}
/* .progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    background-color: #2980b9;
    border-radius: 5px;
} */
.game-over {
    background: #87D37C;
    width: 520px;
    margin: 20px auto;
    padding: 15px 0;
    box-shadow: 6px 6px #3FC380;
    border-radius: 10px;
}
p {
    font-size: 28px;
    color: #fff;
}
.new {
    position: absolute;
    top: 465px;
    margin-left: 10px;
    font-size: 32px;
    text-transform: uppercase;
    color: #cb4e4e;
}
/* For tablets and small desktops */
/* Mobile Styles */
@media (max-width: 480px) {
    .game-container {
        width: 335px;
    }
    .btn {
        /* margin-right: 10px; */
        /* padding-top: 0; */
        /* padding-bottom: 0; */
        /* height: 49%; */
        width: 125px;
        /* font-size: 6vw; */
        left: 60%;
        margin: 10px;
    }
    .player {
        left: -25%;
        top: 162px;
    }
    .cal {
        left: 63%;
        width: 270px;
        height: 36%;
        align-items: center;
        align-content: center;
    }
    .wrapper {
        width: 335px;
        margin: 10px auto; 
    }
    .game-over {
        width: 335px;
    }
    .control {
        width: 335px;
    }
    .bar {
        width: 335px;
    }
    .progress {
        width: 335px;
    }
}
