@import url("https://fonts.googleapis.com/css2?family=Bungee+Spice&family=Dhurjati&display=swap");

body {
  padding: 0;
  text-align: center;
  font-family: "Dhurjati";
  font-size: 18px;
  background-color: antiquewhite;
}

#game-intro {
  display: block; /*CHANGE BACK TO block*/
  padding: 20px 0px;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-family: "Bungee Spice";
  font-size: 40px;
  text-shadow: 4px 2px #101011;
}
.header img {
  width: 8vw;
  height: 8vw;
  margin: 52px 20px 0px 20px;
}
h2 {
  font-family: "Dhurjati";
  color: #101011;
  text-shadow: 1px 2px #f7f7fa;
  font-size: 25px;
  margin-top: 1px;
  line-height: 32px;;
}

.arrows-img {
  width: 210px;
}

#game-container {
  display: none; /*CHANGE BACK TO none*/
  width: 100vw;
  padding: 30px 0px;
  justify-content: space-around;
  text-align: left;
}

#stats {
  width: 12vw;
  line-height: 50px;
  font-family: "Bungee Spice";
  font-size: 32px;
  text-shadow: 1px 2px #101011;
}
#lives {
  display: flex;
}
#lives img{
  width: 3vw;
  margin: 3px;
}

.mute-btn{
  font-size: 20px;
  white-space: nowrap;
  width: 14vw;
  text-align: center;
}

#game-screen {
  display: flex; /*CHANGE BACK TO flex*/
  padding: 20px 0px;
  overflow: hidden;
  position: relative;
  background-image: url(../assets/brick-background.png);
  background-size: cover;
  justify-content: center;
  align-items: center;
  width: 90vw;
  border: 2px solid #101011;
  border-radius: 10px;
  box-shadow: 5px 5px #271715;
}

#game-end {
  display: none; /*CHANGE BACK TO none*/
}

#game-end h1 {
  font-family: "Dhurjati";
  color: #22a08b;
  text-shadow: 2.5px 2px #101011;
  font-size: 55px;
  margin-top: 0;
  margin-bottom: 20px;
}
#game-end img {
  width: 30vw;
  border: 2px solid #101011;
  border-radius: 10px;
  box-shadow: 5px 5px #271715;
  margin-top: 20px
}
#restart-button{
  margin-top: 20px;
}

body button {
  font-family: "Bungee Spice";
  text-shadow: 1px 2px #101011;
  font-size: 30px;
  background-color: #fffbfb;
  padding: 20px 40px;
  border: 1.2px dashed #271715;
  box-shadow: 0;
  border-radius: 10px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 5px 5px #271715;
  cursor: pointer;
}

#start-button {
  animation: blink 1s linear infinite;
}

body button:hover {
  background-color: rgb(85, 39, 85);
}

body button:active {
  background-color: rgb(85, 39, 85);
  box-shadow: 0 5px #4e4c4c;
  transform: translateY(4px);
}

@keyframes blink {

    0% { opacity: 1; }
   49% { opacity: 1; }
   50% { opacity: 0; }
  100% { opacity: 0; }
}

.shake {
  -webkit-animation: shake 0.7s;

  /* -webkit-animation-iteration-count: infinite; */
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-25deg); }
  20% { transform: translate(-3px, 0px) rotate(25deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(25deg); }
  50% { transform: translate(-1px, 2px) rotate(-25deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-25deg); }
  80% { transform: translate(-1px, -1px) rotate(25deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-25deg); }
}