.header {
  text-decoration: underline;
  text-underline-position: below;
}

.header2 {
  text-align: center;
  margin-top: 10rem;
  font-size: 2.5rem;
}

.header3 {
  text-align: left;
  margin-left: 2rem;
  margin-top: 5rem;
  font-size: 2.5rem;
}

#mailing {
  text-align: left;
  margin-left: 2rem;
  font-family: Arial;
  font-size: 2rem;
}

#email {
  text-align: left;
  margin-left: 2rem;
  font-family: Arial;
  font-size: 2rem;
}

#phone {
  text-align: left;
  margin-left: 2rem;
  font-family: Arial;
  font-size: 2rem;
}

#collegepic{
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  background-image: url(college.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  background-position: center;
  position: center;
  width: 45rem;
  height: 22rem;
  opacity: 95%;
}

#missionpic {
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  background-image: url(mission.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  background-position: center;
  position: center;
  width: 45rem;
  height: 22rem;
  opacity: 95%;
}

#box2 {
    padding-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    display: flex;
    width: 45rem;
    height: 17.25rem;
    opacity: 95%;
    background-color: rgba(66, 135, 245, .4);
    font-family: Arial;
    font-size: 1.25rem;
    text-align: center;
}


#interestspic {
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  background-image: url(interests.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  background-position: center;
  position: center;
  width: 45rem;
  height: 22rem;
  opacity: 95%;
}


#stgeorge {
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  background-image: url(stgeorge.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  background-position: center;
  position: center;
  width: 45rem;
  height: 22rem;
  opacity: 95%;
}

#resume {
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  display: flex;
  background-image: url(resume.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  background-position: center;
  position: center;
  width: 45rem;
  height: 22rem;
  opacity: 95%;
}

#me {
  width: 80%;
  text-align: left;
  margin: auto;
  font-size: 85%
}

#galaxy {
  display: grid;
  grid-template-rows: minmax(0px, 5rem);
  grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
  background-image: url(galaxy.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  background-color: #fff;
  width: 100%;
}

#gray-background {
  background-color: rgba(150, 150, 150, .2);
  grid-column: 2 / -2;
}

#projects {
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  background-image: url(keyboard.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  background-position: center;
  position: center;
  width: 45rem;
  height: 22rem;
  opacity: 95%;
}

#aboutme {
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  display: flex;
  background-image: url(mountain.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  position: center;
  width: 45rem;
  height: 22rem;
  opacity: 95%;
}

#game {
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  display: flex;
  background-image: url(game.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  position: center;
  width: 45rem;
  height: 22rem;
  opacity: 95%;
}

body {
    color: #fff;
    font-family: Trebuchet MS;
    margin: 0px;
}

header {
  font-size: 2rem;
  margin-top: 4rem;
  text-align: center;
  grid-column: 1 / -1;
  grid-row: 3 / 4;
}

h3 {
    width: 80%;
    text-align: center;
    font-size: 2rem;
    height: 30%;
}

h2 {
  font-size: 2rem;
  font-family: Trebuchet MS;
  font-size: 1.2em;
  font-weight: lighter;
  padding-bottom: 20px;
  margin-bottom: 0px;
  text-align: center;
}

h1 {
  font-family: Arial;
  font-size: 5.5rem;
  padding-top: 0px;
  margin-top: 0px;
}


main {
  font-family: Trebuchet MS;
  text-align: center;
  font-size: 1.6em;
  font-weight: lighter;
}

nav {
  font-weight: bold;
  position: static;
  background-color: rgba(150, 150, 150, .2);
  grid-row: 1 / 2;
  grid-column: 2 / -2;
  width: 100%;

}

nav a {
  text-decoration: none;
  color: #FFFFFF;
  padding: 1rem;
  display: block;
  text-align: center;
  font-size: 1.15rem;
  font-family: Arial;
}

nav a:hover {
  background-color: #404040;
  opacity: 50%;
}

nav ul {
  display: flex;
  border: 8px solid rgba(66, 135, 245, .6);
}

nav ul li {
  width: 100%;
  list-style: none;
  padding-right: 3rem;
}

h3 p {
  margin-top: 3rem;
  font-size: 80%;
}

a {
  color: white;
  text-decoration: none;
}

@media only screen and (max-width: 992px) {

  #galaxy {
    display: grid;
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 768px)) minmax(0px, 1fr);
  }

  #box2 {
    display: flex;
    max-width: 75%;
    height: auto;
  }

  #stgeorge {
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 75%;
  }

  #interestspic {
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 75%;
  }

  #collegepic {
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 75%;
  }

  #missionpic  {
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 75%;
  }

  #projects{
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 75%;
  }


  #aboutme {
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 75%;
  }

  #game{
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 75%;
  }

  #resume{
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 75%;
  }

  #me {
    font-size: 65%;
  }

}

h3 p {
  margin-top: 3rem;
  font-size: 70%;
}

.header3 {
  margin-top: 2rem;
}


@media only screen and (max-width: 768px) {

  #box2 {
    display: flex;
    max-width: 75%;
    height: auto;
  }

  #galaxy {
    display: grid;
    grid-template-columns: minmax(0px) minmax(100%) minmax(0px);
    width: auto;
    height: auto;
  }

  #projects{
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 50%;
  }

  #stgeorge {
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 50%;
  }

  #interestspic {
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 50%;
  }

  #collegepic {
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 50%;
  }

  #missionpic {
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 50%;
  }

  #aboutme {
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 50%;
  }

  #game {
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 50%;
  }

  #resume {
    display: flex;
    max-width: 75%;
    background-position: center;
    max-height: 50%;
  }

  #me {
    font-size: 60%;
  }

  nav {
    padding: 0px 0px 1rem 0px;
    margin: none;
  }
  nav ul {
    padding: 0px 0px 0rem 0px;
    margin: none;
  }

  nav ul li {
    margin: none;
    padding: 0px 0px 0px 0px;
  }


  h3 p {
    margin-top: 3rem;
    font-size: 55%;
  }

  .header3 {
    margin-top: 2rem;
  }
}
