/* Bootstrap Navbar */
.navbar-brand {
  font-size: x-large;
}

.bg-dark {
  background-color: #000 !important;
}

/* Body */
h1 {
  margin: 10px;
  padding-right: 20px;
  text-align: center;
}

h2 {
  font-family: serif;
  text-align: center;
  font-size: 1.7em;
  margin-top: 50px;
}

h3 {
  font-family: serif;
  text-align: center;
  font-size: 1.3em;
}

h4 {
  font-family: serif;
  text-align: center;
  font-size: 1em;
  margin: 10px;
}

p {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
  width: 600px;
  margin-top: 5px;
}

/* Portfolio Images */
.expand img {
  max-width: 100%;
  min-width: 100%;
  transition: 1.0s ease;
  position: relative;
  z-index: 0;
}

.expand img:hover {
  position: relative;
  transform: scale(1.5);
  z-index: 1;
}

.row div {
  padding-bottom: 10px;
}

/* Profile Images */
.profile2 img {
  text-align: center;
  -webkit-filter: brightness(100%);
  transition: 1s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
  width: 20em;
  /*250px*/
  border-radius: 10%;
}

.profile2 img:hover {
  -webkit-filter: brightness(220%);
  transition: 1s ease;
}

/*
.profile img {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
  width: 25em;
  border-radius: 10%;
}
*/
/* Reviews */
.review-right {
  /* float opposite, then put it halfway across the screen to be right*/
  float: left;
  position: relative;
  left: 51%;
  max-width: 80%;
}

.review-left {
  /* float opposite, then put it halfway across the screen to be left*/
  float: right;
  position: relative;
  right: 51%;
  max-width: 80%;
}

.review p {
  max-width: 80%;
}

.flex-container {
  display: block;
  max-width: 500px;
  vertical-align: middle;
  margin-top: 30px;
}

/* Return to Landing Page Button */
.return {
  position: fixed;
  list-style-type: none;
  text-align: center;
  bottom: 100px;
  left: 50px;
  margin: 0px;
  padding: 0px;
  margin-top: 0px;
  margin-left: 0px;
  width: 200px;
  background-color: #337194;
  color: black;
  padding: 2px;
}

.return a {
  color: black;
  text-decoration: none;
  border: 2px solid #000;
}

.return a:hover {
  background-color: #000000;
  color: white;
  text-decoration: none;
}

/* Github Footer */
footer#git {
  background-color: #555;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  padding: 8px;
  font-size: small;
  font-family: monospace;
}

footer#git p {
  padding-top: 10px;
  font-style: normal;
  text-align: center;
  vertical-align: center;
}

footer#git a {
  text-decoration: none;
  color: white;
}

footer#git a:hover {
  text-decoration: none;
  color: white;
}

/*Media Queries*/
@media (max-width: 1020px) {
  .flex-container {
    display: block;
    max-width: 400px;
  }
}

/*990px width is when bootstrap bar constricts*/
@media (max-width: 990px) {
  .bg-dark li a:hover {
    font-size: medium;
    background-color: #343a40;
    padding-left: 10px;
    margin-left: 10px;
  }
}

@media (max-width: 820px) {
  .review-left {
    float: none;
    left: auto;
    margin: auto;
  }

  .review-right {
    float: none;
    margin: auto;
    right: auto;
  }
}