* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #aef;
}

canvas {
  margin-top: 60px;
}

.inputDiv {
  position: absolute;
  width: 400px;
  height: 500px;
  left: calc(50% - 200px);
  top: calc(50% - 250px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #037;
  border: 1px solid white;
}

input[type="text"],
button {
  width: 240px;
  height: 40px;
  font-size: 22px;
  border: none;
  border-radius: 0;
  margin-top: 10px;
  padding: 10px 20px;
}

.scoresDiv {
  position: absolute;
  width: 480px;
  height: 40px;
  left: calc(50% - 240px);
  top: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #037;
}

.scoresDiv > label {
  display: block;
  width: 100%;
  height: 20px;
  font-size: 18px;
  color: white;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.powerDiv {
  position: absolute;
  width: 480px;
  height: 40px;
  left: calc(50% - 240px);
  top: 710px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #037;
}

.powerDiv > label {
  display: block;
  width: 100%;
  height: 20px;
  font-size: 18px;
  color: white;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.backView {
  transition: all 0.5s ease;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: rgba(40, 80, 100, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.inputContainer {
  position: relative;
  background-color: white;
  overflow: hidden;
  width: 50%;
  height: 90%;
  max-width: 600px;
  max-height: 900px;
  min-width: 400px;
  min-height: 240px;
  padding: 0 40px;
  font-family: Arial, Helvetica, sans-serif;
}

.inputContainerHeader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inputContainerHeader > h3 {
  text-align: center;
  font-weight: normal;
  color: white;
  font-size: large;
}

.inputContainerBody {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100% - 120px);
  padding: 20px 40px;
  overflow: scroll;
}

.inputContainerFooter {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding: 0 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.alertPanel {
  background-color: rgba(255, 255, 255, 0.5);
  width: 400px;
  height: 200px;
  font-family: Arial, Helvetica, sans-serif;
}

.alertTitle {
  background-color: #103080;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  font-size: large;
}

.alertText {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  padding: 10px 40px;
}

.okAlertButton {
  background-color: #103080;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  font-size: large;
  cursor: pointer;
}

.okAlertButton:hover {
  background-color: #555;
}

.confirmButtons {
  display: flex;
  height: 50px;
}

.confirmButtons > div {
  width: 50%;
}
