body{
  text-align: center;
  font-family: monospace;
  overflow: auto;  
  background-color: #f1edf2;
}

#wrapper {
  max-width: 1200px;
  max-height: 100%;
  margin: auto; 
  padding: 0px;
  border: solid 17px;
  border-radius: 5px;
}

p {
 margin: 20px auto;
 max-width: 45%;
 max-height: 90%;
 line-height: 2;
 font-size: 14px;
}

nav {
 padding-top: 20px;  
 justify-content: stretch;
 margin: 5px 5px;
}

nav a {
  text-decoration: none;
}
nav a:hover {
  text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
}

h1 {
  font-family: "Emblema One";
  font-size: 75px;
  letter-spacing: 0.1em;
  padding: 5px;
  margin: 0px;
  text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
}

h1:hover {
  text-shadow: 0 0, 0 0 5px #0000FF;
}

#wrapper2 {
  max-width: 90%;
  display: inline;
  background: none;
  margin: 0 25px;
  padding: 0;
  
}

#wrapper2 a {
  text-decoration: none;
  text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
}

.box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px;
}

.image_img1 {
  position: relative;
  max-width: 50%;
}

.image1 {
  display: grid; 
  width: 200%;
  margin-right: 60px;
  margin-bottom: 20px;
  margin-top: -60px;
  justify-content: space-evenly;
  
}

.image_overlay {
  position: absolute;
  top: 0;
  left: 150px;
  width: 100%;
  height: 100%;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.image_overlay:hover {
  opacity: 1;
  transition: .001s;
}

.image_title1 {
  display: grid;
  width: 200%;
  font-size: 2em;
  font-weight: bold;
  letter-spacing: 0.5em;
  text-align: center;
}

.image_img2 {
  position: relative;
  max-width: 50%;
}

.image_title2 {
  display: grid;
  width: 200%;
  font-size: 2em;
  font-weight: bold;
  letter-spacing: 0.5em;
  text-align: center;
}

.image_overlay2:hover {
  opacity: 1;
  transition: .001s;

}

.fiphoto {
  filter: contrast(85%);
  height: 30%;
  width: 30%;
  border: solid 0.5px;
  border-radius: 6px;
}

.fiphoto:hover {
  box-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
}

.jsphoto {
  height: 45%;
  width: 45%;
  margin-top: 20px;
  border-radius: 20px; 
}

.jsphoto:hover {
  box-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
}

#resume_img {
  width: 55%;
  height: 50%;
  text-align: center;
  margin: 0px;
  filter: contrast(95%);
}

figure {
  margin-top: 15px;
  padding: 5px;
}

figcaption {
  float: left;
  width: 40%;
  margin-top: 35px;
  text-shadow: none;
  color: black; 
  line-height: 1.75;
}

.taphoto {
  filter: contrast(85%);
  height: 45%;
  width: 45%;
  border: solid 0.5px;
  border-radius: 3px;
}

.taphoto:hover {
  box-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
}

footer {
  color: black;
  text-align: left;
  margin: 25px;
}
footer a {
  color: #111211;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .box {
    display: block;
  }
  .image1 {
    width: 200%;
  }
  .image_title1, .image_title2 {
    font-size: 2.5em;
    text-align: center; 
  }
  figcaption {
    font-size: 1.2em;
    line-height: 1;
  }
  #resume_img {
    width: 90%;
  }

}

@media (max-width: 768px) {
  body {
    text-align: center;
    font-family: monospace;
  }
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
  #wrapper {
    max-width: 90%; 
    padding: 10px; 
    border: solid 10px; 
  }

  p {
    margin: 15px auto;
    max-width: 85%; 
    font-size: 12px;
  }

  nav {
    font-size: 14px; 
    margin: 10px 0; 
  }

  h1 {
    font-size: 50px; 
    letter-spacing: 0.05em; 
    padding: 5px;
  }

  .box {
    display: block; 
    align-items: stretch;
    justify-content: center;
  }

.image_title1, .image_title2 {
    display: block;
    font-size: 1.5em;
    margin: 10px auto; 
    text-align: center; 
    color: #000; 
  }
  .image_overlay {
    left: 85px;
    opacity: 1;
  }
  .image1 {
    display: block; 
    margin: 0 auto; 
    width: 100%;
  }
figure {
 display: flex;
 flex-direction: column;
 align-items: center;
 margin-bottom: 20px;
}
figcaption {
    display: block;
    width: auto; 
    font-size: 1em; 
    padding: 5px;
  }

  #resume_img {
    width: 80%; 
    margin: auto;
    padding: 0px;
  }

  .jsphoto, .taphoto, .fiphoto {
    width: 70%; 
    height: auto;
    padding: 20px;
  }
}
