.hero_image {
    background-image: url("RL4.jpg");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    height: 100vh;   
}

body {
    background-color: #F7F5E6;
}

.navbar{
    list-style:none;
    margin:10;
    padding:0;
    text-align:center;
}

.nav_section {
  display: inline-block;
  position: relative;
  width: 100px;
  height: 20px;
  overflow: hidden;
  margin: .5em;
}

a:link{
    color:#333A56;
    text-decoration:none;
}

a:visited{
    color:#333A56;
    text-decoration:none;
}

a:hover{
    color:#52658f;
}


.hero_text {
    text-align:center;
    position:absolute;
    top: 50%;
    width: 100%;
    font-size:36px;
    color: white;
}

/*text-align:center doesn't work on inline elements and links are inline elements*/
.blog_title a:link {
    font-size: 20px;
    color: #333A56;
    display:block;
    text-align:center;
    padding: 20px;
}

.blog {
    color: #52658f;
    margin: auto;
    width: 30%;
    padding: 20px;
}
/*
setting max-width to 900 ensures that
we never see more than 4 wide at a time.
margin: 0 auto centers the whole div
*/
.photo_gallery {
    max-width: 900px;
    margin: 0px auto;
}

/*
inline-block means they are side by side
The rest defines the div */
.photo {
  display: inline-block;
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  margin: .5em;
}

/*The transfrom creates the thumbnails*/
.photo img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}

/*Reverses height and width settings for portrait thumbnails*/
.photo img.portrait {
  width: 100%;
  height: auto;
}






