@media screen and (min-width: 480px) {
  
/*******************
TWO COLUMN LAYOUT
********************/
  
  
#primary {
    width: 50%;
    float: left;
  }

#secondary {
    width: 40%;
    float: right;
  }

/*******************
EXPERIMENTS GALLERY
********************/
#experimentsbg {
  background-position:center; 
  background-size: 100% 100%;
  }
  
/*******************
3 * 5 = 15 (margins)
100% - 15% = 85%
85 / 3 = 28.33333333
********************/

/*******************
PAGE: PORTFOLIO
********************/



#gallery li {
    width: 28.3333%;
  }

#gallery li:nth-child(4n) {
    clear:left;
  } 
  
  
  
/*******************
PAGE: ABOUT
********************/
  
  
  
.profile-photo {
    float: left;
    margin: 0 5% 80px 0;
  } 

.profile-photo {
    max-width: 260px;
} 
  
}

@media screen and (min-width: 660px) {
  
/*******************
HEADER
********************/
  
  

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.82em;
    margin-bottom: 20px;
  }
  
  header {
    border-bottom: 5px solid #912C00;
    margin-bottom: 60px;
  }

/*******************
EXPERIMENTS GALLERY
********************/
#experimentsbg {
  background-position:center; 
  background-size: 100% 120%;
  }

}

@media screen and (min-width: 1028px) {

h1 {
    font-size: 3.5em;
  }

/*******************
EXPERIMENTS GALLERY
********************/
#experimentsbg {
  background-position:center; 
  background-size: 100% 110%;
  }

}	