* 
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body 
{
    font-family: Arial, Helvetica, sans-serif;
}

.container 
{
    border: 2px solid #101010;
    border-radius: 4px;
    width: 900px;
    height: 750px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url("../img/farm.png");
    background-repeat: no-repeat;
    overflow: hidden;
}

.score 
{
    font-size: 50px;
    color: #101010;
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.lifes 
{
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -15%);
    width: 200px;
    display: flex;
}

.life 
{
    width: 75px;
    height: 75px;
    background-image: url('../img/heart.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    overflow: hidden;
}

button 
{
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: red;
    color: seashell;
    padding: 20px 50px;
    border-radius: 3px;
    z-index: 2;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 25px;
}

.infoButton {
    top: 65%;
    z-index: 200;
}

.ok{
    top: 70%;
}

button:hover {
     background-color: tomato;
}

button:active {
     background-color: crimson;
}

.game 
{
    width: 650px;
    height: 400px;
    margin: 260px auto;
    z-index: 200;
    display: flex;
    flex-wrap: wrap;
}

.hole 
{
    flex: 1 0 33.33%;
    position: relative;
    overflow: hidden;
}

.hole:after 
{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 150px;
    z-index: 2;
    bottom: -55px;
    background-image: url('../img/hey.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.mole 
{
    background-image: url('../img/Cow.png');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 60%;
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    transition: 0.4s;
}

.hole.up .mole 
{
    top: 0%;
}

.messaje 
{
    border: 2px solid black;
    border-radius: 4px;
    position: absolute;
    top: 61%;
    left: 50%;
    transform: translate(-50%, -0%);
    width: 450px;
    height: 75px;
    z-index: 3;
    background-color: #ebece5;
    text-align: center;
    display: none;
    padding-top: 16px;
    font-size: 25px;
}

.instructions {
    border: 1px solid #101010;
    background-color: whitesmoke;
    border-radius: 4px;
    width: 800px;
    height: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    padding: 34px;
    padding-top: 10%;
    text-align: center;
    display: none;
}