html {
  box-sizing: border-box;
  font-size: 10px;
  background: url("Jungle\ Background.png") bottom center no-repeat;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Amatic SC", cursive;
}

.game {
  cursor: crosshair;
}
h1 {
  text-align: center;
  font-size: 10rem;
  line-height: 1;
  margin-bottom: 0;
}

.secondsLeft {
  padding: 0 3rem;
  border-radius: 1rem;
  text-align: center;
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 0;
  margin-left: 150px;
}
.scorecontainer {
  display: flex;
  justify-content: center;
}
.score {
  padding: 0 3rem;
  line-height: 1;
  border-radius: 1rem;
  font-size: 8rem;
  position: absolute;
  top: 10px;
}

.game {
  width: 600px;
  height: 400px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

.hole {
  flex: 1 0 33.33%;
  overflow: hidden;
  position: relative;
}

.hole1:after {
  display: block;
  background: url("Fern3.png") bottom center no-repeat;
  background-size: 90%;
  content: "";
  width: 100%;
  height: 100px;
  position: absolute;
  z-index: 2;
  bottom: 0px;
}

.hole2:after {
  display: block;
  background: url("pyramidsedit.png") bottom center no-repeat;
  background-size: 100%;
  content: "";
  width: 100%;

  height: 72px;
  position: absolute;
  z-index: 2;
  bottom: -10px;
}

.hole3:after {
  display: block;
  background: url("fern4.png") bottom center no-repeat;
  background-size: 90%;
  content: "";
  width: 100%;

  height: 98px;
  position: absolute;
  z-index: 2;
  bottom: 0px;
}
.hole4:after {
  display: block;
  background: url("rock\ 3.png") bottom center no-repeat;
  background-size: 100%;
  content: "";
  width: 100%;
  height: 115px;
  position: absolute;
  z-index: 2;
  bottom: -40px;
}
.hole5:after {
  display: block;
  background: url("Monstera.png") bottom center no-repeat;
  background-size: 100%;
  content: "";
  width: 100%;
  height: 115px;
  position: absolute;
  z-index: 2;
  bottom: -40px;
}
.hole6:after {
  display: block;
  background: url("Rock\ 2.png") bottom center no-repeat;
  background-size: contain;
  content: "";
  width: 100%;
  height: 90px;
  position: absolute;
  z-index: 2;
  bottom: -20px;
}
.startbtn {
  font-family: "Amatic SC", cursive;
  font-size: 5rem;
  border-radius: 1rem;
  box-shadow: 2px 2px 5px rgba(133, 115, 53, 1);
  background-color: rgba(133, 115, 53, 1);
  margin-left: 20px;
  margin-top: -80px;
  position: fixed;
}
.levelsbtns {
  display: flex;
  justify-content: left;
}
.levelsbtn {
  font-family: "Amatic SC", cursive;
  font-size: 3rem;
  border-radius: 1rem;
  box-shadow: 2px 2px 5px rgba(133, 115, 53, 1);
  background-color: rgba(133, 115, 53, 1);
  margin-left: 20px;
  margin-top: 20px;
}

.startbtn:active {
  margin-top: -77px;
}

.dyno1 {
  background: url("Diplodocus.png") bottom center no-repeat;
  background-size: 80%;
  position: absolute;
  top: 100%;
  width: 100%;
  height: 100%;
  transition: all 0.4s;
  transform: scale(1.1);
}
.dyno2 {
  background: url("Pteradactol.png") bottom center no-repeat;
  background-size: 70%;
  position: absolute;
  top: 100%;
  width: 100%;
  height: 90%;
  transition: all 0.4s;
  transform: scale(1.1);
}

.dyno3 {
  background: url("dinsoaur\ 3\ edit.png") bottom center no-repeat;
  background-size: 120%;
  position: absolute;
  top: 100%;
  width: 100%;
  height: 110%;
  transition: all 0.4s;
  transform: scale(1.1);
}
.dyno4 {
  background: url("dinsaur2.png") bottom center no-repeat;
  background-size: 65%;
  position: absolute;
  top: 100%;
  width: 100%;
  height: 90%;
  transition: all 0.5s;
  transform: scale(1.2);
}

.dyno5 {
  background: url("TRex2.png") bottom center no-repeat;
  background-size: 60%;
  position: absolute;
  top: 100%;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
  transform: scale(1.5);
}
.dyno6 {
  background: url("Steggo2.png") bottom center no-repeat;
  background-size: 65%;
  position: absolute;
  top: 100%;
  width: 100%;
  height: 77%;
  transition: all 0.7s;
  transform: scale(1.3);
}

.hole.up .dyno {
  top: -3px;
}
