/* Main Containers */
body,
button {
  font-family: VT323;
}

button {
  font-size: xx-large;
}

.outer-container {
  height: 720px;
  width: 1280px;
  background: #eee;
  border: 5px solid gainsboro;
}

.game-window {
  height: 720px;
  width: 1280px;
  float: left;
  position: relative;
}

/* Game Section */
#actual-game {
  height: 720px;
  width: 1280px;
  background-color: white;
  z-index: 10;
  right: 0px;
  top: 0px;
}

.curAsteroid {
  position: absolute;
  height: 42px;
  width: 42px;
  z-index: 9;
  right: 0px;
  top: 0px;
}

.curAsteroid img {
  position: relative;
  z-index: 10;
  height: 80px;
  left: -17px;
  top: -15px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Add your stylings here */

/* Landing Page Styles */
#landing-header {
  height: 100px;
  background-color: darkslateblue;
  border-bottom: 6px;
  border-bottom-style: groove;
  font-size: 100px;
  color: white;
  text-align: center;
  display: flex;
  justify-content: space-between;
}

#landing-page {
  text-align: center;
  background-image: url('../src/frontpage_background.jpg');
  height: 100%;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#landing-page button {
  margin-top: 100px;
}

#landing-header img {
  height: 100%;
}

#landing-page {
  text-align: center;
}

button {
  width: 200px;
  height: 100px;
  background-color: darkslateblue;
  color: white;
  font-size: 27px;
  margin: 10px auto;
  display: block;
  top: 50%;
  left: 50%;

}

/* Settings Panel Styles */
#settings-panel {
  width: 600px;
  height: 690px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: darkslateblue;
  z-index: 10;
  display: none;
  border: 2px solid white;
  margin: auto;
}

#settings-panel h2 {
  text-align: center;
  font-weight: bold;
  color: white;
  font-size: 45px;
  margin-top: 0;
  margin-bottom: 0;
}

.notbold {
  font-weight: normal;
}

#volume-control {
  -webkit-appearance: none;
  width: 100%;
  height: 25px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  transition: opacity .2s;
}

#volume-control::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: #4CAF50;
  cursor: pointer;
}

#difficulty button {
  width: 180px;
  height: 100px;
  background-color: purple;
  color: white;
  display: inline-block;
  margin: 0 7.7px;
  font-size: 27px;
}

#difficulty .selected {
  border: 2px solid yellow;
}

#close-settings {
  text-align: center;
}

#close-settings button {
  width: 180px;
  height: 100px;
  background-color: purple;
  color: white;
  display: inline-block;
  margin: 0 auto;
  font-size: 27px;
  align-items: center;
}

/* Tutorials Page Styles */
#tutorials-page {
  text-align: center;
  background-color: gainsboro;
  display: none;
  padding-bottom: 3px;
  height: 100%;
}

#tutorials-page h2 {
  font-size: 75px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
}

#tutorials-page p {
  font-size: 50px;
  margin: 22px 0;
  margin-top: 0;
}

#tutorials-page p strong {
  font-weight: bold;
}

#tutorials-page p i {
  font-style: italic;
}

#tutorials-page img {
  width: 100px;
  height: auto;
}

#tutorials-page button {
  font-size: 35px;
}

#start-game {
  width: 200px;
  height: 75px;
  background-color: gainsboro;
  color: black;
  font-size: 20px;
  margin: 20px auto;
  display: block;
}

/* Assignment 2 code above */
/* Assignment 3 code below*/

/* Get Ready Screen Styles */
#actual-game .screen {
  display: none; /* Hide all screens by default */
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
}

#actual-game #get-ready h1 {
  font-size: 75px;
  color: black;
  margin-top: 150px;
}

#actual-game #get-ready img {
  width: auto;
  height: 150px;
  margin: 20px 0;
}

#actual-game #get-ready p {
  font-size: 50px;
}

/* Scoreboard Styles */
#scoreboard {
  position: absolute;
  right: 80px;
  /*top: 20px;*/
  text-align: center;
  /*width: 200px;*/
}

#scoreboard p {
  margin: 5px 0;
  width: 100%;
}

#scoreboard .word {
  color: black;
  font-size: 50px;
}

#scoreboard .number {
  font-size: 45px;
  color: blue;
}

/* Game-over Panel Styles */
#gameover-panel {
  position: absolute;
  width: 600px;
  height: 350px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: darkslateblue;
  z-index: 11;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
}

#gameover-panel button {
  background: white;
  color: darkslateblue;
  font-size: 32px;
  width: 170px;
  height: 55px;
  align-items: center;
}

#gameover-content h2,
#gameover-content p {
  color: white;
  font-size: 30px;
}

#restart-game {
  padding: 10px 20px;
  font-size: 20px;
  cursor: pointer;
  background-color: darkslateblue;
  color: white;
  border: none;
  border-radius: 5px;
  margin-top: 20px;
}

#player {
  position: absolute;
}

.shield {
  display: none;
  position: absolute;
  z-index: 10;
}

.portal {
  display: none;
  position: absolute;
  z-index: 10;
}
