/*Media queries make the content fluid as the browser size changes*/

/*This first size above is set to a break point for anything larger than portrait view on mobile devices*/

@media screen and (min-width: 480px) {
    
  


    
/*******************
PAGE: INDEX, DOCPAGES
********************/
  
  #primary {
    width: 30%;
    float: left;
    margin-left: 50px;
      padding-right: 50px;
  }
  
  #secondary {
    width: 60%;
    float: right;
  }
 
     .profile-photo {
    float: left;
    margin: 0 5% 40px 0;
  }
  
      /*40px is set for the text to wrap around image as it is resized*/


/*******************
PAGE: ARCHIVE
********************/
  
/*******************
3 (columns) * 5 (adding margin widths of each object's sides which is 2.5%) = 15% for margins
  100% of space for objects - 15% for margins = 85%, divided 3 columns = 28.3%
********************/
  
  #gallery li {
    width: 28.3333%;
  }
  
  #gallery li:nth-child(4n) {
    
  }
/*This is a pseudo class that applies to every fourth object, since the text resizing of the previous objects is pushing it away.*/
  
/*******************
PAGE: INDEX, DOCPAGES
********************/
  
  /*Don't need to create two columns like our contact page because all we have to do is float the image to the left.*/

 

  
}






@media screen and (min-width: 660px) {
  
  /*******************
PAGE: ABOUT
********************/
  
  nav {
    background: none;
    float: right;
    font-size: 1.125em;
    margin-right: 5%;
    text-align: right;
    width: 45%;
  }
  
  #logo {
    float: left;
    margin-left: 5%;
    text-align: left;
    width: 45%;
  }
  
  h1 {
    font-size: 2.5em;
  }
  
  h2 {
    font-size: 0.825em;
    margin-bottom: 20px;
  }
  

  
}

/*This second size above is set to a break point for iPads and tablets*/