/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&family=Rock+Salt&family=Special+Elite&display=swap');
/* End of Import Font */
body {
  max-height: 2600px;
  margin: 0;
  background-color: rgb(0, 0, 0);
}

audio {
  display: none;
}

.note {
  color: white;
  font-size: 19px;
  display: none;
  text-align: center;
}

.navbar-link li a {
  color: white;
  font-size: 50px;
  text-decoration: none;
  margin-left: 30rem;
  margin-top: 0;
  display: inline-block;
}

.logo img {
  left: 0;
  top: 0;
  width: 210px;
  height: 210px;
  position: absolute;
}

.Typing-title {
  text-align: center;
  font-family: 'Rock Salt', cursive;
  color: rgb(255, 0, 128);
  display: inline;
}
.water-text {
  display: inline;
  color: #0f5e9c;
}
.wind-text {
  display: inline;
  color: rgb(255, 255, 255);
}
.fire-text {
  display: inline;
  color: rgb(255, 123, 0);
}
.container-hero {
  width: 900px;
  margin: auto;
}
.Typing-hero {
  text-align: center;
  font-family: 'Special Elite', cursive;
}
.Typing-hero h3 {
  font-size: 30px;
  color: rgb(255, 255, 255);
}

.Typing-hero .text1 {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.15em;
  animation: typing1 3.5s steps(40, end);
}

/* The typing effect */
@keyframes typing1 {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.Typing-hero .text2 {
  animation-delay: 100s;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.15em;
  animation: typing2 5.5s steps(40, end);
}

/* The typing effect */
@keyframes typing2 {
  0% {
    width: 0;
    color: rgb(0, 0, 0);
  }
  50% {
    width: 50%;
    color: rgb(0, 0, 0);
  }
  100% {
    width: 100%;
    color: rgb(255, 255, 255);
  }
}
.Typing-hero .text3 {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.15em;
  animation: typing3 9.3s steps(40, end);
}

/* The typing effect */
@keyframes typing3 {
  0% {
    width: 0;
    color: rgb(0, 0, 0);
  }
  50% {
    width: 50%;
    color: rgb(0, 0, 0);
  }
  100% {
    width: 100%;
    color: rgb(255, 255, 255);
  }
}

.container-card {
  text-align: center;
}
.card {
  margin: auto;
  display: inline-block;
  color: #ffffff;
  text-align: center;
}

.card img {
  width: 180px;
  height: 185px;
}

.card img {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  animation: hero 10.5s steps(40, end);
}

.card-title {
  font-family: 'Rock Salt', cursive;
}

/* The typing effect */
@keyframes hero {
  0% {
    width: 0;
    display: none;
    animation-delay: 5s;
    color: rgb(0, 0, 0);
  }
  50% {
    width: 0%;
    display: none;
    color: rgb(0, 0, 0);
  }
  75% {
    width: 0;
    display: none;
    color: rgb(0, 0, 0);
  }
  95% {
    width: 0;
    display: none;
    color: rgb(0, 0, 0);
  }
  100% {
    width: 100%;
    display: inline-block;
    color: rgb(255, 255, 255);
  }
}

.card-title {
  overflow: hidden;
  white-space: nowrap;
  margin: 0 auto;
  animation: card 10.5s steps(40, end);
}

/* The typing effect */
@keyframes card {
  0% {
    width: 0;
    display: none;
    animation-delay: 5s;
    color: rgb(0, 0, 0);
  }
  50% {
    width: 0%;
    display: none;
    color: rgb(0, 0, 0);
  }
  75% {
    width: 0;
    display: none;
    color: rgb(0, 0, 0);
  }
  95% {
    width: 0;
    display: none;
    color: rgb(0, 0, 0);
  }
  100% {
    width: 100%;
    display: inline-block;
    color: rgb(255, 255, 255);
  }
}

hr {
  color: #ffffff;
  width: 900px;
  margin: auto;
}

.container-rnr {
  margin: auto;
  margin-top: -1.6rem;
  width: auto;
}

.rnr h1 {
  color: white;
  font-family: 'Rock Salt', cursive;
  text-align: center;
}

.image-rnr {
  text-align: center;
}

.image-rnr img {
  width: 650px;
  height: 650px;
}

/*============ DIALOGUE =========*/

.shadowmaster1-1 {
  color: rgb(255, 0, 0);
  float: right;
  font-family: 'Indie Flower', cursive;
  margin-right: 25rem;
  font-size: 19px;
}

.shadowmaster1-2 {
  color: rgb(255, 0, 0);
  float: right;
  font-family: 'Indie Flower', cursive;
  margin-right: 25rem;
  font-size: 19px;
  margin-top: -10rem;
  opacity: 0.5;
}

.shadowmaster1-3 {
  font-family: 'Indie Flower', cursive;
  color: red;
  font-size: 19px;
  margin-right: 25rem;
  margin-top: -7rem;
  opacity: 0.3;
  float: right;
}

.shadowmaster1 img {
  border-radius: 60%;
  margin-left: 2rem;
  width: 290px;
  height: 250px;
}
/*============ End of Dialogue ==*/

/* =========== Game ============ */

#start {
  font-size: 30px;
  width: 600px;
  line-height: 50px;
  font-family: 'Rock Salt', cursive;
  height: 55px;
  cursor: pointer;
  border-radius: 25%;
  margin-left: 24.6rem;
  margin-top: 10rem;
  margin-bottom: 10rem;
  background-color: rgb(235, 219, 3);
  border: 2px solid white;
}

