* {
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: 'Work Sans', sans-serif;
}

img {
  width: 100%;
  display: block;
}

.ghost-on {
  opacity: 0;
}

.ghost-off {
  opacity: 1;
}

#content {
  color: #333;
  margin: 0;
  overflow: hidden;
  text-align: center;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  margin: 0 auto;
  height: 100vh;
  background: linear-gradient(180deg, #f9b21c, #f96203);
}

.game-wrp {
  margin: 0 auto;
  position: relative;
}

.intro {
  position: absolute;
  width: 80%;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  color: #f9b11e;
  text-transform: uppercase;
}

.intro-txt {
  margin-bottom: 2vw;
}

/*  the area of waste bins */
.waste-bins {
  position: absolute;
  top: 48%;
  left: 0;
  height: 35%;
  width: 100%;
}

/* the single waste bin */
.waste-bin {
  position: inherit;
  width: 11%;
  height: 100%;
}

/* the white circle behind the current waste */
.waste {
  display: none;
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 14vw;
  height: 14vw;
  background: white;
  border-radius: 50%;
  border: 4px solid #8d1821;
}

/* the waste img to be dragged */
.waste>img {
  position: absolute;
  top: 16%;
  transform: translateX(-50%);
  left: 50%;
  width: 8vw;
  height: auto;
}

.waste>div {
  position: absolute;
  width: 80%;
  left: 10%;
  top: 10%;
  z-index: 2;
}

.img-wrp {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  background-color: white;
}

#successMessage {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%);
  width: 0;
  height: 0;
  z-index: 100;
  background: white;
  border: 2px solid #333;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: .3em .3em .5em rgba(0, 0, 0, .28);
  -webkit-box-shadow: .3em .3em .5em rgba(0, 0, 0, .28);
  box-shadow: .3em .3em .5em rgba(0, 0, 0, .28);
  padding: 20px;
}

.replay-btn {
  background-color: darkred;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  text-transform: uppercase;
  font-weight: 900;
}

.modalArea {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, .8);
}

.counter {
  position: absolute;
  top: 4%;
  right: 1%;
  background-color: #f9b11e;
  padding: 4px;
  border-radius: 8px;
  border: 2px solid #881a22;
  color: #881a22;
  font-weight: 900;
  font-size: 13px;
  line-height: 2;
}

.progress-bar {
  position: absolute;
  bottom: 5.7%;
  left: 11%;
  width: 0%;
  height: 2%;
  border-radius: 4px;
}

.progress-bar-shine {
  position: absolute;
  bottom: 6.8%;
  left: 11.4%;
  width: 0%;
  height: .4%;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, .4);
}

.score {
  display: none;
  position: absolute;
  width: 70%;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  color: #f9b11e;
  background-color: rgba(0, 0, 0, .5);
  padding: 2vw;
  border-radius: 2vw;
  border: 2px solid #f9b11e;
}

.score-intro {
  text-transform: uppercase;
  font-size: 14px;
}

.score-points {
  font-size: 34px;
  text-shadow: 0px 0px 8px red;
}

.play-again {
  margin-top: 3vw;
}

.play-again-btn {
  color: #8c1721;
  text-transform: uppercase;
  background-color: #f9b11e;
  font-weight: 900;
  padding: 1vw;
  border-radius: 1vw;
}