:root {
  --amatic: "Amatic SC", cursive;
  --roboto: "Roboto", sans-serif;
  --dark: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  background: #e5e5e5;
  overflow-x: hidden;
}

.title {
  text-align: center;
  font-family: var(--amatic);
  font-size: 100px;
  line-height: 1;
  margin-top: 20px;
}

.game-panel {
  width: 500px;
  height: 120px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  margin: 0 auto;
}

.start,
.reset,
.stop,
.score,
.win,
.level {
  width: 150px;
  height: 50px;
  background: transparent;
  font-family: var(--amatic);
  font-weight: 700;
  font-size: 32px;
  text-align: center;
}

.start,
.reset,
.stop {
  border: 3px solid #989898;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.start:hover,
.reset:hover,
.stop:hover {
  border: 3px solid var(--dark);
}

.game {
  width: 600px;
  height: 600px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

.hole {
  flex: 1 0 33.33%;
  overflow: hidden;
  position: relative;
}

.hole:after {
  display: block;
  background: url(./assets/svg/dirt.svg) bottom center no-repeat;
  background-size: contain;
  content: '';
  width: 100%;
  height:70px;
  position: absolute;
  z-index: 2;
  bottom: -30px;
}

.mole {
  background: url(./assets/svg/mole.svg) bottom center no-repeat;
  background-size: 60%;
  position: absolute;
  top: 100%;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition:all 0.2s;
}

.hole.up .mole {
  top: 0;
}

.mole--red {
  background: url(./assets/svg/mole-red.svg) bottom center no-repeat;
  background-size: 60%;
  position: absolute;
  top: 100%;
  width: 100%;
  height: 100%;
  transition:all 0.2s;
}

.footer {
  width: 100vw;
  position: absolute;
  bottom: 0;
  background-color: #000000 trasparent;
  box-shadow: 0 -5px 5px -5px var(--dark);
}

.footer-container {
  width: 660px;
  margin: 0 auto;
  padding: 0 65px 0 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.github {
  display: block;
  width: 270px;
  height: 45px;
  padding-left: 45px;
  background-image: url('./assets/svg/github.svg');
  background-size: 35px;
  background-repeat: no-repeat;
  background-position: left center;
  color: var(--dark);
  font-family: var(--roboto);
  font-size: 16px;
  line-height: 45px;
  transition: 0.3s;
}

.github:hover {
  filter: invert(65%) sepia(2%) saturate(19%) hue-rotate(314deg) brightness(94%) contrast(82%);
}

.rss {
  display: block;
  position: relative;
  font-family: 'Open Sans', sans-serif;
  width: 86px;
  height: 32px;
  background-image: url('./assets/svg/rss.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  padding-right: 50px;
  transition: 0.3s;
}

.rss-year {
  position: relative;
  top: 15px;
  left: 85px;
  font-family: var(--roboto);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -2px;
  color: var(--dark);
  line-height: 0.9;
  transition: 0.3s;
}

.rss:hover {
  filter: invert(65%) sepia(2%) saturate(19%) hue-rotate(314deg) brightness(94%) contrast(82%);
}

.rss:hover .rss-year {
  letter-spacing: 0;
}
