@import url("https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800&display=swap");
@font-face {
  font-family: "kenny narrow";
  src: url("../assets/fonts/Kenney\ Future\ Narrow.ttf");
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Crimson Pro", serif;

  background-color: #1a1d25;
}

/* --------Navbar------------- */
.navbar {
  background: #15171d;
  height: 70px;
  width: 100%;
  display: block;
}
.navbar .navbar-central-content {
  background: inherit;
  max-width: 1420px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
}
.navbar .navbar-central-content .left-navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.navbar .navbar-central-content .left-navbar div {
  margin: 0 1rem;
  color: rgb(243, 231, 231);
  font-weight: 500;
  font-size: 1.25rem;
  cursor: pointer;
  letter-spacing: 0.34px;
}
.navbar .navbar-central-content .left-navbar div:hover {
  color: rgb(129, 167, 189);
}
.navbar .navbar-central-content .right-navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.navbar .navbar-central-content .right-navbar div {
  margin: 0 1rem;
}
.navbar .navbar-central-content .right-navbar div.hero-info span {
  display: block;
  color: whitesmoke;
}
.navbar .navbar-central-content .right-navbar div.hero-info span.online {
  color: #07ef9c;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
}

/* -------------------Navbar End------------------ */
.middle {
  max-width: 1520px;
  position: relative;
  display: flex;
  justify-content: space-between;
}
.dashboard {
  max-width: 340px;
  min-width: 250px;
  margin-top: 2px;
  margin-left: 0.5vw;
  width: 100%;
  background: linear-gradient(
    60deg,
    rgba(39, 39, 39, 0),
    rgba(255, 255, 255, 0.02)
  );
  background-color: rgba(0, 0, 0, 0.301);
  border-radius: 9px;
  box-shadow: 0 2px 40px rgba(255, 255, 255, 0.032);
  position: relative;
}
.dashboard .score-container {
  width: 96%;
  margin: 16px 1.25%;
}
.dashboard .score-main {
  position: absolute;
  top: 48px;
  left: 27%;
  color: white;
  font-size: 1.6rem;
  font-weight: 600;
}
.dashboard .choose-bullet-container {
  box-sizing: border-box;
  width: 94%;
  margin: 16px 2.5%;
  margin-top: -12px;
  padding: 16px 12px;
  border-radius: 9px;
  background-color: rgba(0, 0, 0, 0.3);
  color: azure;
  font-weight: 600;
  font-size: 1.2rem;
}
.line {
  width: 96%;
  margin: 10px;
  height: 1.86px;
  background-color: rgba(83, 85, 83, 0.185);
}
.dashboard .choose-bullet-container .weapon-circles {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}
.dashboard .choose-bullet-container .weapon-circles img {
  margin: 6px 0;
  cursor: pointer;
}
.white-title {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  margin-left: 18px;
}
.white-title span {
  font-size: 0.8rem;
}
/* -------------------------Stats Section---------------------- */
.status-container {
  margin-left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.status-container .stat-img img {
  width: 55px;
  height: 55px;
}
.status-container .stat-status {
  margin-left: 8px;
  width: 65px;
  color: white;
  font-size: 1.04rem;
  line-height: 24px;
}
.stat-bar {
  position: relative;
  /* width: 190px; */
  height: 12px;
  margin-top: 24px;
  margin-left: 18px;
  transform: skew(-38deg, 0deg);
  z-index: 100;
  border-radius: 6px;
}
.health-bar {
  background-color: #07d289;
  box-shadow: 0 2px 12px -2px #07d288e0;
  width: 190px;
}
.bullet-bar {
  background-color: #fdca77;
  box-shadow: 0 2px 12px -2px #fdca77d7;
  width: 150px;
}
.coin-bar {
  background-color: #01c3c3;
  box-shadow: 0 2px 12px -2px #01c3c3de;
  width: 40px;
}
.stat-bar::before {
  content: ".";
  color: rgba(216, 191, 216, 0.021);
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(216, 191, 216, 0.185);
  width: 190px;
  height: 12px;
  z-index: -10;
  border-radius: 6px;
}
.green {
  color: #07ef9c;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
}
.stat-container-parent {
  width: 100%;
  margin: 8px 0;
}
.stat-container-parent .one {
  /* vertical-align: top; */
  display: inline-block;
  width: 33%;
  height: 60px;
}
.stat-container-parent .two {
  vertical-align: top;
  display: inline-block;
  width: 66%;
  height: 60px;
}
@media (max-width: 1440px) {
  .stat-container-parent {
    margin-bottom: 0;
  }
  .stat-container-parent .two {
    width: 100%;
    padding-left: 25px;
    height: 40px;
  }
  .stat-container-parent .one {
    width: 100%;
  }
  .stat-bar {
    margin-top: 6px;
  }
  .last-container {
    display: none;
  }
}

/* --------------------bottom container------------------ */
.bottom-flex {
  display: flex;
  flex-direction: row;
}
.bottom-hero {
  position: relative;
  min-width: 1400px;
}
.bottom-hero #play-button {
  position: absolute;
  right: 35px;
  top: -110px;
  z-index: 25;
  cursor: pointer;
  transition: hover 0.3s ease-in;
}
.bottom-hero #play-button:hover {
  transform: scale(1.04);
}
.bottom-hero #play-button:active {
  transform: scale(0.96);
}
.bottom-container {
  box-sizing: border-box;
  padding: 12px 14px;
  padding-bottom: 16px;
  width: 350px;
  background-color: rgba(0, 0, 0, 0.301);
  border-radius: 8px;
  color: white;
  margin: 8px 10px 12px 10px;
  cursor: pointer;
  box-shadow: 0 2px 30px rgba(255, 255, 255, 0.058);
  border: 2px solid #dfca0d00;
}
.bottom-container:hover {
  border: 2px solid #dfca0d3d;
  box-shadow: 0 2px 15px #ead40c28;
}
.first-bottom-container {
  border: 2px solid #dfca0d;
  box-shadow: 0 4px 35px #ead40c42;
}
.bottom-container .top-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bottom-container .top-section div img {
  height: 12px;
  width: 12px;
}
.date {
  color: rgba(155, 155, 155, 0.555);
  font-size: 0.8rem;
}
.bottom-container .mid-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.bottom-container .mid-section div {
  width: 60px;
}
.bottom-container .mid-section .writing {
  font-weight: 500;
  font-size: 0.7rem;
  font-family: "Nunito", sans-serif;
  width: 205px;
  padding-left: 10px;
  letter-spacing: 0.4px;
}
.bottom-container .mid-section .writing span:nth-child(1) {
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
  line-height: 30px;
  font-family: "Crimson Pro", sans-serif;
  color: white;
  letter-spacing: 0.6px;
}
.grey {
  color: grey;
}
/* -------button------------- */
.btn-level {
  outline: none;
  box-sizing: border-box;
  padding: 7px 36px;
  background-color: rgba(0, 0, 0, 0.247);
  border: 2px solid rgba(158, 158, 158, 0.514);
  color: white;
  border-radius: 6px;
  margin-right: 12px;
  cursor: pointer;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  /* letter-spacing: 0.2125rem; */
  line-height: 1;
  overflow: hidden;
  position: relative;
  text-align: center;
  transition: background-color 0.4s cubic-bezier(0.19, 1, 0.22, 1),
    border 1s cubic-bezier(0.19, 1, 0.22, 1),
    color 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  user-select: none;
}

