* {
  margin: 0;
  padding: 0;
}

body {
  background-image: url("./assets/Battleships.jpg");
  background-size: 100vw 100vh;
  background-attachment: fixed;
}

.square {
  height: 3vw;
  width: 3vw;
  background-color: rgba(0, 255, 255, .8);
  border: 0.1vw solid black;
  display: inline-block;
  float: left;
}

.first {
  clear: left;
}


.white {
  background-color: white;
}

.player-ship {
  background-color: grey;
}

.red {
  background-color: red;
}

.board {
  display: inline-block;
  float: left;
  clear: both;
  margin-top: 5vw;
  margin-left: 32vw;
  border: 0.6vw solid white;
}

#game-over {
  display: inline-block;
  width: 25vw;
  height: 5vw;
  font-size: 2vw;
  font-weight: bold;
  color: white;
  background-color: green;
  border: 0.3vw solid white;
  float: left;
  clear: left;
  margin-left: 36vw;
  margin-top: 4vw;
  padding-top: 2.5vw;
  text-align: center;
}

#reset {
  display: inline-block;
  width: 20vw;
  height: 10vw;
  color: white;
  background-color: green;
  border: 0.6vw solid white;
  font-size: 3vw;
  font-weight: bold;
  float: right;
  margin-top: 2vw;
  margin-right: 10vw;
}




@media only screen and (max-width: 600px) {
  .square {
    height: 7vw;
    width: 7vw;
    border: 0.1vw solid black;
  }

  .board {
    margin-top: 5vw;
    margin-left: 13.5vw;
    border: 0.6vw solid white;
  }

  #top-board {
    margin-top: 2vw;
  }

  #bottom-board {
    margin-bottom: 2vw;
  }

  #game-over {
    font-family: sans-serif;
    display: inline-block;
    width: 40vw;
    height: 8vw;
    font-size: 3.5vw;
    border: 0.5vw solid white;
    float: none;
    clear: none;
    margin-left: 13vw;
    margin-top: 3vw;
    margin-bottom: -6vw;
    padding-top: 2.5vw;
    margin-right: 2vw;
  }

  #reset {
    display: inline-block;
    width: 30vw;
    height: 11.5vw;
    border: 0.5vw solid white;
    float: none;
    clear: none;
    font-size: 4vw;
    margin: 0;
    transform: translateY(1.5vw);
  }

}



@media only screen and (min-width: 1000px) {
  .square {
    height: 30px;
    width: 30px;
    border: 1px solid black;
  }

  .board {
    margin-top: 50px;
    margin-left: 32vw;
    border: 6px solid white;
  }

  #game-over {
    width: 250px;
    height: 50px;
    font-size: 20px;
    border: 3px solid white;
    float: none;
    clear: none;
    margin-left: 36vw;
    margin-top: 45px;
    margin-bottom: -20px;
    padding-top: 25px;
  }

  #reset {
    width: 200px;
    height: 100px;
    border: 6px solid white;
    float: none;
    clear: none;
    font-size: 30px;
    transform: translateY(-10px);
    margin-left: 10vw;
  }
}


@media only screen and (min-width: 1500px) {
  .square {
    height: 30px;
    width: 30px;
    border: 1px solid black;
  }

  .board {
    margin-top: 50px;
    margin-left: 40vw;
    border: 6px solid white;
  }

  #game-over {
    display: inline-block;
    width: 250px;
    height: 50px;
    font-size: 20px;
    border: 3px solid white;
    float: none;
    clear: none;
    margin-left: 42vw;
    margin-top: 45px;
    margin-bottom: -20px;
    padding-top: 25px;
    padding-bottom: -25px;
  }

  #reset {
    width: 200px;
    height: 100px;
    border: 6px solid white;
    float: none;
    clear: none;
    font-size: 30px;
    transform: translateY(-10px);
    margin-left: 10vw;
  }

}
