html {
    background: radial-gradient(circle, white, lightgrey);
    background: -webkit-radial-gradient(circle, white, lightgrey);
    background: -o-radial-gradient(circle, white, lightgrey);
    background: -moz-radial-gradient(circle, white, lightgrey);
}

* {
    box-sizing: border-box;
}

#container {
    position: absolute;
    transform: translate(-50%, -50%);
    height: 95%;
    width: 60%;
    left: 50%;
    top: 50%;
    background-color: skyblue;
    margin: 0vw auto;
    padding: 2vw 2vw 1vw 2vw;
    border-radius: 0.8vw;
    box-shadow: 0vw 0.4vw 0vw 0vw steelblue;
    -moz-box-shadow: 0vw 0.4vw 0vw 0vw steelblue;
    -webkit-box-shadow: 0vw 0.4vw 0vw 0vw steelblue;
}
#score, #trialsLeft {
    background-color: khaki;
    color: steelblue;
    box-shadow: 0vw 0.4vw 0vw 0vw darkkhaki;
    -moz-box-shadow: 0vw 0.4vw 0vw 0vw darkkhaki;
    -webkit-box-shadow: 0vw 0.4vw 0vw 0vw darkkhaki;
}
#score {
    float: right;
    padding: 0.5vw;
    font-size: 1.3vw;
}
#trialsLeft {
    display: none;
    position: absolute;
    width: 13%;
    padding: 0.5vw;
    text-align: center;
}
.life {
    height: 1vw;
    margin: 0 0.5vw;
}

#fruitsContainer {
    position: relative;
    transform: translate(-50%, -50%);
    top: 45%;
    left: 50%;
    width: 87%;
    height: 75%;
    background-color: white;
    overflow: hidden;
}
.fruit {
    display: none;
    position: absolute;
    height: 7vw;
}

#instruction {
    position: relative;
    transform: translate(-50%, -50%);
    top: 13%;
    left: 50%;
    width: 50%;
    height: 9%;
    background-color: mediumorchid;
    box-shadow: 0vw 0.4vw 0vw 0vw darkviolet;
    -moz-box-shadow: 0px 0.4vw 0vw 0vw darkviolet;
    -webkit-box-shadow: 0vw 0.4vw 0vw 0vw darkviolet;
    font-size: 1.3vw;
    text-align: center;
    padding-top: 2%;
}

#startreset {
    position: relative;
    top: 11%;
    width: 15%;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 0.4vw;
    cursor: pointer;
    box-shadow: 0vw 0.4vw 0vw 0vw darkgray;
    -moz-box-shadow: 0px 0.4vw 0vw 0vw darkgray;
    -webkit-box-shadow: 0vw 0.4vw 0vw 0vw darkgray;
    transition: all 0.2s;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    margin: 0 auto;
    padding: 0.5vw;
    font-size: 1.3vw;
    text-align: center;
}

#startreset:active {
    box-shadow: 0vw 0vw 0vw 0vw darkorchid;
    -moz-box-shadow: 0vw 0vw 0vw 0vw darkorchid;
    -webkit-box-shadow: 0vw 0vw 0vw 0vw darkorchid;
    top: 12%;
}
#gameOver {
    position: absolute;
    background: linear-gradient(burlywood, salmon);
    background: -webkit-linear-gradient(burlywood, salmon);
    background: -o-linear-gradient(burlywood, salmon);
    background: -moz-linear-gradient(burlywood, salmon);
    transform: translate(-50%, -50%);
    top: 45%;
    left: 50%;
    width: 60%;
    height: 35%;
    color: white;
    text-align: center;
    font-size: 4vw;
    padding: 3vw;
    display: none;
}
