* {
  box-sizing: border-box;
  font-family: monospace;
}

body {
  margin: 0;
  background: black;
  color: white;

  min-height: 100vh;

  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertical */
}


#game {
  width: 1000px;
  padding: 60px 0;
}

/* ---------- BATTLEFIELD ---------- */

#battlefield {
  display: flex;
  justify-content: space-between;
  align-items: center;  
  margin-bottom: 80px;   
}


.sprite {
  width: 200px;
  height: 200px;
  background: none;
  margin-bottom: 6px;
  image-rendering: optimizeSpeed;
}

.hp-bar {
  width: 64px;
  height: 6px;
  border: 1px solid white;
  
  margin: 0 auto;
}

.hp-fill {
  height: 100%;
  background: white;
  width: 100%;
}

#enemies {
  display: flex;
  gap: 40px;
}

/* ---------- MENU ---------- */

#menu {
  font-size: 15px;
  line-height: 1.4;
  display: flex;
  gap: 16px;
  padding: 12px;
  min-height: 140px
}


#menu-options {
  width: 160px;
  border: 2px solid white;
  padding: 12px;
}

.menu-item {
  padding: 4px;
  cursor: pointer;
}

.menu-item.selected {
  background: white;
  color: black;
}

#menu-info {
  flex: 1;
  border: 2px solid white;
  padding: 8px;
  min-height: 72px;
}
