@font-face {
  font-family: 'ka';
  src: url('../assets/fonts/ka1.ttf');
}

@font-face {
  font-family: 'revamped';
  src: url('../assets/fonts/Revamped.otf');
}

html, body {
  font-family: 'ka';
  color: rgb(223, 223, 223);
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

input {
  border: 2px solid #24201e !important;
  padding: 10px 15px;
  font-size: 30px;
  max-width: 100px;
}

button {
  color: #04ab96;
  background-color: #153a3a;
  transition: 0.25s;
  border: 6px solid;
  border-color: #368b8c;
  border-radius: 10px;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  margin: 0.5em;
  padding: 10px 15px;
}

button:hover {
  box-shadow: inset 0 0 0 2.2em #24201e;
  border-color: #24201e;
  color: #fff;
  cursor: pointer;
}

button:focus {
  box-shadow: inset 0 0 0 2.2em #461f1e;
  border-color: #24201e;
  color: #fff;
}

button:disabled {
  box-shadow: inset 0 0 0 2.2em #5a5a5a;
  border-color: #24201e;
  color: #fff;
}

.background {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -2;
  /* filter: blur(5px); */
  background-color: #153a3a;
}

.page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-container {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-container {
  display: grid;
}

.title-back {
  height: 400px;
  width: 400px;
  background-color: #246363;
  border-radius: 50%;
}

.title-back-container {
  z-index: -1;
  top: 0px;
  left: 0px;
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.level-select {
  display: flex;
}

.level-item img {
  height: 75px;
}

.level-item p {
  margin: 0px;
}

.main-game {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.main-game-canvas {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #a9cdd2;
}

.main-game-skyline-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: end;
  width: 100%;
}

.main-game-skyline {
  background-image: url("../assets/img/skyline.webp");
  background-repeat: repeat-x;
  background-size: contain;
  width: 100%;
  height: 68px;
  z-index: 1;
}

.main-game-skyline-turret {
  width: 1500px;
  z-index: 1;
}

.main-game-dashboard {
  height: 80px;
  width: 100%;
  background-color: #264649;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.main-game-dashboard-inner {
  display: flex;
  align-items: center;
}

.main-game-dashboard-inner h2 {
  margin: 30px;
  margin-right: 55px;
}

.main-game-dashboard-inner input {
  margin-left: 55px;
}

.main-game-dashboard-bullet {
  max-height: 60px;
  margin: 15px;
  display: flex;
  align-items: center;
}

.main-game-dashboard-bullet img {
  max-height: 60px;
  margin: 10px;
}

.main-game-turret-selector {
  margin: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-game-turret-selector h2 {
  margin: 0;
  margin-right: 10px;
}

.main-game-title {
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  font-size: 30px;
  margin-bottom: 500px;
  color: black;
  font-family: 'revamped';
  animation: 4s anim-lineUp ease-out;
  transition: opacity 2s;
}

.main-game-title h2 {
  margin-top: 15px;
}

@keyframes anim-lineUp {
  0% {
    opacity: 0;
    transform: translateY(80%);
  }
  20% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    transform: translateY(0%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

.volume {
  position: fixed;
  right: 80px;
  bottom: 9px;
  z-index: 10;
}