#start:hover {
  background-color: rgb(168, 160, 42);
  box-shadow: 0 0 10px 5px red;
}

section {
  display: none;
}

.alertMenang {
  width: 500px;
  height: 225px;
  border-radius: 10%;
  line-height: 25px;
  text-align: center;
  position: absolute;
  z-index: 99;
  opacity: 91%;
  color: white;
  margin-left: 26.8rem;
  margin-top: 11rem;
  background-color: rgb(43, 142, 155);
  display: none;
  font-size: 20px;
}

.alertKalah {
  width: 500px;
  height: 225px;
  border-radius: 10%;
  line-height: 25px;
  text-align: center;
  position: absolute;
  z-index: 99;
  opacity: 91%;
  color: white;
  margin-left: 26.8rem;
  margin-top: 11rem;
  background-color: rgb(43, 142, 155);
  display: none;
  font-size: 20px;
}

#TryAgain {
  position: absolute;
  margin-top: 3.8rem;
  margin-left: -3.3rem;
  border-radius: 40%;
  width: 120px;
  height: 50px;
  border: none;
  font-size: 14px;
  color: #ffffff;
  background-color: rgb(9, 143, 252);
  border: 3px solid white;
  font-weight: bold;
}

#TryAgain:hover {
  cursor: pointer;
}

strong {
  color: red;
}

/*
.alert #btn-close {
  z-index: 1000;
  position: absolute;
  margin-left: 9rem;
  border-radius: 20%;
  margin-top: 1rem !important ;
  background-color: rgba(251, 255, 0, 91%);
  border: 2px solid white;
  font-weight: 900;
} */

.container {
  width: 600px;
  margin-left: 17rem;
  padding: 20px;
  position: relative;
}

.area-komputer {
  width: 780px;
  height: 270px;
  margin: auto;
  background-color: rgb(42, 36, 95);
  position: relative;
  padding-top: 40px;
  box-sizing: border-box;
  border-radius: 35% 35% 0 0;
  border: 2px solid white;
}

.area-komputer img {
  width: 164px;
  height: 165px;
  border-radius: 50%;
  margin-left: 18rem;
  border: 4px solid rgb(255, 255, 255);
  background-color: rgb(255, 255, 255);
}

.skorKomputer {
  position: absolute;
  background-color: white;
  color: #000000;
  width: 55px;
  height: 55px;
  border-radius: 35%;
  margin-top: 10.1rem;
  margin-left: 0.8rem;
  line-height: 55px;
  text-align: center;
  font-size: 42px;
  cursor: pointer;
}

.area-player {
  width: 776px;
  height: 270px;
  background-color: rgb(145, 32, 32);
  position: relative;
  border-radius: 0 0 35% 35%;
  border: 2px solid white;
}

.skorPlayer {
  position: absolute;
  background-color: white;
  color: #000000;
  width: 55px;
  height: 55px;
  border-radius: 35%;
  margin-top: 0.6rem;
  margin-left: 44.4rem;
  line-height: 55px;
  text-align: center;
  font-size: 42px;
  cursor: pointer;
}

.info {
  width: 150px;
  height: 60px;
  border: 5px solid rgb(0, 195, 255);
  position: absolute;
  left: 50%;
  margin-left: -2.3px;
  top: 50%;
  margin-top: -37px;
  background-color: white;
  border-radius: 30px;
  z-index: 1;
  text-align: center;
  line-height: 60px;
  color: #000000;
  font-family: 'Indie Flower', cursive;
  font-weight: bolder;
  font-size: 30px;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);
}

ul {
  padding-top: 80px;
  padding-left: 25px;
}

li {
  display: inline-block;
  margin-left: 3.4rem;
}

li img {
  width: 130px;
  height: 127px;
  display: block;
  border-radius: 50%;
  margin-top: -1rem;
  border: 3px solid rgb(190, 185, 185);
  background-color: white;
  margin-left: 1.1rem;
}

li img:hover {
  background-color: black;
  cursor: grab;
}

.fire,
.water,
.wind {
  transition: 0.3s;
  position: relative;
  top: 0;
  cursor: grab;
}

.fire:hover,
.water:hover,
.wind:hover,
.active {
  box-shadow: 0 0 10px 5px limegreen;
}

.fire:active,
.wind:active,
.water:active {
  top: 2px;
}
/* =========== End of Game ============ */

/*============ Footer ===========*/
.container-footer {
  width: 1205px;
  height: 130px;
  text-align: center;
}

footer {
  margin-top: -1.3rem !important;
  margin-bottom: 5rem;
  width: 100%;
  background-color: rgb(134, 134, 134);
  color: #ffffff;
  padding-right: 0;
  padding-left: 0;
  text-align: center;
}

.link {
  width: 600px;
  float: right;
  text-align: center;
}

.link p {
  margin-right: 10rem;
}

.link h3 {
  display: inline-block;
  margin-top: 1rem;
  margin-left: -5rem;
  margin-right: 6.5rem;
  text-decoration: none;
  font-size: 25px;
}

#facebook {
  color: #0d6efd;
}

#mess,
#tele {
  color: #006aff;
}

#ig {
  color: #833ab4;
}
#link {
  color: #0077b5;
}

.about {
  width: 600px;
  float: left;
  text-align: center;
  margin-left: 0.2rem;
}

/*=========== End of Footer =======*/
