html {
    width: 100vw;
    height: 100%;
    margin: 0;
    overflow-x:hidden ;
}
body {

    opacity: 0;
    margin: 0 auto;
    width: 640px;
    height: 100%;
    line-height: 1;
}
nav {
    display: flex;
    flex-direction: flex-end;
    margin-left: 40px;

}
.mobnav {
    display: none;
}
nav a {
    display: inline-flex;
    margin: 0 5px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    text-decoration: none;
    box-shadow: 1.5px 1.5px 8px 0px #00000025;
    overflow: hidden;
}
#navbar {
    position:fixed;
    top:0;
    margin: auto;
    width:640px;
    height: 50px;
    margin-left: -10px;;
    columns: 2 300px;
}
.navbarC {
    padding: 20px 10px 15px 10px;
}
.homelink {
    margin-left: 10px;
}
.homelink img{
    width: 218px;
    height: 41px;
}
.contactlink {
    color: #59ffcf;
    background-color: #59ffcf;
}
.weblink {
    color: #ffff6d;
    background-color: #ffff6d;
}
.avlink {
    color: #ff9d46;
    background-color: #ff9d46;
}
.designlink {
    color: #ff7858;
    background-color: #ff7858;
}
.artlink {
    color: #ff5073;
    background-color: #ff5073;
}
.homelinkN {
    color: #ffffff;
    background-color: #ffffff;
}
.bgcatch {
    overflow: visible;
    height: auto;
    margin: 0;
    padding: 0;
}
.navres {
    opacity: 0;
    background-image: none;
    background-position: center;
    width: 260px;
    justify-content: right;
    position: fixed;
    margin-top: 70px;
    margin-left: 355px;
    padding: 0 20px;
    clear: left;
    height: 125px;
    background-repeat:no-repeat;
    background-size:300px;
}
.bodysol{
    position: relative;   
}
.truebod{
    opacity: 1;
    position: absolute;
    margin-top: 120px;
    width: 640px;
}
.columndiv1{
    display: grid;
    grid-template-columns: 220px 420px;
}
.meimg {
    margin: 8px 20px 0px 0px;
    background-image: url("img/me.jpg");
    background-position: 20% 15%;
    background-repeat: no-repeat;
    background-size: 200px;
}
h1 {
    text-align: justify;
    text-justify: inter-character;
    word-spacing: 3px;
    margin: 0;
}
h3, h4, p {
    margin-top: 0;
    text-align: justify;
    text-justify: inter-character;
    word-spacing: 5px;
    line-height: 24px;
}
.artbg {
    background-color: #ff5073;
}
.designbg {
    background-color: #ff7858;
}
.avbg {
    background-color: #ff9d46;
}
.webbg {
    background-color: #ffff6d;
}
.contactbg {
    background-color: #59ffcf;
}
.mobmenu {
    display: none;
}
.mobnav {
    display: none;
}
h1, h2, h3 {
    font-family: Times, serif;
}
h4, h5, h6 {
    font-family: Helvetica, sans-serif;
}

/* this is content from the art page*/
.artcolcont{
    column-count: 2;
    height: 100%;
    overflow: visible;
}
.artcolL, .artcolR{
    width: 320px;
    margin: 0;
}
.artimg{
    width: 310px;
    margin: 5px auto;
    transition: 0.25s ease-in-out;
    border-radius: 3px;
    box-shadow: 2px 2px 10px 0px #00000025;
}
.artimg:hover{
    transform: scale(1.08);
}
.artcolmob {
    display: none;
}
.Amodal{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    overflow: auto;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.400);
}
.Amodimg{
    align-content: center;
    margin: 0 auto;
}
.AMimg {
    display: block;
    margin: 100px auto 200px auto;
    width: 60vw;
}

/* Design page content */
.descont {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 160px 160px 160px 160px;
}
.destcont {
    white-space: nowrap;
    position: relative;
    margin: auto auto;
    width: 160px;
    height: 160px;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: white;
    transition: 0.30s ease-in-out;
    transform: scale(0.9);
    
}
.destcont:hover {
    margin: 10px auto 0px auto;  
    transform: scale(1.1);
}
.Dmodal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    overflow: auto;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.400);
}
.Dmodcont{
    flex-wrap: nowrap;
    overflow: auto;
    white-space: nowrap;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0px auto 200px auto;
    width: 600px;
    padding: 0 100px;
    height: 100vh;
    background-color: white;
}
.Dmh {
    height: 350px;

}
.Dmimgcont {
    z-index: 1;
    display: flex;
}
.Dmodimg {
    height: auto;
    display: table-cell;
    position: relative;
    vertical-align: middle;
    margin: 100px 0px 0px 0px ;
    top: 60px;
    width: 600px;

    
}
.DIlink {
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
    max-width: 600px;
    min-height: 200px ;
    max-height: 800px;
    margin: auto auto;
    border: 0 none;
    text-decoration: none;
    z-index: 1;
    
}
.DmodR, .DmodL {
    display: table-cell;
    vertical-align: middle;
    height: inherit;
    width: 100%;
    transition: 0.30s ease-in-out;
    z-index: 1;
    transform: scale(1.2, 1.05);

}
.DmodR:hover, .DmodL:hover {
    background-color: rgba(0, 0, 0, 0.050);
    
}
.Dmodctrl {
    margin: 100px 0px 0px 0px ;
    height: inherit;
    position: absolute;
    top: 60px;
    vertical-align: middle;
    height: auto;
    display: grid;
    grid-template-columns: 180px 240px 180px;
    
}
.Dmodblank{
    height: 0px;
    width: auto;
}
.DmodX{
    display: none;
}
.DmodN{
    flex-wrap: nowrap;
    overflow: auto;
    white-space: nowrap;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    text-align: center;
    margin: 120px 0px 0px 0px;
}
.Dmodthumbs {
    position: static;
    justify-content: center;
    margin: 80px auto auto auto;
    align-content: center;
    display: flex;
    flex-wrap: wrap;

}
.desthumbs {
    display: inline-flex;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 90px;
    width: 80px;
    margin: 20px;
    transition: 0.30s ease-in-out;
    z-index: 1;
}
.desthumbs:hover{
    transform: scale(1.08);
}