.btn-level .mask {
  background-color: #fff;
  background-color: rgba(255, 255, 255, 0.288);
  height: 50px;
  position: absolute;
  transform: translate3d(-120%, -50px, 0) rotate3d(0, 0, 1, 45deg);
  transition: all 1.3s cubic-bezier(0.19, 1, 0.22, 1);
  width: 200px;
}

.btn-level:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: #fff;
  box-shadow: 0 0 5px rgba(255, 245, 245, 0.8);
}

.btn-level-active {
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255, 245, 245, 0.8);
  background-color: rgba(197, 197, 243, 0.089);
}

.btn-level:hover .mask {
  background-color: #fff;
  transform: translate3d(120%, -100px, 0) rotate3d(0, 0, 1, 90deg);
}

.btn-level:active {
  background-color: #fff;
}

/* -------------------------Game Canvas---------------------- */
.gameCanvas-container {
  width: 1164px;
  height: 620px;
  position: relative;
}
.gameCanvas-container .pause {
  position: absolute;
  height: 50px;
  width: 50px;
  background-image: url("../assets/UI/pause.png");
  background-size: cover;
  top: 20px;
  right: 20px;
  z-index: 3;
  cursor: pointer;
}

.gameCanvas-container .start {
  cursor: pointer;
  position: absolute;
  height: 50px;
  width: 50px;
  background-image: url("../assets/UI/start.png");
  background-size: cover;
  top: 20px;
  right: 20px;
  z-index: 3;
}
.gameCanvas-container #dialogue-box {
  cursor: pointer;
  position: absolute;
  height: 300px;
  width: 466px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(../assets/UI/hud/hud\ 2.png);
  background-size: cover;
  z-index: 50;
}
.gameCanvas-container #game-over {
  cursor: pointer;
  position: absolute;
  height: 300px;
  width: 466px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(../assets/UI/hud/hud\ 2.png);
  z-index: 50;
  background-size: cover;
}
.flex {
  font-family: "kenny narrow", sans-serif;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.flex button,
.flex h1 {
  font-family: "kenny narrow", sans-serif;
  text-shadow: 0 0 6px #00fffbd8;
  font-size: 1.44rem;
  background: transparent;
  outline: none;
  border: none;
  padding-top: 10px;
  color: rgb(214, 205, 205);
  transition: transform 0.14s cubic-bezier(0.075, 0.82, 0.165, 1);
  cursor: pointer;
}
#won-or-lost {
  font-size: 3.6rem;
}
.flex button:hover {
  transform: scale(1.02);
  text-shadow: none;
}
.flex button:active {
  transform: scale(0.98);
  text-shadow: none;
}

