@font-face {
    font-family: Treasure Map;
    src: url("../fonts/Treasuremap-Ea1vj.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#map {
  background-color: #7ae6f3;
  height: 800px;
  width: 1200px;
  overflow: hidden;
  position: relative;
}
/*
lightest #7ae6f3
#63ddf2
#51d5ee
*/

#title_screen {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#title_screen_cont {
  color: #221f1e;
  font-family: 'Treasure Map', fantasy;
  display: flex;
  flex-direction: column;
}

#title {
  font-size: 80px;
  margin-bottom: 50px;
}

#title_img {
  height: 700px;
}

#start_button_cont {
  display: flex;
  justify-content: center;
}

#start_button {
  font-family: inherit;
  font-size: 40px;
  color: white;
  background-color: #b5634d;
  padding: 10px 30px;
  border: 8px solid #f1b064;
  border-radius: 20px;
  width: fit-content;
}

#start_button:hover {
  background-color: #9e4d35;
}

.ship {
  width: 110px;
  height: 50px;
  position: absolute;
  transform-origin: 50% 50%;
}

#player-ship {
  top: 375px;
  left: 550px;
  transform: rotate(-90deg);
}

#lives-container {
  position: absolute;
  bottom:0px;
  left: 0px;
  padding: 10px 30px;
  height: 70px;
}

.life {
  height: 50px;
  width: 50px;
  display: inline-block;
  margin: 0 10px;
}

#score-container {
  position: absolute;
  bottom:0px;
  right: 0px;
  padding: 10px 30px;
  align-items: center;
  display: flex;
}

#score-container img {
  height: 50px;
  width: 50px;
  margin-right: 20px;
  margin-bottom: 10px;
}

#score-container p {
  font-size: 40px;
  font-family: 'Treasure Map', fantasy;
  color: white;
  margin: 0 10px;
}

.cannon-ball {
  position: absolute;
  background-color: #494140;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  display: none;
  top: -8px;
  left: -8px;
  z-index: 100;
}

#left-math,
#right-math {
  font-size: 70px;
  font-family: 'Treasure Map', fantasy;
  color: white;
  position: absolute;
  top:0px;
  padding: 10px 30px;
}

.shoot-instructions {
  font-size: 30px;
}

#left-math {
  left: 0px;
  text-align: left;
}

#right-math {
  right:0px;
  text-align: right;
}

.operand {
  display: inline-block;
  font-size: 70px;
}

#math-answer {
  position: absolute;
  top: 0;
  left: 530px;
  padding-top: 40px;
  border-bottom: 3px solid white;
  height: 120px;
  width: 150px;
  overflow: hidden;
  text-align: center;
}

#answer-input {
  font-size: 80px;
  color: white;
  font-family: 'Treasure Map', fantasy;
  text-align: center;
}

.ship-left {
  position: absolute;
  left: -110px;
}

.ship-right {
  position: absolute;
  left: 1310px;
  transform: rotate(180deg);
}