/* this is the mobile styling */
@media only screen and (max-width: 640px) {
    .truebod{
        opacity: 1;
        position: absolute;
        margin-top: 120px;
        width: 640px;
    }
    nav a {
        border-radius: 0;
        width: 200px;
        height: 50px;
    }
    .mobmenu {
        margin: 0px 5px;
        width: 38px;
        height: 38px;
        border-radius: 100%;
        text-decoration: none;
        box-shadow: 2px 2px 10px 0px #bebebe5e;
        overflow: hidden;
        display: inline;
        color: #000;
        background-color: #000;
        margin-left: 108px;
    }
    body {
        opacity: 0;
        margin: 0 auto;
        width: 360px;
        height: 100%;
    }
    nav {
        display: flex;
        flex-direction: flex-end;
        margin-left: 0px;
    
    }
    .truebod{
        opacity: 1;
        position: absolute;
        margin-top: 120px;
        width: 360px;
    }
    #navbar {
        position:fixed;
        top:20px;
        margin: 0 auto;
        width:180px;
        height: 40px;

        columns: 2 180px;
    }
    .navbarC {
        padding: 0;
    }
    .columndiv1{
        display: grid;
        grid-template-columns: 180px 180px;
    }
    .homelink {
        top: 20px;
        margin-top: 0px;
    }
    .homelink img{
        width: 180px;
        height: 34px;
    }
    .bgcatch{
        display: none;
    }
    .navres {
        display: none;
        opacity: 1;
        background-image: none;
        background-position: center;
        width: 260px;
        justify-content: right;
        position: fixed;
        margin-top: 70px;
        margin-left: 355px;
        padding: 0 20px;
        clear: left;
        height: 125px;
        background-repeat:no-repeat;
        background-size:300px;
    }
    .homelinkN {
        color: #ffffff;
        background-color: #000;
    }
    .mobnav {
        float: right;
        position: fixed;
        opacity: 0;
        display: none;
        height: 600px;
        margin-left: 134px;
        margin-top: 20px;
    }
    .moblink {
        padding-right: 100px;
        margin: -3px;
        width: 280px;
    }
    .moblink h2 {
        position: fixed;
        width: 200px;
        color: black;
        text-align: right;
    }
    .homelinkN h2 {
        color: white;
    }
    .pagetitle {
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
        display: block;

    }

    /* this is the art page */
    .artcolL, .artcolR{
        display: none;
    }
    .artcolmob {
        margin-top: 40px;
        display: block;
    }
    .artimg {
        min-width: 100%;
        max-width: 360px;
    }
    .artimg:hover{
        transform: scale(1);
        
    }
    .AMimg {
        display: block;
        margin: 100px auto 200px auto;
        width: 80vw;
    }

    /* this is the design page */
    .descont {    
        margin: 40px auto 0px auto;
        display: grid;
        grid-template-columns: 50% 50%;

    }
    .destcont {
        width: 180px;
        height: 180px;
    }
    .destcont:hover {
        background-color: white;
        margin: auto auto;
        transform: scale(1);
        height: 180px;
        width: 180px;
    }
    .Dmodcont {
        width: 100vw;
    }
    .DIlink {
        width: 95vw;
    }
    .DmodR, .DmodL {
        display: table-cell;
        vertical-align: middle;
        height: inherit;
        width: 50vw;
        z-index: 1;
        transform: scale(1, 1.3);
    
    }
    .DmodR:hover, .DmodL:hover {
        background-color: rgba(0, 0, 0, 0);
        
    }
    .Dmodctrl {
        margin: 110px 0px 0px 0px ;
        width: 100vw;
        position: absolute;
        top: 60px;
        vertical-align: middle;
        height: auto;
        display: grid;
        grid-template-columns: 50% 0px 50%;
        
    }
    .Dmodthumbs {
        position: static;
        justify-content: center;
        margin: 90px auto auto auto;
        align-content: center;
        display: flex;
        flex-wrap: wrap;
    
    }
    .desthumbs {
        display: inline-flex;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 90px;
        width: 80px;
        margin: 30px 20px 10px 20px;
        z-index: 1;
    
    }

}
@media only screen and (max-width: 860px) {
    .DmodX{
        top: 80px;
        right: 20%;
        transform: translateX(-50%);
        position: absolute;
        display: block;
        z-index: 2;
    }
}
