/* MEDIA QUERIES */

@media screen and (max-width:212px) {
    
    .navmobile ul li{
        display: block;
        max-width: 100%;
    }
    
    .navmobile ul {
        width: 100%;
    }
    
    .name {
        font-size: .6em;
    }
    
    .worksimg {
        margin-top: 10px;
        
    }
    
    .workdesc {
        font-size: 1em;
        padding-top: 8px;
    }
}




@media screen and (min-width:400px) {
     /*******************************
    WORKS PAGE
    ********************************/
    
    .worksimg {
        display: inline-block;
        width: 150px;
        height: 80px;
        vertical-align: top;
        border: solid 4px white;
        border-radius: 6px;
        margin: 15px;
    }
    
    .workdesc {
        font-size: 1.3em;
    }
    
    .recentimg a, .p1img a, .p2img a, .landscapes a, .sculptures a {
        height: 72px;
    }
    

}



@media screen and (min-width:600px) {       /* TABLET STYLES */
    
    
    /*******************************
    HOME PAGE
    ********************************/
    
    
    h1{
    font-size: 3em;
    }
    
    .name{
        max-width: 500px;
        padding: 20px 0 30px 0;
    }

    #biopic2 {
        visibility: hidden;
        position: absolute;
    }
    
    #biopic {
        visibility: visible;
        position: relative;
        margin-top: 20px;
        border-radius: 6px;
        box-shadow: 2px;
    }

    
    h2 {
       margin-top: 20px; 
    }
    
    .p-home {
        width: 425px;
    }
    
    nav li {
        margin-bottom: 15px;
    }
    
    
    
    /*******************************
    CONTACT PAGE
    ********************************/
    
    .contactpic {
        width: 350px;
    }
    
    #contact-details {
        padding-bottom: 40px;
    }
    
    /*******************************
    WORKS PAGE
    ********************************/
    
    .worksimg {
        display: inline-block;
        width: 200px;
        height: 200px;
        vertical-align: top;
        border: solid 4px white;
        border-radius: 6px;
        margin: 15px;
    }
    
    .recentimg a, .p1img a, .p2img a, .landscapes a, .sculptures a {
        height: 192px;
    }
    
    .workdesc {
        padding-top: 55px;
    }
    
    
    
    
    /*******************************
    PICTURE COLUMNS
    ********************************/
    
    div.img {
        width: 50%;
        padding: 0 2%;
        margin-bottom: 40px;
    }
    
    div.p-details {     /* IMG CONTAINER */
    border: 4px solid #fff;
    display: inline-block;
    width: 47%;
    height: 100px;
    overflow: hidden;
    margin: 2% 0 0 0;
}
    
    div.p-details:nth-child(odd) {
    margin-left: 0%;
    margin-right: 6%;
} 
    

    
    /*******************************
    IMG GALLERY SPACING
    ********************************/
    
    .workscontainer {
        margin: 0 auto;
        max-width: 85%;
    }
    
    .gaiess {
        max-width: 50%;
    }
    
    .lastsupper {
        max-width: 50%;
    }
    
    
}


@media screen and (min-width:900px) { /* DESKTOP STYLES */
    

    /*******************************
    TEXT
    ********************************/
    
    .name {
        max-width: 600px;
    }
    
    h1 {
        font-size: 4em;
        margin-top: 30px;
    }
    

    /*******************************
    DESKTOP NAV
    ********************************/

.container {
        max-width: 900px;
    }
    
.navmobile {
    visibility: hidden;
    position: absolute;
    width: 50px;
    z-index: -1;
    }    

.navmobile2 {
    visibility: visible;
    position: relative;
    }
        
.navmobile2 {
    width: 100%;
    font-size: .75em;
    text-align: center;
    padding: 5px 0;
    margin: 0;
}

.navmobile2 ul {
    list-style: none;
    margin: 0px;
    padding: 0;
    width: 100%;
}

.navmobile2 li {
    width: 100%;
    max-width: 95px;
    margin: auto;
    display: inline-block;
    background-color: #03ACFF;
    margin-top: 5px;
    border-radius: 6px;
}

.navmobile2 a {
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: block;
}


.navmobile2 li a:hover {
    background-color: #50C5FF;
    border: 2px solid white;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 6px;
}
    
    
    
    
    
    

    /*******************************
    WORKS PAGE
    ********************************/
    
    #desktopworks {
        visibility: visible;
        position: relative;    
}