.gameCanvas-container .main-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 1164px;
  height: 620px;

  /* display: none;di */
  z-index: 10;
  background: url(../assets/UI/main-menu.jpg);
  background-size: cover;
}
.gameCanvas-container .main-menu .main-flex {
  display: flex;
  flex-direction: column;
  height: inherit;
  padding-left: 30px;
  justify-content: center;
  color: white;
  font-family: "Nunito", sans-serif;
}

.gameCanvas-container .main-menu .main-flex .main-title {
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 110px;
  font-family: "Crimson Pro", sans-serif;
}

.gameCanvas-container .main-menu .main-flex .main-description {
  font-size: 0.85rem;

  width: 600px;
  line-height: 25px;
  text-align: justify;
  letter-spacing: 0.2px;
}

.gameCanvas-container .main-menu .main-flex .descriptions {
  display: flex;
  flex-direction: row;
  color: #6d6c6d;
  font-weight: 600;
}
.gameCanvas-container .main-menu .main-flex .descriptions div {
  padding: 7px 12px;
  background-color: rgba(0, 0, 0, 0.452);
  border-radius: 9px;
  margin: 24px 6px 24px 0;
  font-size: 0.82rem;
  font-weight: 800;
  word-spacing: -2px;
  letter-spacing: 0.2px;
  cursor: pointer;
}
.gameCanvas-container .main-menu .main-flex .descriptions div:hover {
  background-color: rgba(141, 140, 140, 0.171);
  color: rgb(194, 183, 183);
}
.gameCanvas-container .main-menu .main-flex .level-buttons {
  display: flex;
  flex-direction: row;
  margin-bottom: 45px;
}

/* -------------navbar selection------------- */
/* .gameCanvas-container .main-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 1164px;
  height: 620px;
  z-index: 10;
  background: url(../assets/UI/main-menu.jpg);
  background-size: cover;
} */
#heros-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 1164px;
  height: 620px;
  z-index: 120;
  color: white;

  background: linear-gradient(60deg, rgba(0, 0, 0, 0.158), black),
    url(../assets/UI/hud/morgan.jpg);
  background-size: cover;
}
#heros-section .hero-grid {
  width: 100%;
  height: 100%;
  display: inline-grid;
  grid-template-columns: 2fr 1fr;
  /* column-gap: 10px; */
}
#heros-section .hero-grid .hero-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: center;
  justify-items: center;
}
#heros-section .hero-grid .hero-grid-3 .hero-circle-box {
  height: 120px;
  width: 120px;
  border-radius: 14px;
  border: 1px solid rgba(105, 105, 105, 0.521);
  background: rgba(0, 0, 0, 0.273);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 1px 16px rgba(255, 255, 255, 0.109);
}
.hero-box-active {
  border: 1px solid rgba(248, 250, 153, 0.8) !important;
}
#heros-section .hero-grid .hero-grid-3 .hero-circle-box img {
  width: 90%;
  margin: 8px 0 0 6px;
}
#heros-section .hero-grid .hero-grid-3 .hero-circle-box:hover {
  border: 1px solid rgba(248, 250, 153, 0.521);
}
#bullets-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 1164px;
  height: 620px;
  z-index: 100;
  background: url("../assets/UI/bullet.jpg");
  background-size: cover;
  color: white;
}
.d-fle {
  display: flex;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.d-fle img {
  filter: drop-shadow(12px 12px 42px rgba(200, 200, 60, 0.3));
  width: 80%;
}
#enemies-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 1164px;
  height: 620px;
  z-index: 100;
  background: url("../assets/UI/Enemy.jpg");
  background-size: cover;
  color: white;
}
#levels-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 1164px;
  height: 620px;
  z-index: 100;
  background: url("../assets/UI/level.jpg");
  background-size: cover;
  color: white;
}
#how-to-play-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 1164px;
  height: 620px;
  z-index: 100;
  background: url("../assets/UI/how\ to\ play.jpg");
  background-size: cover;
  color: white;
}
