/* big tablets to 1200px (widths smaller than the 1140px row) */
@media only screen and (max-width: 1200px) {
    
 
}



/* small tablets to big tablets: from 768px to 1023px */
@media only screen and (max-width: 1100px) {
 
    .portfolio-list {
        width: 80%; 
    }
    
    .about-me {
        display: block; 
        margin-left: 0; 
        margin-right: 0; 
    }
    
    .about-photo {
        display: block;
        margin-left: auto; 
        margin-right: auto; 
        margin-bottom: 30px;
        margin-top: 0;
        height: 300px;
    }
    
    .about-text {
        margin-left: 8%; 
        margin-right: 8%; 
    }
   
}



/* small phones to small tablets: from 501px to 767px */
@media only screen and (max-width: 767px) {
    
    html {
        font-size: 18px; 
    }
    
    .home {
        margin-top: 20%; 
    }
    
    .main-nav li {
        margin-top: 5%; 
    }
    
    .portfolio-list {
        width: 95%;
    }
    
    .portfolio-title {
        font-size: 90%; 
    }
    
    .portfolio-description {
        font-size: 85%; 
    }
    
    .portfolio-piece {
        margin-bottom: 15px;
        margin-top: 20px;
    }
    
    .about-photo {
        margin-bottom: 20px;
        height: 200px;
    }
    
    .about-text {
        margin-left: 3%; 
        margin-right: 3%; 
        font-size: 95%;
    }
}



/* small phones: from 0 to 500px */
@media only screen and (max-width: 500px) {
    
    .html {
        font-size: 12px; 
    }
    
    .portfolio-piece {
        height: 230px; 
        margin-bottom: 10px;
        margin-top: 10px;
    }
    
}


